View | Details | Raw Unified | Return to bug 226241 | Differences between
and this patch

Collapse All | Expand All

(-)lib/wx/configure (-4585 / +3700 lines)
Lines 1-81 Link Here
1
#! /bin/sh
1
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.59.
3
# Generated by GNU Autoconf 2.69.
4
#
4
#
5
# Copyright (C) 2003 Free Software Foundation, Inc.
5
#
6
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7
#
8
#
6
# This configure script is free software; the Free Software Foundation
9
# This configure script is free software; the Free Software Foundation
7
# gives unlimited permission to copy, distribute and modify it.
10
# gives unlimited permission to copy, distribute and modify it.
8
## --------------------- ##
11
## -------------------- ##
9
## M4sh Initialization.  ##
12
## M4sh Initialization. ##
10
## --------------------- ##
13
## -------------------- ##
11
14
12
# Be Bourne compatible
15
# Be more Bourne compatible
13
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14
  emulate sh
18
  emulate sh
15
  NULLCMD=:
19
  NULLCMD=:
16
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17
  # is contrary to our usage.  Disable this feature.
21
  # is contrary to our usage.  Disable this feature.
18
  alias -g '${1+"$@"}'='"$@"'
22
  alias -g '${1+"$@"}'='"$@"'
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23
  setopt NO_GLOB_SUBST
20
  set -o posix
24
else
25
  case `(set -o) 2>/dev/null` in #(
26
  *posix*) :
27
    set -o posix ;; #(
28
  *) :
29
     ;;
30
esac
21
fi
31
fi
22
DUALCASE=1; export DUALCASE # for MKS sh
23
32
24
# Support unset when possible.
33
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34
as_nl='
26
  as_unset=unset
35
'
36
export as_nl
37
# Printing a long string crashes Solaris 7 /usr/bin/printf.
38
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41
# Prefer a ksh shell builtin over an external printf program on Solaris,
42
# but without wasting forks for bash or zsh.
43
if test -z "$BASH_VERSION$ZSH_VERSION" \
44
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45
  as_echo='print -r --'
46
  as_echo_n='print -rn --'
47
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48
  as_echo='printf %s\n'
49
  as_echo_n='printf %s'
27
else
50
else
28
  as_unset=false
51
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53
    as_echo_n='/usr/ucb/echo -n'
54
  else
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56
    as_echo_n_body='eval
57
      arg=$1;
58
      case $arg in #(
59
      *"$as_nl"*)
60
	expr "X$arg" : "X\\(.*\\)$as_nl";
61
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62
      esac;
63
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64
    '
65
    export as_echo_n_body
66
    as_echo_n='sh -c $as_echo_n_body as_echo'
67
  fi
68
  export as_echo_body
69
  as_echo='sh -c $as_echo_body as_echo'
29
fi
70
fi
30
71
72
# The user is always right.
73
if test "${PATH_SEPARATOR+set}" != set; then
74
  PATH_SEPARATOR=:
75
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77
      PATH_SEPARATOR=';'
78
  }
79
fi
31
80
32
# Work around bugs in pre-3.0 UWIN ksh.
81
33
$as_unset ENV MAIL MAILPATH
82
# IFS
83
# We need space, tab and new line, in precisely that order.  Quoting is
84
# there to prevent editors from complaining about space-tab.
85
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86
# splitting by setting IFS to empty value.)
87
IFS=" ""	$as_nl"
88
89
# Find who we are.  Look in the path if we contain no directory separator.
90
as_myself=
91
case $0 in #((
92
  *[\\/]* ) as_myself=$0 ;;
93
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94
for as_dir in $PATH
95
do
96
  IFS=$as_save_IFS
97
  test -z "$as_dir" && as_dir=.
98
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
110
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111
  exit 1
112
fi
113
114
# Unset variables that we do not need and which cause bugs (e.g. in
115
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116
# suppresses any "Segmentation fault" message there.  '((' could
117
# trigger a bug in pdksh 5.2.14.
118
for as_var in BASH_ENV ENV MAIL MAILPATH
119
do eval test x\${$as_var+set} = xset \
120
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121
done
34
PS1='$ '
122
PS1='$ '
35
PS2='> '
123
PS2='> '
36
PS4='+ '
124
PS4='+ '
37
125
38
# NLS nuisances.
126
# NLS nuisances.
39
for as_var in \
127
LC_ALL=C
40
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
128
export LC_ALL
41
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
129
LANGUAGE=C
42
  LC_TELEPHONE LC_TIME
130
export LANGUAGE
131
132
# CDPATH.
133
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135
# Use a proper internal environment variable to ensure we don't fall
136
  # into an infinite loop, continuously re-executing ourselves.
137
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138
    _as_can_reexec=no; export _as_can_reexec;
139
    # We cannot yet assume a decent shell, so we have to provide a
140
# neutralization value for shells without unset; and this also
141
# works around shells that cannot unset nonexistent variables.
142
# Preserve -v and -x to the replacement shell.
143
BASH_ENV=/dev/null
144
ENV=/dev/null
145
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146
case $- in # ((((
147
  *v*x* | *x*v* ) as_opts=-vx ;;
148
  *v* ) as_opts=-v ;;
149
  *x* ) as_opts=-x ;;
150
  * ) as_opts= ;;
151
esac
152
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153
# Admittedly, this is quite paranoid, since all the known shells bail
154
# out after a failed `exec'.
155
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156
as_fn_exit 255
157
  fi
158
  # We don't want this to propagate to other subprocesses.
159
          { _as_can_reexec=; unset _as_can_reexec;}
160
if test "x$CONFIG_SHELL" = x; then
161
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162
  emulate sh
163
  NULLCMD=:
164
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165
  # is contrary to our usage.  Disable this feature.
166
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167
  setopt NO_GLOB_SUBST
168
else
169
  case \`(set -o) 2>/dev/null\` in #(
170
  *posix*) :
171
    set -o posix ;; #(
172
  *) :
173
     ;;
174
esac
175
fi
176
"
177
  as_required="as_fn_return () { (exit \$1); }
178
as_fn_success () { as_fn_return 0; }
179
as_fn_failure () { as_fn_return 1; }
180
as_fn_ret_success () { return 0; }
181
as_fn_ret_failure () { return 1; }
182
183
exitcode=0
184
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190
else
191
  exitcode=1; echo positional parameters were not saved.
192
fi
193
test x\$exitcode = x0 || exit 1
194
test -x / || exit 1"
195
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199
test \$(( 1 + 1 )) = 2 || exit 1"
200
  if (eval "$as_required") 2>/dev/null; then :
201
  as_have_required=yes
202
else
203
  as_have_required=no
204
fi
205
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207
else
208
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209
as_found=false
210
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
43
do
211
do
44
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
212
  IFS=$as_save_IFS
45
    eval $as_var=C; export $as_var
213
  test -z "$as_dir" && as_dir=.
214
  as_found=:
215
  case $as_dir in #(
216
	 /*)
217
	   for as_base in sh bash ksh sh5; do
218
	     # Try only shells that exist, to save several forks.
219
	     as_shell=$as_dir/$as_base
220
	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221
		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222
  CONFIG_SHELL=$as_shell as_have_required=yes
223
		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224
  break 2
225
fi
226
fi
227
	   done;;
228
       esac
229
  as_found=false
230
done
231
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232
	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233
  CONFIG_SHELL=$SHELL as_have_required=yes
234
fi; }
235
IFS=$as_save_IFS
236
237
238
      if test "x$CONFIG_SHELL" != x; then :
239
  export CONFIG_SHELL
240
             # We cannot yet assume a decent shell, so we have to provide a
241
# neutralization value for shells without unset; and this also
242
# works around shells that cannot unset nonexistent variables.
243
# Preserve -v and -x to the replacement shell.
244
BASH_ENV=/dev/null
245
ENV=/dev/null
246
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247
case $- in # ((((
248
  *v*x* | *x*v* ) as_opts=-vx ;;
249
  *v* ) as_opts=-v ;;
250
  *x* ) as_opts=-x ;;
251
  * ) as_opts= ;;
252
esac
253
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254
# Admittedly, this is quite paranoid, since all the known shells bail
255
# out after a failed `exec'.
256
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257
exit 255
258
fi
259
260
    if test x$as_have_required = xno; then :
261
  $as_echo "$0: This script requires a shell more modern than all"
262
  $as_echo "$0: the shells that I found on your system."
263
  if test x${ZSH_VERSION+set} = xset ; then
264
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
46
  else
266
  else
47
    $as_unset $as_var
267
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
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."
48
  fi
271
  fi
49
done
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
50
281
51
# Required to use basename.
282
## --------------------- ##
52
if expr a : '\(a\)' >/dev/null 2>&1; then
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
294
# as_fn_set_status STATUS
295
# -----------------------
296
# Set $? to STATUS, without forking.
297
as_fn_set_status ()
298
{
299
  return $1
300
} # as_fn_set_status
301
302
# as_fn_exit STATUS
303
# -----------------
304
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305
as_fn_exit ()
306
{
307
  set +e
308
  as_fn_set_status $1
309
  exit $1
310
} # as_fn_exit
311
312
# as_fn_mkdir_p
313
# -------------
314
# Create "$as_dir" as a directory, including parents if necessary.
315
as_fn_mkdir_p ()
316
{
317
318
  case $as_dir in #(
319
  -*) as_dir=./$as_dir;;
320
  esac
321
  test -d "$as_dir" || eval $as_mkdir_p || {
322
    as_dirs=
323
    while :; do
324
      case $as_dir in #(
325
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326
      *) as_qdir=$as_dir;;
327
      esac
328
      as_dirs="'$as_qdir' $as_dirs"
329
      as_dir=`$as_dirname -- "$as_dir" ||
330
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331
	 X"$as_dir" : 'X\(//\)[^/]' \| \
332
	 X"$as_dir" : 'X\(//\)$' \| \
333
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334
$as_echo X"$as_dir" |
335
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336
	    s//\1/
337
	    q
338
	  }
339
	  /^X\(\/\/\)[^/].*/{
340
	    s//\1/
341
	    q
342
	  }
343
	  /^X\(\/\/\)$/{
344
	    s//\1/
345
	    q
346
	  }
347
	  /^X\(\/\).*/{
348
	    s//\1/
349
	    q
350
	  }
351
	  s/.*/./; q'`
352
      test -d "$as_dir" && break
353
    done
354
    test -z "$as_dirs" || eval "mkdir $as_dirs"
355
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
356
357
358
} # as_fn_mkdir_p
359
360
# as_fn_executable_p FILE
361
# -----------------------
362
# Test if FILE is an executable regular file.
363
as_fn_executable_p ()
364
{
365
  test -f "$1" && test -x "$1"
366
} # as_fn_executable_p
367
# as_fn_append VAR VALUE
368
# ----------------------
369
# Append the text in VALUE to the end of the definition contained in VAR. Take
370
# advantage of any shell optimizations that allow amortized linear growth over
371
# repeated appends, instead of the typical quadratic growth present in naive
372
# implementations.
373
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374
  eval 'as_fn_append ()
375
  {
376
    eval $1+=\$2
377
  }'
378
else
379
  as_fn_append ()
380
  {
381
    eval $1=\$$1\$2
382
  }
383
fi # as_fn_append
384
385
# as_fn_arith ARG...
386
# ------------------
387
# Perform arithmetic evaluation on the ARGs, and store the result in the
388
# global $as_val. Take advantage of shells that can avoid forks. The arguments
389
# must be portable across $(()) and expr.
390
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391
  eval 'as_fn_arith ()
392
  {
393
    as_val=$(( $* ))
394
  }'
395
else
396
  as_fn_arith ()
397
  {
398
    as_val=`expr "$@" || test $? -eq 1`
399
  }
400
fi # as_fn_arith
401
402
403
# as_fn_error STATUS ERROR [LINENO LOG_FD]
404
# ----------------------------------------
405
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407
# script with STATUS, using 1 if that was 0.
408
as_fn_error ()
409
{
410
  as_status=$1; test $as_status -eq 0 && as_status=1
411
  if test "$4"; then
412
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414
  fi
415
  $as_echo "$as_me: error: $2" >&2
416
  as_fn_exit $as_status
417
} # as_fn_error
418
419
if expr a : '\(a\)' >/dev/null 2>&1 &&
420
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
53
  as_expr=expr
421
  as_expr=expr
54
else
422
else
55
  as_expr=false
423
  as_expr=false
56
fi
424
fi
57
425
58
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
426
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59
  as_basename=basename
427
  as_basename=basename
60
else
428
else
61
  as_basename=false
429
  as_basename=false
62
fi
430
fi
63
431
432
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433
  as_dirname=dirname
434
else
435
  as_dirname=false
436
fi
64
437
65
# Name of the executable.
438
as_me=`$as_basename -- "$0" ||
66
as_me=`$as_basename "$0" ||
67
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
	 X"$0" : 'X\(//\)$' \| \
440
	 X"$0" : 'X\(//\)$' \| \
69
	 X"$0" : 'X\(/\)$' \| \
441
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
70
	 .     : '\(.\)' 2>/dev/null ||
442
$as_echo X/"$0" |
71
echo X/"$0" |
443
    sed '/^.*\/\([^/][^/]*\)\/*$/{
72
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
444
	    s//\1/
73
  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
445
	    q
74
  	  /^X\/\(\/\).*/{ s//\1/; q; }
446
	  }
75
  	  s/.*/./; q'`
447
	  /^X\/\(\/\/\)$/{
448
	    s//\1/
449
	    q
450
	  }
451
	  /^X\/\(\/\).*/{
452
	    s//\1/
453
	    q
454
	  }
455
	  s/.*/./; q'`
76
456
77
78
# PATH needs CR, and LINENO needs CR and PATH.
79
# Avoid depending upon Character Ranges.
457
# Avoid depending upon Character Ranges.
80
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
Lines 83-228 as_cr_Letters=$as_cr_letters$as_cr_LETTERS Link Here
83
as_cr_digits='0123456789'
461
as_cr_digits='0123456789'
84
as_cr_alnum=$as_cr_Letters$as_cr_digits
462
as_cr_alnum=$as_cr_Letters$as_cr_digits
85
463
86
# The user is always right.
87
if test "${PATH_SEPARATOR+set}" != set; then
88
  echo "#! /bin/sh" >conf$$.sh
89
  echo  "exit 0"   >>conf$$.sh
90
  chmod +x conf$$.sh
91
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92
    PATH_SEPARATOR=';'
93
  else
94
    PATH_SEPARATOR=:
95
  fi
96
  rm -f conf$$.sh
97
fi
98
464
99
465
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
100
  as_lineno_1=$LINENO
466
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
101
  as_lineno_2=$LINENO
467
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
102
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
468
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
103
  test "x$as_lineno_1" != "x$as_lineno_2" &&
469
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
104
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
470
  sed -n '
105
  # Find who we are.  Look in the path if we contain no path at all
471
    p
106
  # relative or not.
472
    /[$]LINENO/=
107
  case $0 in
473
  ' <$as_myself |
108
    *[\\/]* ) as_myself=$0 ;;
109
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110
for as_dir in $PATH
111
do
112
  IFS=$as_save_IFS
113
  test -z "$as_dir" && as_dir=.
114
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115
done
116
117
       ;;
118
  esac
119
  # We did not find ourselves, most probably we were run as `sh COMMAND'
120
  # in which case we are not to be found in the path.
121
  if test "x$as_myself" = x; then
122
    as_myself=$0
123
  fi
124
  if test ! -f "$as_myself"; then
125
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
   { (exit 1); exit 1; }; }
127
  fi
128
  case $CONFIG_SHELL in
129
  '')
130
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132
do
133
  IFS=$as_save_IFS
134
  test -z "$as_dir" && as_dir=.
135
  for as_base in sh bash ksh sh5; do
136
	 case $as_dir in
137
	 /*)
138
	   if ("$as_dir/$as_base" -c '
139
  as_lineno_1=$LINENO
140
  as_lineno_2=$LINENO
141
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
  test "x$as_lineno_1" != "x$as_lineno_2" &&
143
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144
	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
	     CONFIG_SHELL=$as_dir/$as_base
147
	     export CONFIG_SHELL
148
	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149
	   fi;;
150
	 esac
151
       done
152
done
153
;;
154
  esac
155
156
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
  # uniformly replaced by the line number.  The first 'sed' inserts a
158
  # line-number line before each line; the second 'sed' does the real
159
  # work.  The second script uses 'N' to pair each line-number line
160
  # with the numbered line, and appends trailing '-' during
161
  # substitution so that $LINENO is not a special case at line end.
162
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164
  sed '=' <$as_myself |
165
    sed '
474
    sed '
475
      s/[$]LINENO.*/&-/
476
      t lineno
477
      b
478
      :lineno
166
      N
479
      N
167
      s,$,-,
480
      :loop
168
      : loop
481
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
169
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170
      t loop
482
      t loop
171
      s,-$,,
483
      s/-\n.*//
172
      s,^['$as_cr_digits']*\n,,
173
    ' >$as_me.lineno &&
484
    ' >$as_me.lineno &&
174
  chmod +x $as_me.lineno ||
485
  chmod +x "$as_me.lineno" ||
175
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
486
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
176
   { (exit 1); exit 1; }; }
177
487
488
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489
  # already done that, so ensure we don't try to do so again and fall
490
  # in an infinite loop.  This has already happened in practice.
491
  _as_can_reexec=no; export _as_can_reexec
178
  # Don't try to exec as it changes $[0], causing all sort of problems
492
  # Don't try to exec as it changes $[0], causing all sort of problems
179
  # (the dirname of $[0] is not the place where we might find the
493
  # (the dirname of $[0] is not the place where we might find the
180
  # original and so on.  Autoconf is especially sensible to this).
494
  # original and so on.  Autoconf is especially sensitive to this).
181
  . ./$as_me.lineno
495
  . "./$as_me.lineno"
182
  # Exit status is that of the last command.
496
  # Exit status is that of the last command.
183
  exit
497
  exit
184
}
498
}
185
499
186
500
ECHO_C= ECHO_N= ECHO_T=
187
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
501
case `echo -n x` in #(((((
188
  *c*,-n*) ECHO_N= ECHO_C='
502
-n*)
189
' ECHO_T='	' ;;
503
  case `echo 'xy\c'` in
190
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
504
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
191
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
505
  xy)  ECHO_C='\c';;
506
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
507
       ECHO_T='	';;
508
  esac;;
509
*)
510
  ECHO_N='-n';;
192
esac
511
esac
193
512
194
if expr a : '\(a\)' >/dev/null 2>&1; then
513
rm -f conf$$ conf$$.exe conf$$.file
195
  as_expr=expr
514
if test -d conf$$.dir; then
515
  rm -f conf$$.dir/conf$$.file
196
else
516
else
197
  as_expr=false
517
  rm -f conf$$.dir
518
  mkdir conf$$.dir 2>/dev/null
198
fi
519
fi
199
520
if (echo >conf$$.file) 2>/dev/null; then
200
rm -f conf$$ conf$$.exe conf$$.file
521
  if ln -s conf$$.file conf$$ 2>/dev/null; then
201
echo >conf$$.file
202
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
  # We could just check for DJGPP; but this test a) works b) is more generic
204
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
  if test -f conf$$.exe; then
206
    # Don't use ln at all; we don't have any links
207
    as_ln_s='cp -p'
208
  else
209
    as_ln_s='ln -s'
522
    as_ln_s='ln -s'
523
    # ... but there are two gotchas:
524
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526
    # In both cases, we have to default to `cp -pR'.
527
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528
      as_ln_s='cp -pR'
529
  elif ln conf$$.file conf$$ 2>/dev/null; then
530
    as_ln_s=ln
531
  else
532
    as_ln_s='cp -pR'
210
  fi
533
  fi
211
elif ln conf$$.file conf$$ 2>/dev/null; then
212
  as_ln_s=ln
213
else
534
else
214
  as_ln_s='cp -p'
535
  as_ln_s='cp -pR'
215
fi
536
fi
216
rm -f conf$$ conf$$.exe conf$$.file
537
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538
rmdir conf$$.dir 2>/dev/null
217
539
218
if mkdir -p . 2>/dev/null; then
540
if mkdir -p . 2>/dev/null; then
219
  as_mkdir_p=:
541
  as_mkdir_p='mkdir -p "$as_dir"'
220
else
542
else
221
  test -d ./-p && rmdir ./-p
543
  test -d ./-p && rmdir ./-p
222
  as_mkdir_p=false
544
  as_mkdir_p=false
223
fi
545
fi
224
546
225
as_executable_p="test -f"
547
as_test_x='test -x'
548
as_executable_p=as_fn_executable_p
226
549
227
# Sed expression to map a string onto a valid CPP name.
550
# Sed expression to map a string onto a valid CPP name.
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
551
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
Lines 231-319 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS Link Here
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
555
233
556
234
# IFS
557
test -n "$DJDIR" || exec 7<&0 </dev/null
235
# We need space, tab and new line, in precisely that order.
558
exec 6>&1
236
as_nl='
237
'
238
IFS=" 	$as_nl"
239
559
240
# CDPATH.
241
$as_unset CDPATH
242
243
244
# Name of the host.
560
# Name of the host.
245
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
561
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
246
# so uname gets run too.
562
# so uname gets run too.
247
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
563
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
564
249
exec 6>&1
250
251
#
565
#
252
# Initializations.
566
# Initializations.
253
#
567
#
254
ac_default_prefix=/usr/local
568
ac_default_prefix=/usr/local
569
ac_clean_files=
255
ac_config_libobj_dir=.
570
ac_config_libobj_dir=.
571
LIBOBJS=
256
cross_compiling=no
572
cross_compiling=no
257
subdirs=
573
subdirs=
258
MFLAGS=
574
MFLAGS=
259
MAKEFLAGS=
575
MAKEFLAGS=
260
SHELL=${CONFIG_SHELL-/bin/sh}
261
576
262
# Maximum number of lines to put in a shell here document.
263
# This variable seems obsolete.  It should probably be removed, and
264
# only ac_max_sed_lines should be used.
265
: ${ac_max_here_lines=38}
266
267
# Identity of this package.
577
# Identity of this package.
268
PACKAGE_NAME=
578
PACKAGE_NAME=
269
PACKAGE_TARNAME=
579
PACKAGE_TARNAME=
270
PACKAGE_VERSION=
580
PACKAGE_VERSION=
271
PACKAGE_STRING=
581
PACKAGE_STRING=
272
PACKAGE_BUGREPORT=
582
PACKAGE_BUGREPORT=
583
PACKAGE_URL=
273
584
274
# Factoring default headers for most tests.
585
# Factoring default headers for most tests.
275
ac_includes_default="\
586
ac_includes_default="\
276
#include <stdio.h>
587
#include <stdio.h>
277
#if HAVE_SYS_TYPES_H
588
#ifdef HAVE_SYS_TYPES_H
278
# include <sys/types.h>
589
# include <sys/types.h>
279
#endif
590
#endif
280
#if HAVE_SYS_STAT_H
591
#ifdef HAVE_SYS_STAT_H
281
# include <sys/stat.h>
592
# include <sys/stat.h>
282
#endif
593
#endif
283
#if STDC_HEADERS
594
#ifdef STDC_HEADERS
284
# include <stdlib.h>
595
# include <stdlib.h>
285
# include <stddef.h>
596
# include <stddef.h>
286
#else
597
#else
287
# if HAVE_STDLIB_H
598
# ifdef HAVE_STDLIB_H
288
#  include <stdlib.h>
599
#  include <stdlib.h>
289
# endif
600
# endif
290
#endif
601
#endif
291
#if HAVE_STRING_H
602
#ifdef HAVE_STRING_H
292
# if !STDC_HEADERS && HAVE_MEMORY_H
603
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
293
#  include <memory.h>
604
#  include <memory.h>
294
# endif
605
# endif
295
# include <string.h>
606
# include <string.h>
296
#endif
607
#endif
297
#if HAVE_STRINGS_H
608
#ifdef HAVE_STRINGS_H
298
# include <strings.h>
609
# include <strings.h>
299
#endif
610
#endif
300
#if HAVE_INTTYPES_H
611
#ifdef HAVE_INTTYPES_H
301
# include <inttypes.h>
612
# include <inttypes.h>
302
#else
303
# if HAVE_STDINT_H
304
#  include <stdint.h>
305
# endif
306
#endif
613
#endif
307
#if HAVE_UNISTD_H
614
#ifdef HAVE_STDINT_H
615
# include <stdint.h>
616
#endif
617
#ifdef HAVE_UNISTD_H
308
# include <unistd.h>
618
# include <unistd.h>
309
#endif"
619
#endif"
310
620
311
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os TARGET CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB CPP MIXED_CYGWIN_VC MIXED_MSYS_VC MIXED_VC MIXED_CYGWIN_MINGW MIXED_CYGWIN MIXED_MSYS EGREP OBJC_CC OBJC_CFLAGS GL_LIBS DEBUG_CFLAGS DEBUG_CXXFLAGS ERLC WX_BUILDING_INSIDE_ERLSRC ERLANG_ROOT_DIR WX_CONFIG_PATH WX_CPPFLAGS WX_CFLAGS WX_CXXFLAGS WX_CFLAGS_ONLY WX_CXXFLAGS_ONLY WX_LIBS WX_LIBS_STATIC WX_VERSION WX_RESCOMP WX_VERSION_MAJOR WX_VERSION_MINOR WX_VERSION_MICRO DEBUG_WX_CFLAGS DEBUG_WX_CXXFLAGS DEBUG_WX_LIBS DEBUG_WX_LIBS_STATIC FORCED_DEBUG_BUILD WX_HAVE_STATIC_LIBS RC_FILE_TYPE HAVE_GL_SUPPORT TESS_CB_TIGER_STYLE WXERL_CAN_BUILD_DRIVER SO_EXT RUN_ERL WXERL_SYS_TYPE LIBOBJS LTLIBOBJS'
621
ac_subst_vars='LTLIBOBJS
622
LIBOBJS
623
WXERL_SYS_TYPE
624
RUN_ERL
625
SO_EXT
626
WXERL_CAN_BUILD_DRIVER
627
TESS_CB_TIGER_STYLE
628
HAVE_GL_SUPPORT
629
RC_FILE_TYPE
630
WX_HAVE_STATIC_LIBS
631
FORCED_DEBUG_BUILD
632
DEBUG_WX_LIBS_STATIC
633
DEBUG_WX_LIBS
634
DEBUG_WX_CXXFLAGS
635
DEBUG_WX_CFLAGS
636
WX_VERSION_MICRO
637
WX_VERSION_MINOR
638
WX_VERSION_MAJOR
639
WX_RESCOMP
640
WX_VERSION
641
WX_LIBS_STATIC
642
WX_LIBS
643
WX_CXXFLAGS_ONLY
644
WX_CFLAGS_ONLY
645
WX_CXXFLAGS
646
WX_CFLAGS
647
WX_CPPFLAGS
648
WX_CONFIG_PATH
649
ERLANG_ROOT_DIR
650
WX_BUILDING_INSIDE_ERLSRC
651
ERLC
652
DEBUG_CXXFLAGS
653
DEBUG_CFLAGS
654
GL_LIBS
655
OBJC_CFLAGS
656
OBJC_CC
657
EGREP
658
GREP
659
MIXED_MSYS
660
MIXED_CYGWIN
661
MIXED_CYGWIN_MINGW
662
MIXED_VC
663
MIXED_MSYS_VC
664
MIXED_CYGWIN_VC
665
CPP
666
RANLIB
667
ac_ct_CXX
668
CXXFLAGS
669
CXX
670
OBJEXT
671
EXEEXT
672
ac_ct_CC
673
CPPFLAGS
674
LDFLAGS
675
CFLAGS
676
CC
677
TARGET
678
host_os
679
host_vendor
680
host_cpu
681
host
682
build_os
683
build_vendor
684
build_cpu
685
build
686
target_alias
687
host_alias
688
build_alias
689
LIBS
690
ECHO_T
691
ECHO_N
692
ECHO_C
693
DEFS
694
mandir
695
localedir
696
libdir
697
psdir
698
pdfdir
699
dvidir
700
htmldir
701
infodir
702
docdir
703
oldincludedir
704
includedir
705
localstatedir
706
sharedstatedir
707
sysconfdir
708
datadir
709
datarootdir
710
libexecdir
711
sbindir
712
bindir
713
program_transform_name
714
prefix
715
exec_prefix
716
PACKAGE_URL
717
PACKAGE_BUGREPORT
718
PACKAGE_STRING
719
PACKAGE_VERSION
720
PACKAGE_TARNAME
721
PACKAGE_NAME
722
PATH_SEPARATOR
723
SHELL'
312
ac_subst_files=''
724
ac_subst_files=''
725
ac_user_opts='
726
enable_option_checking
727
with_wxdir
728
with_wx_config
729
with_wx_prefix
730
with_wx_exec_prefix
731
enable_sanitizers
732
'
733
      ac_precious_vars='build_alias
734
host_alias
735
target_alias
736
CC
737
CFLAGS
738
LDFLAGS
739
LIBS
740
CPPFLAGS
741
CXX
742
CXXFLAGS
743
CCC
744
CPP'
313
745
746
314
# Initialize some variables set by options.
747
# Initialize some variables set by options.
315
ac_init_help=
748
ac_init_help=
316
ac_init_version=false
749
ac_init_version=false
750
ac_unrecognized_opts=
751
ac_unrecognized_sep=
317
# The variables have the same names as the options, with
752
# The variables have the same names as the options, with
318
# dashes changed to underlines.
753
# dashes changed to underlines.
319
cache_file=/dev/null
754
cache_file=/dev/null
Lines 336-369 x_libraries=NONE Link Here
336
# and all the variables that are supposed to be based on exec_prefix
771
# and all the variables that are supposed to be based on exec_prefix
337
# by default will actually change.
772
# by default will actually change.
338
# Use braces instead of parens because sh, perl, etc. also accept them.
773
# Use braces instead of parens because sh, perl, etc. also accept them.
774
# (The list follows the same order as the GNU Coding Standards.)
339
bindir='${exec_prefix}/bin'
775
bindir='${exec_prefix}/bin'
340
sbindir='${exec_prefix}/sbin'
776
sbindir='${exec_prefix}/sbin'
341
libexecdir='${exec_prefix}/libexec'
777
libexecdir='${exec_prefix}/libexec'
342
datadir='${prefix}/share'
778
datarootdir='${prefix}/share'
779
datadir='${datarootdir}'
343
sysconfdir='${prefix}/etc'
780
sysconfdir='${prefix}/etc'
344
sharedstatedir='${prefix}/com'
781
sharedstatedir='${prefix}/com'
345
localstatedir='${prefix}/var'
782
localstatedir='${prefix}/var'
346
libdir='${exec_prefix}/lib'
347
includedir='${prefix}/include'
783
includedir='${prefix}/include'
348
oldincludedir='/usr/include'
784
oldincludedir='/usr/include'
349
infodir='${prefix}/info'
785
docdir='${datarootdir}/doc/${PACKAGE}'
350
mandir='${prefix}/man'
786
infodir='${datarootdir}/info'
787
htmldir='${docdir}'
788
dvidir='${docdir}'
789
pdfdir='${docdir}'
790
psdir='${docdir}'
791
libdir='${exec_prefix}/lib'
792
localedir='${datarootdir}/locale'
793
mandir='${datarootdir}/man'
351
794
352
ac_prev=
795
ac_prev=
796
ac_dashdash=
353
for ac_option
797
for ac_option
354
do
798
do
355
  # If the previous option needs an argument, assign it.
799
  # If the previous option needs an argument, assign it.
356
  if test -n "$ac_prev"; then
800
  if test -n "$ac_prev"; then
357
    eval "$ac_prev=\$ac_option"
801
    eval $ac_prev=\$ac_option
358
    ac_prev=
802
    ac_prev=
359
    continue
803
    continue
360
  fi
804
  fi
361
805
362
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
806
  case $ac_option in
807
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
808
  *=)   ac_optarg= ;;
809
  *)    ac_optarg=yes ;;
810
  esac
363
811
364
  # Accept the important Cygnus configure options, so we can diagnose typos.
812
  # Accept the important Cygnus configure options, so we can diagnose typos.
365
813
366
  case $ac_option in
814
  case $ac_dashdash$ac_option in
815
  --)
816
    ac_dashdash=yes ;;
367
817
368
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
818
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
369
    ac_prev=bindir ;;
819
    ac_prev=bindir ;;
Lines 385-417 do Link Here
385
  --config-cache | -C)
835
  --config-cache | -C)
386
    cache_file=config.cache ;;
836
    cache_file=config.cache ;;
387
837
388
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
838
  -datadir | --datadir | --datadi | --datad)
389
    ac_prev=datadir ;;
839
    ac_prev=datadir ;;
390
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
840
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
391
  | --da=*)
392
    datadir=$ac_optarg ;;
841
    datadir=$ac_optarg ;;
393
842
843
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
844
  | --dataroo | --dataro | --datar)
845
    ac_prev=datarootdir ;;
846
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
847
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
848
    datarootdir=$ac_optarg ;;
849
394
  -disable-* | --disable-*)
850
  -disable-* | --disable-*)
395
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
851
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396
    # Reject names that are not valid shell variable names.
852
    # Reject names that are not valid shell variable names.
397
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
853
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
398
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
854
      as_fn_error $? "invalid feature name: $ac_useropt"
399
   { (exit 1); exit 1; }; }
855
    ac_useropt_orig=$ac_useropt
400
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
856
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
401
    eval "enable_$ac_feature=no" ;;
857
    case $ac_user_opts in
858
      *"
859
"enable_$ac_useropt"
860
"*) ;;
861
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
862
	 ac_unrecognized_sep=', ';;
863
    esac
864
    eval enable_$ac_useropt=no ;;
402
865
866
  -docdir | --docdir | --docdi | --doc | --do)
867
    ac_prev=docdir ;;
868
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
869
    docdir=$ac_optarg ;;
870
871
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
872
    ac_prev=dvidir ;;
873
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
874
    dvidir=$ac_optarg ;;
875
403
  -enable-* | --enable-*)
876
  -enable-* | --enable-*)
404
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
877
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405
    # Reject names that are not valid shell variable names.
878
    # Reject names that are not valid shell variable names.
406
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
879
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
407
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
880
      as_fn_error $? "invalid feature name: $ac_useropt"
408
   { (exit 1); exit 1; }; }
881
    ac_useropt_orig=$ac_useropt
409
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
882
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
410
    case $ac_option in
883
    case $ac_user_opts in
411
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
884
      *"
412
      *) ac_optarg=yes ;;
885
"enable_$ac_useropt"
886
"*) ;;
887
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
888
	 ac_unrecognized_sep=', ';;
413
    esac
889
    esac
414
    eval "enable_$ac_feature='$ac_optarg'" ;;
890
    eval enable_$ac_useropt=\$ac_optarg ;;
415
891
416
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
892
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
893
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
Lines 438-443 do Link Here
438
  -host=* | --host=* | --hos=* | --ho=*)
914
  -host=* | --host=* | --hos=* | --ho=*)
439
    host_alias=$ac_optarg ;;
915
    host_alias=$ac_optarg ;;
440
916
917
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
918
    ac_prev=htmldir ;;
919
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
920
  | --ht=*)
921
    htmldir=$ac_optarg ;;
922
441
  -includedir | --includedir | --includedi | --included | --include \
923
  -includedir | --includedir | --includedi | --included | --include \
442
  | --includ | --inclu | --incl | --inc)
924
  | --includ | --inclu | --incl | --inc)
443
    ac_prev=includedir ;;
925
    ac_prev=includedir ;;
Lines 462-474 do Link Here
462
  | --libexe=* | --libex=* | --libe=*)
944
  | --libexe=* | --libex=* | --libe=*)
463
    libexecdir=$ac_optarg ;;
945
    libexecdir=$ac_optarg ;;
464
946
947
  -localedir | --localedir | --localedi | --localed | --locale)
948
    ac_prev=localedir ;;
949
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
950
    localedir=$ac_optarg ;;
951
465
  -localstatedir | --localstatedir | --localstatedi | --localstated \
952
  -localstatedir | --localstatedir | --localstatedi | --localstated \
466
  | --localstate | --localstat | --localsta | --localst \
953
  | --localstate | --localstat | --localsta | --localst | --locals)
467
  | --locals | --local | --loca | --loc | --lo)
468
    ac_prev=localstatedir ;;
954
    ac_prev=localstatedir ;;
469
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
955
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
956
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
471
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472
    localstatedir=$ac_optarg ;;
957
    localstatedir=$ac_optarg ;;
473
958
474
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
959
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
Lines 533-538 do Link Here
533
  | --progr-tra=* | --program-tr=* | --program-t=*)
1018
  | --progr-tra=* | --program-tr=* | --program-t=*)
534
    program_transform_name=$ac_optarg ;;
1019
    program_transform_name=$ac_optarg ;;
535
1020
1021
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1022
    ac_prev=pdfdir ;;
1023
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1024
    pdfdir=$ac_optarg ;;
1025
1026
  -psdir | --psdir | --psdi | --psd | --ps)
1027
    ac_prev=psdir ;;
1028
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1029
    psdir=$ac_optarg ;;
1030
536
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1031
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537
  | -silent | --silent | --silen | --sile | --sil)
1032
  | -silent | --silent | --silen | --sile | --sil)
538
    silent=yes ;;
1033
    silent=yes ;;
Lines 583-608 do Link Here
583
    ac_init_version=: ;;
1078
    ac_init_version=: ;;
584
1079
585
  -with-* | --with-*)
1080
  -with-* | --with-*)
586
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1081
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587
    # Reject names that are not valid shell variable names.
1082
    # Reject names that are not valid shell variable names.
588
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1083
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
589
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1084
      as_fn_error $? "invalid package name: $ac_useropt"
590
   { (exit 1); exit 1; }; }
1085
    ac_useropt_orig=$ac_useropt
591
    ac_package=`echo $ac_package| sed 's/-/_/g'`
1086
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
592
    case $ac_option in
1087
    case $ac_user_opts in
593
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1088
      *"
594
      *) ac_optarg=yes ;;
1089
"with_$ac_useropt"
1090
"*) ;;
1091
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1092
	 ac_unrecognized_sep=', ';;
595
    esac
1093
    esac
596
    eval "with_$ac_package='$ac_optarg'" ;;
1094
    eval with_$ac_useropt=\$ac_optarg ;;
597
1095
598
  -without-* | --without-*)
1096
  -without-* | --without-*)
599
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1097
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600
    # Reject names that are not valid shell variable names.
1098
    # Reject names that are not valid shell variable names.
601
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1099
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
602
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1100
      as_fn_error $? "invalid package name: $ac_useropt"
603
   { (exit 1); exit 1; }; }
1101
    ac_useropt_orig=$ac_useropt
604
    ac_package=`echo $ac_package | sed 's/-/_/g'`
1102
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
605
    eval "with_$ac_package=no" ;;
1103
    case $ac_user_opts in
1104
      *"
1105
"with_$ac_useropt"
1106
"*) ;;
1107
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1108
	 ac_unrecognized_sep=', ';;
1109
    esac
1110
    eval with_$ac_useropt=no ;;
606
1111
607
  --x)
1112
  --x)
608
    # Obsolete; use --with-x.
1113
    # Obsolete; use --with-x.
Lines 622-648 do Link Here
622
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1127
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623
    x_libraries=$ac_optarg ;;
1128
    x_libraries=$ac_optarg ;;
624
1129
625
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1130
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
626
Try \`$0 --help' for more information." >&2
1131
Try \`$0 --help' for more information"
627
   { (exit 1); exit 1; }; }
628
    ;;
1132
    ;;
629
1133
630
  *=*)
1134
  *=*)
631
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1135
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632
    # Reject names that are not valid shell variable names.
1136
    # Reject names that are not valid shell variable names.
633
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1137
    case $ac_envvar in #(
634
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1138
      '' | [0-9]* | *[!_$as_cr_alnum]* )
635
   { (exit 1); exit 1; }; }
1139
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
636
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
1140
    esac
637
    eval "$ac_envvar='$ac_optarg'"
1141
    eval $ac_envvar=\$ac_optarg
638
    export $ac_envvar ;;
1142
    export $ac_envvar ;;
639
1143
640
  *)
1144
  *)
641
    # FIXME: should be removed in autoconf 3.0.
1145
    # FIXME: should be removed in autoconf 3.0.
642
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1146
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1147
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1148
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1149
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
646
    ;;
1150
    ;;
647
1151
648
  esac
1152
  esac
Lines 650-680 done Link Here
650
1154
651
if test -n "$ac_prev"; then
1155
if test -n "$ac_prev"; then
652
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1156
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653
  { echo "$as_me: error: missing argument to $ac_option" >&2
1157
  as_fn_error $? "missing argument to $ac_option"
654
   { (exit 1); exit 1; }; }
655
fi
1158
fi
656
1159
657
# Be sure to have absolute paths.
1160
if test -n "$ac_unrecognized_opts"; then
658
for ac_var in exec_prefix prefix
1161
  case $enable_option_checking in
659
do
1162
    no) ;;
660
  eval ac_val=$`echo $ac_var`
1163
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
661
  case $ac_val in
1164
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
662
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664
   { (exit 1); exit 1; }; };;
665
  esac
1165
  esac
666
done
1166
fi
667
1167
668
# Be sure to have absolute paths.
1168
# Check all directory arguments for consistency.
669
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1169
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
670
	      localstatedir libdir includedir oldincludedir infodir mandir
1170
		datadir sysconfdir sharedstatedir localstatedir includedir \
1171
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1172
		libdir localedir mandir
671
do
1173
do
672
  eval ac_val=$`echo $ac_var`
1174
  eval ac_val=\$$ac_var
1175
  # Remove trailing slashes.
673
  case $ac_val in
1176
  case $ac_val in
674
    [\\/$]* | ?:[\\/]* ) ;;
1177
    */ )
675
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1178
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
676
   { (exit 1); exit 1; }; };;
1179
      eval $ac_var=\$ac_val;;
677
  esac
1180
  esac
1181
  # Be sure to have absolute directory names.
1182
  case $ac_val in
1183
    [\\/$]* | ?:[\\/]* )  continue;;
1184
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1185
  esac
1186
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
678
done
1187
done
679
1188
680
# There might be people who depend on the old broken behavior: `$host'
1189
# There might be people who depend on the old broken behavior: `$host'
Lines 688-695 target=$target_alias Link Here
688
if test "x$host_alias" != x; then
1197
if test "x$host_alias" != x; then
689
  if test "x$build_alias" = x; then
1198
  if test "x$build_alias" = x; then
690
    cross_compiling=maybe
1199
    cross_compiling=maybe
691
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692
    If a cross compiler is detected then cross compile mode will be used." >&2
693
  elif test "x$build_alias" != "x$host_alias"; then
1200
  elif test "x$build_alias" != "x$host_alias"; then
694
    cross_compiling=yes
1201
    cross_compiling=yes
695
  fi
1202
  fi
Lines 701-782 test -n "$host_alias" && ac_tool_prefix=$host_alias- Link Here
701
test "$silent" = yes && exec 6>/dev/null
1208
test "$silent" = yes && exec 6>/dev/null
702
1209
703
1210
1211
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1212
ac_ls_di=`ls -di .` &&
1213
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1214
  as_fn_error $? "working directory cannot be determined"
1215
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1216
  as_fn_error $? "pwd does not report name of working directory"
1217
1218
704
# Find the source files, if location was not specified.
1219
# Find the source files, if location was not specified.
705
if test -z "$srcdir"; then
1220
if test -z "$srcdir"; then
706
  ac_srcdir_defaulted=yes
1221
  ac_srcdir_defaulted=yes
707
  # Try the directory containing this script, then its parent.
1222
  # Try the directory containing this script, then the parent directory.
708
  ac_confdir=`(dirname "$0") 2>/dev/null ||
1223
  ac_confdir=`$as_dirname -- "$as_myself" ||
709
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1224
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710
	 X"$0" : 'X\(//\)[^/]' \| \
1225
	 X"$as_myself" : 'X\(//\)[^/]' \| \
711
	 X"$0" : 'X\(//\)$' \| \
1226
	 X"$as_myself" : 'X\(//\)$' \| \
712
	 X"$0" : 'X\(/\)' \| \
1227
	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
713
	 .     : '\(.\)' 2>/dev/null ||
1228
$as_echo X"$as_myself" |
714
echo X"$0" |
1229
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
715
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1230
	    s//\1/
716
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1231
	    q
717
  	  /^X\(\/\/\)$/{ s//\1/; q; }
1232
	  }
718
  	  /^X\(\/\).*/{ s//\1/; q; }
1233
	  /^X\(\/\/\)[^/].*/{
719
  	  s/.*/./; q'`
1234
	    s//\1/
1235
	    q
1236
	  }
1237
	  /^X\(\/\/\)$/{
1238
	    s//\1/
1239
	    q
1240
	  }
1241
	  /^X\(\/\).*/{
1242
	    s//\1/
1243
	    q
1244
	  }
1245
	  s/.*/./; q'`
720
  srcdir=$ac_confdir
1246
  srcdir=$ac_confdir
721
  if test ! -r $srcdir/$ac_unique_file; then
1247
  if test ! -r "$srcdir/$ac_unique_file"; then
722
    srcdir=..
1248
    srcdir=..
723
  fi
1249
  fi
724
else
1250
else
725
  ac_srcdir_defaulted=no
1251
  ac_srcdir_defaulted=no
726
fi
1252
fi
727
if test ! -r $srcdir/$ac_unique_file; then
1253
if test ! -r "$srcdir/$ac_unique_file"; then
728
  if test "$ac_srcdir_defaulted" = yes; then
1254
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
729
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1255
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
730
   { (exit 1); exit 1; }; }
731
  else
732
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733
   { (exit 1); exit 1; }; }
734
  fi
735
fi
1256
fi
736
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1257
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
737
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1258
ac_abs_confdir=`(
738
   { (exit 1); exit 1; }; }
1259
	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
739
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1260
	pwd)`
740
ac_env_build_alias_set=${build_alias+set}
1261
# When building in place, set srcdir=.
741
ac_env_build_alias_value=$build_alias
1262
if test "$ac_abs_confdir" = "$ac_pwd"; then
742
ac_cv_env_build_alias_set=${build_alias+set}
1263
  srcdir=.
743
ac_cv_env_build_alias_value=$build_alias
1264
fi
744
ac_env_host_alias_set=${host_alias+set}
1265
# Remove unnecessary trailing slashes from srcdir.
745
ac_env_host_alias_value=$host_alias
1266
# Double slashes in file names in object file debugging info
746
ac_cv_env_host_alias_set=${host_alias+set}
1267
# mess up M-x gdb in Emacs.
747
ac_cv_env_host_alias_value=$host_alias
1268
case $srcdir in
748
ac_env_target_alias_set=${target_alias+set}
1269
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
749
ac_env_target_alias_value=$target_alias
1270
esac
750
ac_cv_env_target_alias_set=${target_alias+set}
1271
for ac_var in $ac_precious_vars; do
751
ac_cv_env_target_alias_value=$target_alias
1272
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
752
ac_env_CC_set=${CC+set}
1273
  eval ac_env_${ac_var}_value=\$${ac_var}
753
ac_env_CC_value=$CC
1274
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
754
ac_cv_env_CC_set=${CC+set}
1275
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
755
ac_cv_env_CC_value=$CC
1276
done
756
ac_env_CFLAGS_set=${CFLAGS+set}
757
ac_env_CFLAGS_value=$CFLAGS
758
ac_cv_env_CFLAGS_set=${CFLAGS+set}
759
ac_cv_env_CFLAGS_value=$CFLAGS
760
ac_env_LDFLAGS_set=${LDFLAGS+set}
761
ac_env_LDFLAGS_value=$LDFLAGS
762
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763
ac_cv_env_LDFLAGS_value=$LDFLAGS
764
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
765
ac_env_CPPFLAGS_value=$CPPFLAGS
766
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
767
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
768
ac_env_CXX_set=${CXX+set}
769
ac_env_CXX_value=$CXX
770
ac_cv_env_CXX_set=${CXX+set}
771
ac_cv_env_CXX_value=$CXX
772
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
773
ac_env_CXXFLAGS_value=$CXXFLAGS
774
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
775
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
776
ac_env_CPP_set=${CPP+set}
777
ac_env_CPP_value=$CPP
778
ac_cv_env_CPP_set=${CPP+set}
779
ac_cv_env_CPP_value=$CPP
780
1277
781
#
1278
#
782
# Report the --help message.
1279
# Report the --help message.
Lines 799-818 Configuration: Link Here
799
      --help=short        display options specific to this package
1296
      --help=short        display options specific to this package
800
      --help=recursive    display the short help of all the included packages
1297
      --help=recursive    display the short help of all the included packages
801
  -V, --version           display version information and exit
1298
  -V, --version           display version information and exit
802
  -q, --quiet, --silent   do not print \`checking...' messages
1299
  -q, --quiet, --silent   do not print \`checking ...' messages
803
      --cache-file=FILE   cache test results in FILE [disabled]
1300
      --cache-file=FILE   cache test results in FILE [disabled]
804
  -C, --config-cache      alias for \`--cache-file=config.cache'
1301
  -C, --config-cache      alias for \`--cache-file=config.cache'
805
  -n, --no-create         do not create output files
1302
  -n, --no-create         do not create output files
806
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1303
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
807
1304
808
_ACEOF
809
810
  cat <<_ACEOF
811
Installation directories:
1305
Installation directories:
812
  --prefix=PREFIX         install architecture-independent files in PREFIX
1306
  --prefix=PREFIX         install architecture-independent files in PREFIX
813
			  [$ac_default_prefix]
1307
                          [$ac_default_prefix]
814
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1308
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
815
			  [PREFIX]
1309
                          [PREFIX]
816
1310
817
By default, \`make install' will install all the files in
1311
By default, \`make install' will install all the files in
818
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1312
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
Lines 822-839 for instance \`--prefix=\$HOME'. Link Here
822
For better control, use the options below.
1316
For better control, use the options below.
823
1317
824
Fine tuning of the installation directories:
1318
Fine tuning of the installation directories:
825
  --bindir=DIR           user executables [EPREFIX/bin]
1319
  --bindir=DIR            user executables [EPREFIX/bin]
826
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1320
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
827
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1321
  --libexecdir=DIR        program executables [EPREFIX/libexec]
828
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1322
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
829
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1323
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
830
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1324
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
831
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1325
  --libdir=DIR            object code libraries [EPREFIX/lib]
832
  --libdir=DIR           object code libraries [EPREFIX/lib]
1326
  --includedir=DIR        C header files [PREFIX/include]
833
  --includedir=DIR       C header files [PREFIX/include]
1327
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
834
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1328
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
835
  --infodir=DIR          info documentation [PREFIX/info]
1329
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
836
  --mandir=DIR           man documentation [PREFIX/man]
1330
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1331
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1332
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1333
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1334
  --htmldir=DIR           html documentation [DOCDIR]
1335
  --dvidir=DIR            dvi documentation [DOCDIR]
1336
  --pdfdir=DIR            pdf documentation [DOCDIR]
1337
  --psdir=DIR             ps documentation [DOCDIR]
837
_ACEOF
1338
_ACEOF
838
1339
839
  cat <<\_ACEOF
1340
  cat <<\_ACEOF
Lines 849-854 if test -n "$ac_init_help"; then Link Here
849
  cat <<\_ACEOF
1350
  cat <<\_ACEOF
850
1351
851
Optional Features:
1352
Optional Features:
1353
  --disable-option-checking  ignore unrecognized --enable/--with options
852
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1354
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
853
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1355
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
854
  --enable-sanitizers[=comma-separated list of sanitizers]
1356
  --enable-sanitizers[=comma-separated list of sanitizers]
Lines 868-875 Some influential environment variables: Link Here
868
  CFLAGS      C compiler flags
1370
  CFLAGS      C compiler flags
869
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1371
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
870
              nonstandard directory <lib dir>
1372
              nonstandard directory <lib dir>
871
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1373
  LIBS        libraries to pass to the linker, e.g. -l<library>
872
              headers in a nonstandard directory <include dir>
1374
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1375
              you have headers in a nonstandard directory <include dir>
873
  CXX         C++ compiler command
1376
  CXX         C++ compiler command
874
  CXXFLAGS    C++ compiler flags
1377
  CXXFLAGS    C++ compiler flags
875
  CPP         C preprocessor
1378
  CPP         C preprocessor
Lines 877-995 Some influential environment variables: Link Here
877
Use these variables to override the choices made by `configure' or to help
1380
Use these variables to override the choices made by `configure' or to help
878
it to find libraries and programs with nonstandard names/locations.
1381
it to find libraries and programs with nonstandard names/locations.
879
1382
1383
Report bugs to the package provider.
880
_ACEOF
1384
_ACEOF
1385
ac_status=$?
881
fi
1386
fi
882
1387
883
if test "$ac_init_help" = "recursive"; then
1388
if test "$ac_init_help" = "recursive"; then
884
  # If there are subdirs, report their specific --help.
1389
  # If there are subdirs, report their specific --help.
885
  ac_popdir=`pwd`
886
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1390
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
887
    test -d $ac_dir || continue
1391
    test -d "$ac_dir" ||
1392
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1393
      continue
888
    ac_builddir=.
1394
    ac_builddir=.
889
1395
890
if test "$ac_dir" != .; then
1396
case "$ac_dir" in
891
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1397
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
892
  # A "../" for each directory in $ac_dir_suffix.
1398
*)
893
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1399
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
894
else
1400
  # A ".." for each directory in $ac_dir_suffix.
895
  ac_dir_suffix= ac_top_builddir=
1401
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
896
fi
1402
  case $ac_top_builddir_sub in
1403
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1404
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1405
  esac ;;
1406
esac
1407
ac_abs_top_builddir=$ac_pwd
1408
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1409
# for backward compatibility:
1410
ac_top_builddir=$ac_top_build_prefix
897
1411
898
case $srcdir in
1412
case $srcdir in
899
  .)  # No --srcdir option.  We are building in place.
1413
  .)  # We are building in place.
900
    ac_srcdir=.
1414
    ac_srcdir=.
901
    if test -z "$ac_top_builddir"; then
1415
    ac_top_srcdir=$ac_top_builddir_sub
902
       ac_top_srcdir=.
1416
    ac_abs_top_srcdir=$ac_pwd ;;
903
    else
1417
  [\\/]* | ?:[\\/]* )  # Absolute name.
904
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
905
    fi ;;
906
  [\\/]* | ?:[\\/]* )  # Absolute path.
907
    ac_srcdir=$srcdir$ac_dir_suffix;
1418
    ac_srcdir=$srcdir$ac_dir_suffix;
908
    ac_top_srcdir=$srcdir ;;
1419
    ac_top_srcdir=$srcdir
909
  *) # Relative path.
1420
    ac_abs_top_srcdir=$srcdir ;;
910
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1421
  *) # Relative name.
911
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1422
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1423
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1424
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
912
esac
1425
esac
1426
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
913
1427
914
# Do not use `cd foo && pwd` to compute absolute paths, because
1428
    cd "$ac_dir" || { ac_status=$?; continue; }
915
# the directories may not exist.
1429
    # Check for guested configure.
916
case `pwd` in
1430
    if test -f "$ac_srcdir/configure.gnu"; then
917
.) ac_abs_builddir="$ac_dir";;
1431
      echo &&
918
*)
1432
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
919
  case "$ac_dir" in
1433
    elif test -f "$ac_srcdir/configure"; then
920
  .) ac_abs_builddir=`pwd`;;
1434
      echo &&
921
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1435
      $SHELL "$ac_srcdir/configure" --help=recursive
922
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
923
  esac;;
924
esac
925
case $ac_abs_builddir in
926
.) ac_abs_top_builddir=${ac_top_builddir}.;;
927
*)
928
  case ${ac_top_builddir}. in
929
  .) ac_abs_top_builddir=$ac_abs_builddir;;
930
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
931
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
932
  esac;;
933
esac
934
case $ac_abs_builddir in
935
.) ac_abs_srcdir=$ac_srcdir;;
936
*)
937
  case $ac_srcdir in
938
  .) ac_abs_srcdir=$ac_abs_builddir;;
939
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
940
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
941
  esac;;
942
esac
943
case $ac_abs_builddir in
944
.) ac_abs_top_srcdir=$ac_top_srcdir;;
945
*)
946
  case $ac_top_srcdir in
947
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
948
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
949
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
950
  esac;;
951
esac
952
953
    cd $ac_dir
954
    # Check for guested configure; otherwise get Cygnus style configure.
955
    if test -f $ac_srcdir/configure.gnu; then
956
      echo
957
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
958
    elif test -f $ac_srcdir/configure; then
959
      echo
960
      $SHELL $ac_srcdir/configure  --help=recursive
961
    elif test -f $ac_srcdir/configure.ac ||
962
	   test -f $ac_srcdir/configure.in; then
963
      echo
964
      $ac_configure --help
965
    else
1436
    else
966
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1437
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
967
    fi
1438
    fi || ac_status=$?
968
    cd $ac_popdir
1439
    cd "$ac_pwd" || { ac_status=$?; break; }
969
  done
1440
  done
970
fi
1441
fi
971
1442
972
test -n "$ac_init_help" && exit 0
1443
test -n "$ac_init_help" && exit $ac_status
973
if $ac_init_version; then
1444
if $ac_init_version; then
974
  cat <<\_ACEOF
1445
  cat <<\_ACEOF
1446
configure
1447
generated by GNU Autoconf 2.69
975
1448
976
Copyright (C) 2003 Free Software Foundation, Inc.
1449
Copyright (C) 2012 Free Software Foundation, Inc.
977
This configure script is free software; the Free Software Foundation
1450
This configure script is free software; the Free Software Foundation
978
gives unlimited permission to copy, distribute and modify it.
1451
gives unlimited permission to copy, distribute and modify it.
979
_ACEOF
1452
_ACEOF
980
  exit 0
1453
  exit
981
fi
1454
fi
982
exec 5>config.log
1455
983
cat >&5 <<_ACEOF
1456
## ------------------------ ##
1457
## Autoconf initialization. ##
1458
## ------------------------ ##
1459
1460
# ac_fn_c_try_compile LINENO
1461
# --------------------------
1462
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1463
ac_fn_c_try_compile ()
1464
{
1465
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1466
  rm -f conftest.$ac_objext
1467
  if { { ac_try="$ac_compile"
1468
case "(($ac_try" in
1469
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1470
  *) ac_try_echo=$ac_try;;
1471
esac
1472
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1473
$as_echo "$ac_try_echo"; } >&5
1474
  (eval "$ac_compile") 2>conftest.err
1475
  ac_status=$?
1476
  if test -s conftest.err; then
1477
    grep -v '^ *+' conftest.err >conftest.er1
1478
    cat conftest.er1 >&5
1479
    mv -f conftest.er1 conftest.err
1480
  fi
1481
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1482
  test $ac_status = 0; } && {
1483
	 test -z "$ac_c_werror_flag" ||
1484
	 test ! -s conftest.err
1485
       } && test -s conftest.$ac_objext; then :
1486
  ac_retval=0
1487
else
1488
  $as_echo "$as_me: failed program was:" >&5
1489
sed 's/^/| /' conftest.$ac_ext >&5
1490
1491
	ac_retval=1
1492
fi
1493
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1494
  as_fn_set_status $ac_retval
1495
1496
} # ac_fn_c_try_compile
1497
1498
# ac_fn_cxx_try_compile LINENO
1499
# ----------------------------
1500
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1501
ac_fn_cxx_try_compile ()
1502
{
1503
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1504
  rm -f conftest.$ac_objext
1505
  if { { ac_try="$ac_compile"
1506
case "(($ac_try" in
1507
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1508
  *) ac_try_echo=$ac_try;;
1509
esac
1510
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1511
$as_echo "$ac_try_echo"; } >&5
1512
  (eval "$ac_compile") 2>conftest.err
1513
  ac_status=$?
1514
  if test -s conftest.err; then
1515
    grep -v '^ *+' conftest.err >conftest.er1
1516
    cat conftest.er1 >&5
1517
    mv -f conftest.er1 conftest.err
1518
  fi
1519
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1520
  test $ac_status = 0; } && {
1521
	 test -z "$ac_cxx_werror_flag" ||
1522
	 test ! -s conftest.err
1523
       } && test -s conftest.$ac_objext; then :
1524
  ac_retval=0
1525
else
1526
  $as_echo "$as_me: failed program was:" >&5
1527
sed 's/^/| /' conftest.$ac_ext >&5
1528
1529
	ac_retval=1
1530
fi
1531
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1532
  as_fn_set_status $ac_retval
1533
1534
} # ac_fn_cxx_try_compile
1535
1536
# ac_fn_c_try_cpp LINENO
1537
# ----------------------
1538
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1539
ac_fn_c_try_cpp ()
1540
{
1541
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1542
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1543
case "(($ac_try" in
1544
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1545
  *) ac_try_echo=$ac_try;;
1546
esac
1547
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1548
$as_echo "$ac_try_echo"; } >&5
1549
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1550
  ac_status=$?
1551
  if test -s conftest.err; then
1552
    grep -v '^ *+' conftest.err >conftest.er1
1553
    cat conftest.er1 >&5
1554
    mv -f conftest.er1 conftest.err
1555
  fi
1556
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1557
  test $ac_status = 0; } > conftest.i && {
1558
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1559
	 test ! -s conftest.err
1560
       }; then :
1561
  ac_retval=0
1562
else
1563
  $as_echo "$as_me: failed program was:" >&5
1564
sed 's/^/| /' conftest.$ac_ext >&5
1565
1566
    ac_retval=1
1567
fi
1568
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1569
  as_fn_set_status $ac_retval
1570
1571
} # ac_fn_c_try_cpp
1572
1573
# ac_fn_c_try_run LINENO
1574
# ----------------------
1575
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1576
# that executables *can* be run.
1577
ac_fn_c_try_run ()
1578
{
1579
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1580
  if { { ac_try="$ac_link"
1581
case "(($ac_try" in
1582
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1583
  *) ac_try_echo=$ac_try;;
1584
esac
1585
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1586
$as_echo "$ac_try_echo"; } >&5
1587
  (eval "$ac_link") 2>&5
1588
  ac_status=$?
1589
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1590
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1591
  { { case "(($ac_try" in
1592
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1593
  *) ac_try_echo=$ac_try;;
1594
esac
1595
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1596
$as_echo "$ac_try_echo"; } >&5
1597
  (eval "$ac_try") 2>&5
1598
  ac_status=$?
1599
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1600
  test $ac_status = 0; }; }; then :
1601
  ac_retval=0
1602
else
1603
  $as_echo "$as_me: program exited with status $ac_status" >&5
1604
       $as_echo "$as_me: failed program was:" >&5
1605
sed 's/^/| /' conftest.$ac_ext >&5
1606
1607
       ac_retval=$ac_status
1608
fi
1609
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1610
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1611
  as_fn_set_status $ac_retval
1612
1613
} # ac_fn_c_try_run
1614
1615
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1616
# --------------------------------------------
1617
# Tries to find the compile-time value of EXPR in a program that includes
1618
# INCLUDES, setting VAR accordingly. Returns whether the value could be
1619
# computed
1620
ac_fn_c_compute_int ()
1621
{
1622
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1623
  if test "$cross_compiling" = yes; then
1624
    # Depending upon the size, compute the lo and hi bounds.
1625
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1626
/* end confdefs.h.  */
1627
$4
1628
int
1629
main ()
1630
{
1631
static int test_array [1 - 2 * !(($2) >= 0)];
1632
test_array [0] = 0;
1633
return test_array [0];
1634
1635
  ;
1636
  return 0;
1637
}
1638
_ACEOF
1639
if ac_fn_c_try_compile "$LINENO"; then :
1640
  ac_lo=0 ac_mid=0
1641
  while :; do
1642
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1643
/* end confdefs.h.  */
1644
$4
1645
int
1646
main ()
1647
{
1648
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1649
test_array [0] = 0;
1650
return test_array [0];
1651
1652
  ;
1653
  return 0;
1654
}
1655
_ACEOF
1656
if ac_fn_c_try_compile "$LINENO"; then :
1657
  ac_hi=$ac_mid; break
1658
else
1659
  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1660
			if test $ac_lo -le $ac_mid; then
1661
			  ac_lo= ac_hi=
1662
			  break
1663
			fi
1664
			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1665
fi
1666
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1667
  done
1668
else
1669
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1670
/* end confdefs.h.  */
1671
$4
1672
int
1673
main ()
1674
{
1675
static int test_array [1 - 2 * !(($2) < 0)];
1676
test_array [0] = 0;
1677
return test_array [0];
1678
1679
  ;
1680
  return 0;
1681
}
1682
_ACEOF
1683
if ac_fn_c_try_compile "$LINENO"; then :
1684
  ac_hi=-1 ac_mid=-1
1685
  while :; do
1686
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1687
/* end confdefs.h.  */
1688
$4
1689
int
1690
main ()
1691
{
1692
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1693
test_array [0] = 0;
1694
return test_array [0];
1695
1696
  ;
1697
  return 0;
1698
}
1699
_ACEOF
1700
if ac_fn_c_try_compile "$LINENO"; then :
1701
  ac_lo=$ac_mid; break
1702
else
1703
  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1704
			if test $ac_mid -le $ac_hi; then
1705
			  ac_lo= ac_hi=
1706
			  break
1707
			fi
1708
			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1709
fi
1710
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1711
  done
1712
else
1713
  ac_lo= ac_hi=
1714
fi
1715
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1716
fi
1717
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1718
# Binary search between lo and hi bounds.
1719
while test "x$ac_lo" != "x$ac_hi"; do
1720
  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1721
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1722
/* end confdefs.h.  */
1723
$4
1724
int
1725
main ()
1726
{
1727
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1728
test_array [0] = 0;
1729
return test_array [0];
1730
1731
  ;
1732
  return 0;
1733
}
1734
_ACEOF
1735
if ac_fn_c_try_compile "$LINENO"; then :
1736
  ac_hi=$ac_mid
1737
else
1738
  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1739
fi
1740
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1741
done
1742
case $ac_lo in #((
1743
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1744
'') ac_retval=1 ;;
1745
esac
1746
  else
1747
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1748
/* end confdefs.h.  */
1749
$4
1750
static long int longval () { return $2; }
1751
static unsigned long int ulongval () { return $2; }
1752
#include <stdio.h>
1753
#include <stdlib.h>
1754
int
1755
main ()
1756
{
1757
1758
  FILE *f = fopen ("conftest.val", "w");
1759
  if (! f)
1760
    return 1;
1761
  if (($2) < 0)
1762
    {
1763
      long int i = longval ();
1764
      if (i != ($2))
1765
	return 1;
1766
      fprintf (f, "%ld", i);
1767
    }
1768
  else
1769
    {
1770
      unsigned long int i = ulongval ();
1771
      if (i != ($2))
1772
	return 1;
1773
      fprintf (f, "%lu", i);
1774
    }
1775
  /* Do not output a trailing newline, as this causes \r\n confusion
1776
     on some platforms.  */
1777
  return ferror (f) || fclose (f) != 0;
1778
1779
  ;
1780
  return 0;
1781
}
1782
_ACEOF
1783
if ac_fn_c_try_run "$LINENO"; then :
1784
  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1785
else
1786
  ac_retval=1
1787
fi
1788
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1789
  conftest.$ac_objext conftest.beam conftest.$ac_ext
1790
rm -f conftest.val
1791
1792
  fi
1793
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794
  as_fn_set_status $ac_retval
1795
1796
} # ac_fn_c_compute_int
1797
1798
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1799
# -------------------------------------------------------
1800
# Tests whether HEADER exists and can be compiled using the include files in
1801
# INCLUDES, setting the cache variable VAR accordingly.
1802
ac_fn_c_check_header_compile ()
1803
{
1804
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1806
$as_echo_n "checking for $2... " >&6; }
1807
if eval \${$3+:} false; then :
1808
  $as_echo_n "(cached) " >&6
1809
else
1810
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1811
/* end confdefs.h.  */
1812
$4
1813
#include <$2>
1814
_ACEOF
1815
if ac_fn_c_try_compile "$LINENO"; then :
1816
  eval "$3=yes"
1817
else
1818
  eval "$3=no"
1819
fi
1820
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821
fi
1822
eval ac_res=\$$3
1823
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1824
$as_echo "$ac_res" >&6; }
1825
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1826
1827
} # ac_fn_c_check_header_compile
1828
1829
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1830
# -------------------------------------------------------
1831
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1832
# the include files in INCLUDES and setting the cache variable VAR
1833
# accordingly.
1834
ac_fn_c_check_header_mongrel ()
1835
{
1836
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837
  if eval \${$3+:} false; then :
1838
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1839
$as_echo_n "checking for $2... " >&6; }
1840
if eval \${$3+:} false; then :
1841
  $as_echo_n "(cached) " >&6
1842
fi
1843
eval ac_res=\$$3
1844
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1845
$as_echo "$ac_res" >&6; }
1846
else
1847
  # Is the header compilable?
1848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1849
$as_echo_n "checking $2 usability... " >&6; }
1850
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1851
/* end confdefs.h.  */
1852
$4
1853
#include <$2>
1854
_ACEOF
1855
if ac_fn_c_try_compile "$LINENO"; then :
1856
  ac_header_compiler=yes
1857
else
1858
  ac_header_compiler=no
1859
fi
1860
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1861
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1862
$as_echo "$ac_header_compiler" >&6; }
1863
1864
# Is the header present?
1865
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1866
$as_echo_n "checking $2 presence... " >&6; }
1867
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1868
/* end confdefs.h.  */
1869
#include <$2>
1870
_ACEOF
1871
if ac_fn_c_try_cpp "$LINENO"; then :
1872
  ac_header_preproc=yes
1873
else
1874
  ac_header_preproc=no
1875
fi
1876
rm -f conftest.err conftest.i conftest.$ac_ext
1877
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1878
$as_echo "$ac_header_preproc" >&6; }
1879
1880
# So?  What about this header?
1881
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1882
  yes:no: )
1883
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1884
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1885
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1886
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1887
    ;;
1888
  no:yes:* )
1889
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1890
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1891
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1892
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1893
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1894
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1895
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1896
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1897
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1898
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1899
    ;;
1900
esac
1901
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1902
$as_echo_n "checking for $2... " >&6; }
1903
if eval \${$3+:} false; then :
1904
  $as_echo_n "(cached) " >&6
1905
else
1906
  eval "$3=\$ac_header_compiler"
1907
fi
1908
eval ac_res=\$$3
1909
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1910
$as_echo "$ac_res" >&6; }
1911
fi
1912
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1913
1914
} # ac_fn_c_check_header_mongrel
1915
1916
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1917
# -------------------------------------------
1918
# Tests whether TYPE exists after having included INCLUDES, setting cache
1919
# variable VAR accordingly.
1920
ac_fn_c_check_type ()
1921
{
1922
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1923
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1924
$as_echo_n "checking for $2... " >&6; }
1925
if eval \${$3+:} false; then :
1926
  $as_echo_n "(cached) " >&6
1927
else
1928
  eval "$3=no"
1929
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1930
/* end confdefs.h.  */
1931
$4
1932
int
1933
main ()
1934
{
1935
if (sizeof ($2))
1936
	 return 0;
1937
  ;
1938
  return 0;
1939
}
1940
_ACEOF
1941
if ac_fn_c_try_compile "$LINENO"; then :
1942
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1943
/* end confdefs.h.  */
1944
$4
1945
int
1946
main ()
1947
{
1948
if (sizeof (($2)))
1949
	    return 0;
1950
  ;
1951
  return 0;
1952
}
1953
_ACEOF
1954
if ac_fn_c_try_compile "$LINENO"; then :
1955
1956
else
1957
  eval "$3=yes"
1958
fi
1959
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1960
fi
1961
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1962
fi
1963
eval ac_res=\$$3
1964
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1965
$as_echo "$ac_res" >&6; }
1966
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1967
1968
} # ac_fn_c_check_type
1969
1970
# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1971
# ---------------------------------------------------------
1972
# Tests whether HEADER exists and can be compiled using the include files in
1973
# INCLUDES, setting the cache variable VAR accordingly.
1974
ac_fn_cxx_check_header_compile ()
1975
{
1976
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1977
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1978
$as_echo_n "checking for $2... " >&6; }
1979
if eval \${$3+:} false; then :
1980
  $as_echo_n "(cached) " >&6
1981
else
1982
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1983
/* end confdefs.h.  */
1984
$4
1985
#include <$2>
1986
_ACEOF
1987
if ac_fn_cxx_try_compile "$LINENO"; then :
1988
  eval "$3=yes"
1989
else
1990
  eval "$3=no"
1991
fi
1992
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1993
fi
1994
eval ac_res=\$$3
1995
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1996
$as_echo "$ac_res" >&6; }
1997
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1998
1999
} # ac_fn_cxx_check_header_compile
2000
2001
# ac_fn_cxx_try_link LINENO
2002
# -------------------------
2003
# Try to link conftest.$ac_ext, and return whether this succeeded.
2004
ac_fn_cxx_try_link ()
2005
{
2006
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2007
  rm -f conftest.$ac_objext conftest$ac_exeext
2008
  if { { ac_try="$ac_link"
2009
case "(($ac_try" in
2010
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2011
  *) ac_try_echo=$ac_try;;
2012
esac
2013
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2014
$as_echo "$ac_try_echo"; } >&5
2015
  (eval "$ac_link") 2>conftest.err
2016
  ac_status=$?
2017
  if test -s conftest.err; then
2018
    grep -v '^ *+' conftest.err >conftest.er1
2019
    cat conftest.er1 >&5
2020
    mv -f conftest.er1 conftest.err
2021
  fi
2022
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2023
  test $ac_status = 0; } && {
2024
	 test -z "$ac_cxx_werror_flag" ||
2025
	 test ! -s conftest.err
2026
       } && test -s conftest$ac_exeext && {
2027
	 test "$cross_compiling" = yes ||
2028
	 test -x conftest$ac_exeext
2029
       }; then :
2030
  ac_retval=0
2031
else
2032
  $as_echo "$as_me: failed program was:" >&5
2033
sed 's/^/| /' conftest.$ac_ext >&5
2034
2035
	ac_retval=1
2036
fi
2037
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2038
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2039
  # interfere with the next link command; also delete a directory that is
2040
  # left behind by Apple's compiler.  We do this before executing the actions.
2041
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2042
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2043
  as_fn_set_status $ac_retval
2044
2045
} # ac_fn_cxx_try_link
2046
cat >config.log <<_ACEOF
984
This file contains any messages produced by compilers while
2047
This file contains any messages produced by compilers while
985
running configure, to aid debugging if configure makes a mistake.
2048
running configure, to aid debugging if configure makes a mistake.
986
2049
987
It was created by $as_me, which was
2050
It was created by $as_me, which was
988
generated by GNU Autoconf 2.59.  Invocation command line was
2051
generated by GNU Autoconf 2.69.  Invocation command line was
989
2052
990
  $ $0 $@
2053
  $ $0 $@
991
2054
992
_ACEOF
2055
_ACEOF
2056
exec 5>>config.log
993
{
2057
{
994
cat <<_ASUNAME
2058
cat <<_ASUNAME
995
## --------- ##
2059
## --------- ##
Lines 1008-1014 uname -v = `(uname -v) 2>/dev/null || echo unknown` Link Here
1008
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2072
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1009
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2073
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1010
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2074
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1011
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
2075
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1012
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2076
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1013
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2077
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1014
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2078
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
Lines 1020-1027 for as_dir in $PATH Link Here
1020
do
2084
do
1021
  IFS=$as_save_IFS
2085
  IFS=$as_save_IFS
1022
  test -z "$as_dir" && as_dir=.
2086
  test -z "$as_dir" && as_dir=.
1023
  echo "PATH: $as_dir"
2087
    $as_echo "PATH: $as_dir"
1024
done
2088
  done
2089
IFS=$as_save_IFS
1025
2090
1026
} >&5
2091
} >&5
1027
2092
Lines 1043-1049 _ACEOF Link Here
1043
ac_configure_args=
2108
ac_configure_args=
1044
ac_configure_args0=
2109
ac_configure_args0=
1045
ac_configure_args1=
2110
ac_configure_args1=
1046
ac_sep=
1047
ac_must_keep_next=false
2111
ac_must_keep_next=false
1048
for ac_pass in 1 2
2112
for ac_pass in 1 2
1049
do
2113
do
Lines 1054-1066 do Link Here
1054
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2118
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1055
    | -silent | --silent | --silen | --sile | --sil)
2119
    | -silent | --silent | --silen | --sile | --sil)
1056
      continue ;;
2120
      continue ;;
1057
    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
2121
    *\'*)
1058
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2122
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1059
    esac
2123
    esac
1060
    case $ac_pass in
2124
    case $ac_pass in
1061
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2125
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1062
    2)
2126
    2)
1063
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2127
      as_fn_append ac_configure_args1 " '$ac_arg'"
1064
      if test $ac_must_keep_next = true; then
2128
      if test $ac_must_keep_next = true; then
1065
	ac_must_keep_next=false # Got value, back to normal.
2129
	ac_must_keep_next=false # Got value, back to normal.
1066
      else
2130
      else
Lines 1076-1292 do Link Here
1076
	  -* ) ac_must_keep_next=true ;;
2140
	  -* ) ac_must_keep_next=true ;;
1077
	esac
2141
	esac
1078
      fi
2142
      fi
1079
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
2143
      as_fn_append ac_configure_args " '$ac_arg'"
1080
      # Get rid of the leading space.
1081
      ac_sep=" "
1082
      ;;
2144
      ;;
1083
    esac
2145
    esac
1084
  done
2146
  done
1085
done
2147
done
1086
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2148
{ ac_configure_args0=; unset ac_configure_args0;}
1087
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2149
{ ac_configure_args1=; unset ac_configure_args1;}
1088
2150
1089
# When interrupted or exit'd, cleanup temporary files, and complete
2151
# When interrupted or exit'd, cleanup temporary files, and complete
1090
# config.log.  We remove comments because anyway the quotes in there
2152
# config.log.  We remove comments because anyway the quotes in there
1091
# would cause problems or look ugly.
2153
# would cause problems or look ugly.
1092
# WARNING: Be sure not to use single quotes in there, as some shells,
2154
# WARNING: Use '\'' to represent an apostrophe within the trap.
1093
# such as our DU 5.0 friend, will then `close' the trap.
2155
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1094
trap 'exit_status=$?
2156
trap 'exit_status=$?
1095
  # Save into config.log some information that might help in debugging.
2157
  # Save into config.log some information that might help in debugging.
1096
  {
2158
  {
1097
    echo
2159
    echo
1098
2160
1099
    cat <<\_ASBOX
2161
    $as_echo "## ---------------- ##
1100
## ---------------- ##
1101
## Cache variables. ##
2162
## Cache variables. ##
1102
## ---------------- ##
2163
## ---------------- ##"
1103
_ASBOX
1104
    echo
2164
    echo
1105
    # The following way of writing the cache mishandles newlines in values,
2165
    # The following way of writing the cache mishandles newlines in values,
1106
{
2166
(
2167
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2168
    eval ac_val=\$$ac_var
2169
    case $ac_val in #(
2170
    *${as_nl}*)
2171
      case $ac_var in #(
2172
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2173
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2174
      esac
2175
      case $ac_var in #(
2176
      _ | IFS | as_nl) ;; #(
2177
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2178
      *) { eval $ac_var=; unset $ac_var;} ;;
2179
      esac ;;
2180
    esac
2181
  done
1107
  (set) 2>&1 |
2182
  (set) 2>&1 |
1108
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
2183
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1109
    *ac_space=\ *)
2184
    *${as_nl}ac_space=\ *)
1110
      sed -n \
2185
      sed -n \
1111
	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
2186
	"s/'\''/'\''\\\\'\'''\''/g;
1112
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
2187
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1113
      ;;
2188
      ;; #(
1114
    *)
2189
    *)
1115
      sed -n \
2190
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1116
	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1117
      ;;
2191
      ;;
1118
    esac;
2192
    esac |
1119
}
2193
    sort
2194
)
1120
    echo
2195
    echo
1121
2196
1122
    cat <<\_ASBOX
2197
    $as_echo "## ----------------- ##
1123
## ----------------- ##
1124
## Output variables. ##
2198
## Output variables. ##
1125
## ----------------- ##
2199
## ----------------- ##"
1126
_ASBOX
1127
    echo
2200
    echo
1128
    for ac_var in $ac_subst_vars
2201
    for ac_var in $ac_subst_vars
1129
    do
2202
    do
1130
      eval ac_val=$`echo $ac_var`
2203
      eval ac_val=\$$ac_var
1131
      echo "$ac_var='"'"'$ac_val'"'"'"
2204
      case $ac_val in
2205
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2206
      esac
2207
      $as_echo "$ac_var='\''$ac_val'\''"
1132
    done | sort
2208
    done | sort
1133
    echo
2209
    echo
1134
2210
1135
    if test -n "$ac_subst_files"; then
2211
    if test -n "$ac_subst_files"; then
1136
      cat <<\_ASBOX
2212
      $as_echo "## ------------------- ##
1137
## ------------- ##
2213
## File substitutions. ##
1138
## Output files. ##
2214
## ------------------- ##"
1139
## ------------- ##
1140
_ASBOX
1141
      echo
2215
      echo
1142
      for ac_var in $ac_subst_files
2216
      for ac_var in $ac_subst_files
1143
      do
2217
      do
1144
	eval ac_val=$`echo $ac_var`
2218
	eval ac_val=\$$ac_var
1145
	echo "$ac_var='"'"'$ac_val'"'"'"
2219
	case $ac_val in
2220
	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2221
	esac
2222
	$as_echo "$ac_var='\''$ac_val'\''"
1146
      done | sort
2223
      done | sort
1147
      echo
2224
      echo
1148
    fi
2225
    fi
1149
2226
1150
    if test -s confdefs.h; then
2227
    if test -s confdefs.h; then
1151
      cat <<\_ASBOX
2228
      $as_echo "## ----------- ##
1152
## ----------- ##
1153
## confdefs.h. ##
2229
## confdefs.h. ##
1154
## ----------- ##
2230
## ----------- ##"
1155
_ASBOX
1156
      echo
2231
      echo
1157
      sed "/^$/d" confdefs.h | sort
2232
      cat confdefs.h
1158
      echo
2233
      echo
1159
    fi
2234
    fi
1160
    test "$ac_signal" != 0 &&
2235
    test "$ac_signal" != 0 &&
1161
      echo "$as_me: caught signal $ac_signal"
2236
      $as_echo "$as_me: caught signal $ac_signal"
1162
    echo "$as_me: exit $exit_status"
2237
    $as_echo "$as_me: exit $exit_status"
1163
  } >&5
2238
  } >&5
1164
  rm -f core *.core &&
2239
  rm -f core *.core core.conftest.* &&
1165
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
2240
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1166
    exit $exit_status
2241
    exit $exit_status
1167
     ' 0
2242
' 0
1168
for ac_signal in 1 2 13 15; do
2243
for ac_signal in 1 2 13 15; do
1169
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2244
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1170
done
2245
done
1171
ac_signal=0
2246
ac_signal=0
1172
2247
1173
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2248
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1174
rm -rf conftest* confdefs.h
2249
rm -f -r conftest* confdefs.h
1175
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1176
echo >confdefs.h
1177
2250
2251
$as_echo "/* confdefs.h */" > confdefs.h
2252
1178
# Predefined preprocessor variables.
2253
# Predefined preprocessor variables.
1179
2254
1180
cat >>confdefs.h <<_ACEOF
2255
cat >>confdefs.h <<_ACEOF
1181
#define PACKAGE_NAME "$PACKAGE_NAME"
2256
#define PACKAGE_NAME "$PACKAGE_NAME"
1182
_ACEOF
2257
_ACEOF
1183
2258
1184
1185
cat >>confdefs.h <<_ACEOF
2259
cat >>confdefs.h <<_ACEOF
1186
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2260
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1187
_ACEOF
2261
_ACEOF
1188
2262
1189
1190
cat >>confdefs.h <<_ACEOF
2263
cat >>confdefs.h <<_ACEOF
1191
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2264
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1192
_ACEOF
2265
_ACEOF
1193
2266
1194
1195
cat >>confdefs.h <<_ACEOF
2267
cat >>confdefs.h <<_ACEOF
1196
#define PACKAGE_STRING "$PACKAGE_STRING"
2268
#define PACKAGE_STRING "$PACKAGE_STRING"
1197
_ACEOF
2269
_ACEOF
1198
2270
1199
1200
cat >>confdefs.h <<_ACEOF
2271
cat >>confdefs.h <<_ACEOF
1201
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2272
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1202
_ACEOF
2273
_ACEOF
1203
2274
2275
cat >>confdefs.h <<_ACEOF
2276
#define PACKAGE_URL "$PACKAGE_URL"
2277
_ACEOF
1204
2278
2279
1205
# Let the site file select an alternate cache file if it wants to.
2280
# Let the site file select an alternate cache file if it wants to.
1206
# Prefer explicitly selected file to automatically selected ones.
2281
# Prefer an explicitly selected file to automatically selected ones.
1207
if test -z "$CONFIG_SITE"; then
2282
ac_site_file1=NONE
1208
  if test "x$prefix" != xNONE; then
2283
ac_site_file2=NONE
1209
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
2284
if test -n "$CONFIG_SITE"; then
1210
  else
2285
  # We do not want a PATH search for config.site.
1211
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2286
  case $CONFIG_SITE in #((
1212
  fi
2287
    -*)  ac_site_file1=./$CONFIG_SITE;;
2288
    */*) ac_site_file1=$CONFIG_SITE;;
2289
    *)   ac_site_file1=./$CONFIG_SITE;;
2290
  esac
2291
elif test "x$prefix" != xNONE; then
2292
  ac_site_file1=$prefix/share/config.site
2293
  ac_site_file2=$prefix/etc/config.site
2294
else
2295
  ac_site_file1=$ac_default_prefix/share/config.site
2296
  ac_site_file2=$ac_default_prefix/etc/config.site
1213
fi
2297
fi
1214
for ac_site_file in $CONFIG_SITE; do
2298
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1215
  if test -r "$ac_site_file"; then
2299
do
1216
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2300
  test "x$ac_site_file" = xNONE && continue
1217
echo "$as_me: loading site script $ac_site_file" >&6;}
2301
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2302
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2303
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1218
    sed 's/^/| /' "$ac_site_file" >&5
2304
    sed 's/^/| /' "$ac_site_file" >&5
1219
    . "$ac_site_file"
2305
    . "$ac_site_file" \
2306
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2307
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2308
as_fn_error $? "failed to load site script $ac_site_file
2309
See \`config.log' for more details" "$LINENO" 5; }
1220
  fi
2310
  fi
1221
done
2311
done
1222
2312
1223
if test -r "$cache_file"; then
2313
if test -r "$cache_file"; then
1224
  # Some versions of bash will fail to source /dev/null (special
2314
  # Some versions of bash will fail to source /dev/null (special files
1225
  # files actually), so we avoid doing that.
2315
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1226
  if test -f "$cache_file"; then
2316
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1227
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2317
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1228
echo "$as_me: loading cache $cache_file" >&6;}
2318
$as_echo "$as_me: loading cache $cache_file" >&6;}
1229
    case $cache_file in
2319
    case $cache_file in
1230
      [\\/]* | ?:[\\/]* ) . $cache_file;;
2320
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1231
      *)                      . ./$cache_file;;
2321
      *)                      . "./$cache_file";;
1232
    esac
2322
    esac
1233
  fi
2323
  fi
1234
else
2324
else
1235
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2325
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1236
echo "$as_me: creating cache $cache_file" >&6;}
2326
$as_echo "$as_me: creating cache $cache_file" >&6;}
1237
  >$cache_file
2327
  >$cache_file
1238
fi
2328
fi
1239
2329
1240
# Check that the precious variables saved in the cache have kept the same
2330
# Check that the precious variables saved in the cache have kept the same
1241
# value.
2331
# value.
1242
ac_cache_corrupted=false
2332
ac_cache_corrupted=false
1243
for ac_var in `(set) 2>&1 |
2333
for ac_var in $ac_precious_vars; do
1244
	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1245
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2334
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1246
  eval ac_new_set=\$ac_env_${ac_var}_set
2335
  eval ac_new_set=\$ac_env_${ac_var}_set
1247
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
2336
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1248
  eval ac_new_val="\$ac_env_${ac_var}_value"
2337
  eval ac_new_val=\$ac_env_${ac_var}_value
1249
  case $ac_old_set,$ac_new_set in
2338
  case $ac_old_set,$ac_new_set in
1250
    set,)
2339
    set,)
1251
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2340
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1252
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2341
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1253
      ac_cache_corrupted=: ;;
2342
      ac_cache_corrupted=: ;;
1254
    ,set)
2343
    ,set)
1255
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2344
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1256
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2345
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1257
      ac_cache_corrupted=: ;;
2346
      ac_cache_corrupted=: ;;
1258
    ,);;
2347
    ,);;
1259
    *)
2348
    *)
1260
      if test "x$ac_old_val" != "x$ac_new_val"; then
2349
      if test "x$ac_old_val" != "x$ac_new_val"; then
1261
	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2350
	# differences in whitespace do not lead to failure.
1262
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2351
	ac_old_val_w=`echo x $ac_old_val`
1263
	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
2352
	ac_new_val_w=`echo x $ac_new_val`
1264
echo "$as_me:   former value:  $ac_old_val" >&2;}
2353
	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1265
	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
2354
	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1266
echo "$as_me:   current value: $ac_new_val" >&2;}
2355
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1267
	ac_cache_corrupted=:
2356
	  ac_cache_corrupted=:
2357
	else
2358
	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2359
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2360
	  eval $ac_var=\$ac_old_val
2361
	fi
2362
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2363
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2364
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2365
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1268
      fi;;
2366
      fi;;
1269
  esac
2367
  esac
1270
  # Pass precious variables to config.status.
2368
  # Pass precious variables to config.status.
1271
  if test "$ac_new_set" = set; then
2369
  if test "$ac_new_set" = set; then
1272
    case $ac_new_val in
2370
    case $ac_new_val in
1273
    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
2371
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1274
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1275
    *) ac_arg=$ac_var=$ac_new_val ;;
2372
    *) ac_arg=$ac_var=$ac_new_val ;;
1276
    esac
2373
    esac
1277
    case " $ac_configure_args " in
2374
    case " $ac_configure_args " in
1278
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2375
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1279
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2376
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1280
    esac
2377
    esac
1281
  fi
2378
  fi
1282
done
2379
done
1283
if $ac_cache_corrupted; then
2380
if $ac_cache_corrupted; then
1284
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2381
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1285
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2382
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1286
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2383
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1287
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2384
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1288
   { (exit 1); exit 1; }; }
2385
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1289
fi
2386
fi
2387
## -------------------- ##
2388
## Main body of script. ##
2389
## -------------------- ##
1290
2390
1291
ac_ext=c
2391
ac_ext=c
1292
ac_cpp='$CPP $CPPFLAGS'
2392
ac_cpp='$CPP $CPPFLAGS'
Lines 1296-1346 ac_compiler_gnu=$ac_cv_c_compiler_gnu Link Here
1296
2396
1297
2397
1298
2398
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
ac_aux_dir=
2399
ac_aux_dir=
1317
for ac_dir in $srcdir/autoconf; do
2400
for ac_dir in $srcdir/autoconf; do
1318
  if test -f $ac_dir/install-sh; then
2401
  if test -f "$ac_dir/install-sh"; then
1319
    ac_aux_dir=$ac_dir
2402
    ac_aux_dir=$ac_dir
1320
    ac_install_sh="$ac_aux_dir/install-sh -c"
2403
    ac_install_sh="$ac_aux_dir/install-sh -c"
1321
    break
2404
    break
1322
  elif test -f $ac_dir/install.sh; then
2405
  elif test -f "$ac_dir/install.sh"; then
1323
    ac_aux_dir=$ac_dir
2406
    ac_aux_dir=$ac_dir
1324
    ac_install_sh="$ac_aux_dir/install.sh -c"
2407
    ac_install_sh="$ac_aux_dir/install.sh -c"
1325
    break
2408
    break
1326
  elif test -f $ac_dir/shtool; then
2409
  elif test -f "$ac_dir/shtool"; then
1327
    ac_aux_dir=$ac_dir
2410
    ac_aux_dir=$ac_dir
1328
    ac_install_sh="$ac_aux_dir/shtool install -c"
2411
    ac_install_sh="$ac_aux_dir/shtool install -c"
1329
    break
2412
    break
1330
  fi
2413
  fi
1331
done
2414
done
1332
if test -z "$ac_aux_dir"; then
2415
if test -z "$ac_aux_dir"; then
1333
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir/autoconf" >&5
2416
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in $srcdir/autoconf" "$LINENO" 5
1334
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir/autoconf" >&2;}
1335
   { (exit 1); exit 1; }; }
1336
fi
2417
fi
1337
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1338
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1339
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1340
2418
2419
# These three variables are undocumented and unsupported,
2420
# and are intended to be withdrawn in a future Autoconf release.
2421
# They can cause serious problems if a builder's source tree is in a directory
2422
# whose full name contains unusual characters.
2423
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2424
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2425
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1341
2426
1342
2427
1343
2428
2429
2430
1344
## Delete previous failed configure results
2431
## Delete previous failed configure results
1345
if test -f ./CONF_INFO; then
2432
if test -f ./CONF_INFO; then
1346
   rm ./CONF_INFO
2433
   rm ./CONF_INFO
Lines 1349-1490 fi Link Here
1349
if test -z "$ERL_TOP" || test ! -d $ERL_TOP ; then
2436
if test -z "$ERL_TOP" || test ! -d $ERL_TOP ; then
1350
  ac_aux_dir=
2437
  ac_aux_dir=
1351
for ac_dir in autoconf; do
2438
for ac_dir in autoconf; do
1352
  if test -f $ac_dir/install-sh; then
2439
  if test -f "$ac_dir/install-sh"; then
1353
    ac_aux_dir=$ac_dir
2440
    ac_aux_dir=$ac_dir
1354
    ac_install_sh="$ac_aux_dir/install-sh -c"
2441
    ac_install_sh="$ac_aux_dir/install-sh -c"
1355
    break
2442
    break
1356
  elif test -f $ac_dir/install.sh; then
2443
  elif test -f "$ac_dir/install.sh"; then
1357
    ac_aux_dir=$ac_dir
2444
    ac_aux_dir=$ac_dir
1358
    ac_install_sh="$ac_aux_dir/install.sh -c"
2445
    ac_install_sh="$ac_aux_dir/install.sh -c"
1359
    break
2446
    break
1360
  elif test -f $ac_dir/shtool; then
2447
  elif test -f "$ac_dir/shtool"; then
1361
    ac_aux_dir=$ac_dir
2448
    ac_aux_dir=$ac_dir
1362
    ac_install_sh="$ac_aux_dir/shtool install -c"
2449
    ac_install_sh="$ac_aux_dir/shtool install -c"
1363
    break
2450
    break
1364
  fi
2451
  fi
1365
done
2452
done
1366
if test -z "$ac_aux_dir"; then
2453
if test -z "$ac_aux_dir"; then
1367
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf" >&5
2454
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in autoconf" "$LINENO" 5
1368
echo "$as_me: error: cannot find install-sh or install.sh in autoconf" >&2;}
1369
   { (exit 1); exit 1; }; }
1370
fi
2455
fi
1371
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1372
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1373
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1374
2456
2457
# These three variables are undocumented and unsupported,
2458
# and are intended to be withdrawn in a future Autoconf release.
2459
# They can cause serious problems if a builder's source tree is in a directory
2460
# whose full name contains unusual characters.
2461
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2462
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2463
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2464
2465
1375
  WX_BUILDING_INSIDE_ERLSRC=false
2466
  WX_BUILDING_INSIDE_ERLSRC=false
1376
else
2467
else
1377
  erl_top=${ERL_TOP}
2468
  erl_top=${ERL_TOP}
1378
  if test -d $erl_top/erts/autoconf; then
2469
  if test -d $erl_top/erts/autoconf; then
1379
     ac_aux_dir=
2470
     ac_aux_dir=
1380
for ac_dir in $erl_top/erts/autoconf; do
2471
for ac_dir in $erl_top/erts/autoconf; do
1381
  if test -f $ac_dir/install-sh; then
2472
  if test -f "$ac_dir/install-sh"; then
1382
    ac_aux_dir=$ac_dir
2473
    ac_aux_dir=$ac_dir
1383
    ac_install_sh="$ac_aux_dir/install-sh -c"
2474
    ac_install_sh="$ac_aux_dir/install-sh -c"
1384
    break
2475
    break
1385
  elif test -f $ac_dir/install.sh; then
2476
  elif test -f "$ac_dir/install.sh"; then
1386
    ac_aux_dir=$ac_dir
2477
    ac_aux_dir=$ac_dir
1387
    ac_install_sh="$ac_aux_dir/install.sh -c"
2478
    ac_install_sh="$ac_aux_dir/install.sh -c"
1388
    break
2479
    break
1389
  elif test -f $ac_dir/shtool; then
2480
  elif test -f "$ac_dir/shtool"; then
1390
    ac_aux_dir=$ac_dir
2481
    ac_aux_dir=$ac_dir
1391
    ac_install_sh="$ac_aux_dir/shtool install -c"
2482
    ac_install_sh="$ac_aux_dir/shtool install -c"
1392
    break
2483
    break
1393
  fi
2484
  fi
1394
done
2485
done
1395
if test -z "$ac_aux_dir"; then
2486
if test -z "$ac_aux_dir"; then
1396
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $erl_top/erts/autoconf" >&5
2487
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in $erl_top/erts/autoconf" "$LINENO" 5
1397
echo "$as_me: error: cannot find install-sh or install.sh in $erl_top/erts/autoconf" >&2;}
1398
   { (exit 1); exit 1; }; }
1399
fi
2488
fi
1400
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1401
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1402
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1403
2489
2490
# These three variables are undocumented and unsupported,
2491
# and are intended to be withdrawn in a future Autoconf release.
2492
# They can cause serious problems if a builder's source tree is in a directory
2493
# whose full name contains unusual characters.
2494
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2495
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2496
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2497
2498
1404
     WX_BUILDING_INSIDE_ERLSRC=true
2499
     WX_BUILDING_INSIDE_ERLSRC=true
1405
  else
2500
  else
1406
     ac_aux_dir=
2501
     ac_aux_dir=
1407
for ac_dir in autoconf; do
2502
for ac_dir in autoconf; do
1408
  if test -f $ac_dir/install-sh; then
2503
  if test -f "$ac_dir/install-sh"; then
1409
    ac_aux_dir=$ac_dir
2504
    ac_aux_dir=$ac_dir
1410
    ac_install_sh="$ac_aux_dir/install-sh -c"
2505
    ac_install_sh="$ac_aux_dir/install-sh -c"
1411
    break
2506
    break
1412
  elif test -f $ac_dir/install.sh; then
2507
  elif test -f "$ac_dir/install.sh"; then
1413
    ac_aux_dir=$ac_dir
2508
    ac_aux_dir=$ac_dir
1414
    ac_install_sh="$ac_aux_dir/install.sh -c"
2509
    ac_install_sh="$ac_aux_dir/install.sh -c"
1415
    break
2510
    break
1416
  elif test -f $ac_dir/shtool; then
2511
  elif test -f "$ac_dir/shtool"; then
1417
    ac_aux_dir=$ac_dir
2512
    ac_aux_dir=$ac_dir
1418
    ac_install_sh="$ac_aux_dir/shtool install -c"
2513
    ac_install_sh="$ac_aux_dir/shtool install -c"
1419
    break
2514
    break
1420
  fi
2515
  fi
1421
done
2516
done
1422
if test -z "$ac_aux_dir"; then
2517
if test -z "$ac_aux_dir"; then
1423
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf" >&5
2518
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in autoconf" "$LINENO" 5
1424
echo "$as_me: error: cannot find install-sh or install.sh in autoconf" >&2;}
1425
   { (exit 1); exit 1; }; }
1426
fi
2519
fi
1427
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1428
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1429
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1430
2520
2521
# These three variables are undocumented and unsupported,
2522
# and are intended to be withdrawn in a future Autoconf release.
2523
# They can cause serious problems if a builder's source tree is in a directory
2524
# whose full name contains unusual characters.
2525
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2526
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2527
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2528
2529
1431
     WX_BUILDING_INSIDE_ERLSRC=false
2530
     WX_BUILDING_INSIDE_ERLSRC=false
1432
  fi
2531
  fi
1433
fi
2532
fi
1434
2533
1435
if test "X$host" != "Xfree_source" -a "X$host" != "Xwin32"; then
2534
if test "X$host" != "Xfree_source" -a "X$host" != "Xwin32"; then
1436
    # Make sure we can run config.sub.
2535
    # Make sure we can run config.sub.
1437
$ac_config_sub sun4 >/dev/null 2>&1 ||
2536
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1438
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2537
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1439
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1440
   { (exit 1); exit 1; }; }
1441
2538
1442
echo "$as_me:$LINENO: checking build system type" >&5
2539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1443
echo $ECHO_N "checking build system type... $ECHO_C" >&6
2540
$as_echo_n "checking build system type... " >&6; }
1444
if test "${ac_cv_build+set}" = set; then
2541
if ${ac_cv_build+:} false; then :
1445
  echo $ECHO_N "(cached) $ECHO_C" >&6
2542
  $as_echo_n "(cached) " >&6
1446
else
2543
else
1447
  ac_cv_build_alias=$build_alias
2544
  ac_build_alias=$build_alias
1448
test -z "$ac_cv_build_alias" &&
2545
test "x$ac_build_alias" = x &&
1449
  ac_cv_build_alias=`$ac_config_guess`
2546
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1450
test -z "$ac_cv_build_alias" &&
2547
test "x$ac_build_alias" = x &&
1451
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2548
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1452
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2549
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1453
   { (exit 1); exit 1; }; }
2550
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1454
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1455
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1456
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1457
   { (exit 1); exit 1; }; }
1458
2551
1459
fi
2552
fi
1460
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1461
echo "${ECHO_T}$ac_cv_build" >&6
2554
$as_echo "$ac_cv_build" >&6; }
2555
case $ac_cv_build in
2556
*-*-*) ;;
2557
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2558
esac
1462
build=$ac_cv_build
2559
build=$ac_cv_build
1463
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2560
ac_save_IFS=$IFS; IFS='-'
1464
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2561
set x $ac_cv_build
1465
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2562
shift
2563
build_cpu=$1
2564
build_vendor=$2
2565
shift; shift
2566
# Remember, the first character of IFS is used to create $*,
2567
# except with old shells:
2568
build_os=$*
2569
IFS=$ac_save_IFS
2570
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1466
2571
1467
2572
1468
echo "$as_me:$LINENO: checking host system type" >&5
2573
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1469
echo $ECHO_N "checking host system type... $ECHO_C" >&6
2574
$as_echo_n "checking host system type... " >&6; }
1470
if test "${ac_cv_host+set}" = set; then
2575
if ${ac_cv_host+:} false; then :
1471
  echo $ECHO_N "(cached) $ECHO_C" >&6
2576
  $as_echo_n "(cached) " >&6
1472
else
2577
else
1473
  ac_cv_host_alias=$host_alias
2578
  if test "x$host_alias" = x; then
1474
test -z "$ac_cv_host_alias" &&
2579
  ac_cv_host=$ac_cv_build
1475
  ac_cv_host_alias=$ac_cv_build_alias
2580
else
1476
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2581
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1477
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2582
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1478
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2583
fi
1479
   { (exit 1); exit 1; }; }
1480
2584
1481
fi
2585
fi
1482
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2586
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1483
echo "${ECHO_T}$ac_cv_host" >&6
2587
$as_echo "$ac_cv_host" >&6; }
2588
case $ac_cv_host in
2589
*-*-*) ;;
2590
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2591
esac
1484
host=$ac_cv_host
2592
host=$ac_cv_host
1485
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2593
ac_save_IFS=$IFS; IFS='-'
1486
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2594
set x $ac_cv_host
1487
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2595
shift
2596
host_cpu=$1
2597
host_vendor=$2
2598
shift; shift
2599
# Remember, the first character of IFS is used to create $*,
2600
# except with old shells:
2601
host_os=$*
2602
IFS=$ac_save_IFS
2603
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1488
2604
1489
2605
1490
else
2606
else
Lines 1512-1521 ac_compiler_gnu=$ac_cv_c_compiler_gnu Link Here
1512
if test -n "$ac_tool_prefix"; then
2628
if test -n "$ac_tool_prefix"; then
1513
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2629
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1514
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2630
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1515
echo "$as_me:$LINENO: checking for $ac_word" >&5
2631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1516
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2632
$as_echo_n "checking for $ac_word... " >&6; }
1517
if test "${ac_cv_prog_CC+set}" = set; then
2633
if ${ac_cv_prog_CC+:} false; then :
1518
  echo $ECHO_N "(cached) $ECHO_C" >&6
2634
  $as_echo_n "(cached) " >&6
1519
else
2635
else
1520
  if test -n "$CC"; then
2636
  if test -n "$CC"; then
1521
  ac_cv_prog_CC="$CC" # Let the user override the test.
2637
  ac_cv_prog_CC="$CC" # Let the user override the test.
Lines 1525-1559 for as_dir in $PATH Link Here
1525
do
2641
do
1526
  IFS=$as_save_IFS
2642
  IFS=$as_save_IFS
1527
  test -z "$as_dir" && as_dir=.
2643
  test -z "$as_dir" && as_dir=.
1528
  for ac_exec_ext in '' $ac_executable_extensions; do
2644
    for ac_exec_ext in '' $ac_executable_extensions; do
1529
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2645
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1530
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2646
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1531
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2647
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1532
    break 2
2648
    break 2
1533
  fi
2649
  fi
1534
done
2650
done
1535
done
2651
  done
2652
IFS=$as_save_IFS
1536
2653
1537
fi
2654
fi
1538
fi
2655
fi
1539
CC=$ac_cv_prog_CC
2656
CC=$ac_cv_prog_CC
1540
if test -n "$CC"; then
2657
if test -n "$CC"; then
1541
  echo "$as_me:$LINENO: result: $CC" >&5
2658
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1542
echo "${ECHO_T}$CC" >&6
2659
$as_echo "$CC" >&6; }
1543
else
2660
else
1544
  echo "$as_me:$LINENO: result: no" >&5
2661
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1545
echo "${ECHO_T}no" >&6
2662
$as_echo "no" >&6; }
1546
fi
2663
fi
1547
2664
2665
1548
fi
2666
fi
1549
if test -z "$ac_cv_prog_CC"; then
2667
if test -z "$ac_cv_prog_CC"; then
1550
  ac_ct_CC=$CC
2668
  ac_ct_CC=$CC
1551
  # Extract the first word of "gcc", so it can be a program name with args.
2669
  # Extract the first word of "gcc", so it can be a program name with args.
1552
set dummy gcc; ac_word=$2
2670
set dummy gcc; ac_word=$2
1553
echo "$as_me:$LINENO: checking for $ac_word" >&5
2671
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1554
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2672
$as_echo_n "checking for $ac_word... " >&6; }
1555
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2673
if ${ac_cv_prog_ac_ct_CC+:} false; then :
1556
  echo $ECHO_N "(cached) $ECHO_C" >&6
2674
  $as_echo_n "(cached) " >&6
1557
else
2675
else
1558
  if test -n "$ac_ct_CC"; then
2676
  if test -n "$ac_ct_CC"; then
1559
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2677
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
Lines 1563-1601 for as_dir in $PATH Link Here
1563
do
2681
do
1564
  IFS=$as_save_IFS
2682
  IFS=$as_save_IFS
1565
  test -z "$as_dir" && as_dir=.
2683
  test -z "$as_dir" && as_dir=.
1566
  for ac_exec_ext in '' $ac_executable_extensions; do
2684
    for ac_exec_ext in '' $ac_executable_extensions; do
1567
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2685
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1568
    ac_cv_prog_ac_ct_CC="gcc"
2686
    ac_cv_prog_ac_ct_CC="gcc"
1569
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2687
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1570
    break 2
2688
    break 2
1571
  fi
2689
  fi
1572
done
2690
done
1573
done
2691
  done
2692
IFS=$as_save_IFS
1574
2693
1575
fi
2694
fi
1576
fi
2695
fi
1577
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2696
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1578
if test -n "$ac_ct_CC"; then
2697
if test -n "$ac_ct_CC"; then
1579
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2698
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1580
echo "${ECHO_T}$ac_ct_CC" >&6
2699
$as_echo "$ac_ct_CC" >&6; }
1581
else
2700
else
1582
  echo "$as_me:$LINENO: result: no" >&5
2701
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1583
echo "${ECHO_T}no" >&6
2702
$as_echo "no" >&6; }
1584
fi
2703
fi
1585
2704
1586
  CC=$ac_ct_CC
2705
  if test "x$ac_ct_CC" = x; then
2706
    CC=""
2707
  else
2708
    case $cross_compiling:$ac_tool_warned in
2709
yes:)
2710
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2711
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2712
ac_tool_warned=yes ;;
2713
esac
2714
    CC=$ac_ct_CC
2715
  fi
1587
else
2716
else
1588
  CC="$ac_cv_prog_CC"
2717
  CC="$ac_cv_prog_CC"
1589
fi
2718
fi
1590
2719
1591
if test -z "$CC"; then
2720
if test -z "$CC"; then
1592
  if test -n "$ac_tool_prefix"; then
2721
          if test -n "$ac_tool_prefix"; then
1593
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2722
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1594
set dummy ${ac_tool_prefix}cc; ac_word=$2
2723
set dummy ${ac_tool_prefix}cc; ac_word=$2
1595
echo "$as_me:$LINENO: checking for $ac_word" >&5
2724
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1596
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2725
$as_echo_n "checking for $ac_word... " >&6; }
1597
if test "${ac_cv_prog_CC+set}" = set; then
2726
if ${ac_cv_prog_CC+:} false; then :
1598
  echo $ECHO_N "(cached) $ECHO_C" >&6
2727
  $as_echo_n "(cached) " >&6
1599
else
2728
else
1600
  if test -n "$CC"; then
2729
  if test -n "$CC"; then
1601
  ac_cv_prog_CC="$CC" # Let the user override the test.
2730
  ac_cv_prog_CC="$CC" # Let the user override the test.
Lines 1605-1681 for as_dir in $PATH Link Here
1605
do
2734
do
1606
  IFS=$as_save_IFS
2735
  IFS=$as_save_IFS
1607
  test -z "$as_dir" && as_dir=.
2736
  test -z "$as_dir" && as_dir=.
1608
  for ac_exec_ext in '' $ac_executable_extensions; do
2737
    for ac_exec_ext in '' $ac_executable_extensions; do
1609
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2738
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1610
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2739
    ac_cv_prog_CC="${ac_tool_prefix}cc"
1611
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2740
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1612
    break 2
2741
    break 2
1613
  fi
2742
  fi
1614
done
2743
done
1615
done
2744
  done
2745
IFS=$as_save_IFS
1616
2746
1617
fi
2747
fi
1618
fi
2748
fi
1619
CC=$ac_cv_prog_CC
2749
CC=$ac_cv_prog_CC
1620
if test -n "$CC"; then
2750
if test -n "$CC"; then
1621
  echo "$as_me:$LINENO: result: $CC" >&5
2751
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1622
echo "${ECHO_T}$CC" >&6
2752
$as_echo "$CC" >&6; }
1623
else
2753
else
1624
  echo "$as_me:$LINENO: result: no" >&5
2754
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1625
echo "${ECHO_T}no" >&6
2755
$as_echo "no" >&6; }
1626
fi
2756
fi
1627
2757
1628
fi
1629
if test -z "$ac_cv_prog_CC"; then
1630
  ac_ct_CC=$CC
1631
  # Extract the first word of "cc", so it can be a program name with args.
1632
set dummy cc; ac_word=$2
1633
echo "$as_me:$LINENO: checking for $ac_word" >&5
1634
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1635
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1636
  echo $ECHO_N "(cached) $ECHO_C" >&6
1637
else
1638
  if test -n "$ac_ct_CC"; then
1639
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1640
else
1641
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1642
for as_dir in $PATH
1643
do
1644
  IFS=$as_save_IFS
1645
  test -z "$as_dir" && as_dir=.
1646
  for ac_exec_ext in '' $ac_executable_extensions; do
1647
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1648
    ac_cv_prog_ac_ct_CC="cc"
1649
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1650
    break 2
1651
  fi
1652
done
1653
done
1654
2758
2759
  fi
1655
fi
2760
fi
1656
fi
1657
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1658
if test -n "$ac_ct_CC"; then
1659
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1660
echo "${ECHO_T}$ac_ct_CC" >&6
1661
else
1662
  echo "$as_me:$LINENO: result: no" >&5
1663
echo "${ECHO_T}no" >&6
1664
fi
1665
1666
  CC=$ac_ct_CC
1667
else
1668
  CC="$ac_cv_prog_CC"
1669
fi
1670
1671
fi
1672
if test -z "$CC"; then
2761
if test -z "$CC"; then
1673
  # Extract the first word of "cc", so it can be a program name with args.
2762
  # Extract the first word of "cc", so it can be a program name with args.
1674
set dummy cc; ac_word=$2
2763
set dummy cc; ac_word=$2
1675
echo "$as_me:$LINENO: checking for $ac_word" >&5
2764
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1676
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2765
$as_echo_n "checking for $ac_word... " >&6; }
1677
if test "${ac_cv_prog_CC+set}" = set; then
2766
if ${ac_cv_prog_CC+:} false; then :
1678
  echo $ECHO_N "(cached) $ECHO_C" >&6
2767
  $as_echo_n "(cached) " >&6
1679
else
2768
else
1680
  if test -n "$CC"; then
2769
  if test -n "$CC"; then
1681
  ac_cv_prog_CC="$CC" # Let the user override the test.
2770
  ac_cv_prog_CC="$CC" # Let the user override the test.
Lines 1686-1703 for as_dir in $PATH Link Here
1686
do
2775
do
1687
  IFS=$as_save_IFS
2776
  IFS=$as_save_IFS
1688
  test -z "$as_dir" && as_dir=.
2777
  test -z "$as_dir" && as_dir=.
1689
  for ac_exec_ext in '' $ac_executable_extensions; do
2778
    for ac_exec_ext in '' $ac_executable_extensions; do
1690
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2779
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1691
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2780
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1692
       ac_prog_rejected=yes
2781
       ac_prog_rejected=yes
1693
       continue
2782
       continue
1694
     fi
2783
     fi
1695
    ac_cv_prog_CC="cc"
2784
    ac_cv_prog_CC="cc"
1696
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2785
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1697
    break 2
2786
    break 2
1698
  fi
2787
  fi
1699
done
2788
done
1700
done
2789
  done
2790
IFS=$as_save_IFS
1701
2791
1702
if test $ac_prog_rejected = yes; then
2792
if test $ac_prog_rejected = yes; then
1703
  # We found a bogon in the path, so make sure we never use it.
2793
  # We found a bogon in the path, so make sure we never use it.
Lines 1715-1738 fi Link Here
1715
fi
2805
fi
1716
CC=$ac_cv_prog_CC
2806
CC=$ac_cv_prog_CC
1717
if test -n "$CC"; then
2807
if test -n "$CC"; then
1718
  echo "$as_me:$LINENO: result: $CC" >&5
2808
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1719
echo "${ECHO_T}$CC" >&6
2809
$as_echo "$CC" >&6; }
1720
else
2810
else
1721
  echo "$as_me:$LINENO: result: no" >&5
2811
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1722
echo "${ECHO_T}no" >&6
2812
$as_echo "no" >&6; }
1723
fi
2813
fi
1724
2814
2815
1725
fi
2816
fi
1726
if test -z "$CC"; then
2817
if test -z "$CC"; then
1727
  if test -n "$ac_tool_prefix"; then
2818
  if test -n "$ac_tool_prefix"; then
1728
  for ac_prog in cl
2819
  for ac_prog in cl.exe
1729
  do
2820
  do
1730
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2821
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1731
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2822
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1732
echo "$as_me:$LINENO: checking for $ac_word" >&5
2823
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1733
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2824
$as_echo_n "checking for $ac_word... " >&6; }
1734
if test "${ac_cv_prog_CC+set}" = set; then
2825
if ${ac_cv_prog_CC+:} false; then :
1735
  echo $ECHO_N "(cached) $ECHO_C" >&6
2826
  $as_echo_n "(cached) " >&6
1736
else
2827
else
1737
  if test -n "$CC"; then
2828
  if test -n "$CC"; then
1738
  ac_cv_prog_CC="$CC" # Let the user override the test.
2829
  ac_cv_prog_CC="$CC" # Let the user override the test.
Lines 1742-1780 for as_dir in $PATH Link Here
1742
do
2833
do
1743
  IFS=$as_save_IFS
2834
  IFS=$as_save_IFS
1744
  test -z "$as_dir" && as_dir=.
2835
  test -z "$as_dir" && as_dir=.
1745
  for ac_exec_ext in '' $ac_executable_extensions; do
2836
    for ac_exec_ext in '' $ac_executable_extensions; do
1746
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2837
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1747
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2838
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1748
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2839
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1749
    break 2
2840
    break 2
1750
  fi
2841
  fi
1751
done
2842
done
1752
done
2843
  done
2844
IFS=$as_save_IFS
1753
2845
1754
fi
2846
fi
1755
fi
2847
fi
1756
CC=$ac_cv_prog_CC
2848
CC=$ac_cv_prog_CC
1757
if test -n "$CC"; then
2849
if test -n "$CC"; then
1758
  echo "$as_me:$LINENO: result: $CC" >&5
2850
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1759
echo "${ECHO_T}$CC" >&6
2851
$as_echo "$CC" >&6; }
1760
else
2852
else
1761
  echo "$as_me:$LINENO: result: no" >&5
2853
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1762
echo "${ECHO_T}no" >&6
2854
$as_echo "no" >&6; }
1763
fi
2855
fi
1764
2856
2857
1765
    test -n "$CC" && break
2858
    test -n "$CC" && break
1766
  done
2859
  done
1767
fi
2860
fi
1768
if test -z "$CC"; then
2861
if test -z "$CC"; then
1769
  ac_ct_CC=$CC
2862
  ac_ct_CC=$CC
1770
  for ac_prog in cl
2863
  for ac_prog in cl.exe
1771
do
2864
do
1772
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2865
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1773
set dummy $ac_prog; ac_word=$2
2866
set dummy $ac_prog; ac_word=$2
1774
echo "$as_me:$LINENO: checking for $ac_word" >&5
2867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1775
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2868
$as_echo_n "checking for $ac_word... " >&6; }
1776
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2869
if ${ac_cv_prog_ac_ct_CC+:} false; then :
1777
  echo $ECHO_N "(cached) $ECHO_C" >&6
2870
  $as_echo_n "(cached) " >&6
1778
else
2871
else
1779
  if test -n "$ac_ct_CC"; then
2872
  if test -n "$ac_ct_CC"; then
1780
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2873
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
Lines 1784-1849 for as_dir in $PATH Link Here
1784
do
2877
do
1785
  IFS=$as_save_IFS
2878
  IFS=$as_save_IFS
1786
  test -z "$as_dir" && as_dir=.
2879
  test -z "$as_dir" && as_dir=.
1787
  for ac_exec_ext in '' $ac_executable_extensions; do
2880
    for ac_exec_ext in '' $ac_executable_extensions; do
1788
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2881
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1789
    ac_cv_prog_ac_ct_CC="$ac_prog"
2882
    ac_cv_prog_ac_ct_CC="$ac_prog"
1790
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2883
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1791
    break 2
2884
    break 2
1792
  fi
2885
  fi
1793
done
2886
done
1794
done
2887
  done
2888
IFS=$as_save_IFS
1795
2889
1796
fi
2890
fi
1797
fi
2891
fi
1798
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2892
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1799
if test -n "$ac_ct_CC"; then
2893
if test -n "$ac_ct_CC"; then
1800
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2894
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1801
echo "${ECHO_T}$ac_ct_CC" >&6
2895
$as_echo "$ac_ct_CC" >&6; }
1802
else
2896
else
1803
  echo "$as_me:$LINENO: result: no" >&5
2897
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1804
echo "${ECHO_T}no" >&6
2898
$as_echo "no" >&6; }
1805
fi
2899
fi
1806
2900
2901
1807
  test -n "$ac_ct_CC" && break
2902
  test -n "$ac_ct_CC" && break
1808
done
2903
done
1809
2904
1810
  CC=$ac_ct_CC
2905
  if test "x$ac_ct_CC" = x; then
2906
    CC=""
2907
  else
2908
    case $cross_compiling:$ac_tool_warned in
2909
yes:)
2910
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2911
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2912
ac_tool_warned=yes ;;
2913
esac
2914
    CC=$ac_ct_CC
2915
  fi
1811
fi
2916
fi
1812
2917
1813
fi
2918
fi
1814
2919
1815
2920
1816
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2921
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1817
See \`config.log' for more details." >&5
2922
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1818
echo "$as_me: error: no acceptable C compiler found in \$PATH
2923
as_fn_error $? "no acceptable C compiler found in \$PATH
1819
See \`config.log' for more details." >&2;}
2924
See \`config.log' for more details" "$LINENO" 5; }
1820
   { (exit 1); exit 1; }; }
1821
2925
1822
# Provide some information about the compiler.
2926
# Provide some information about the compiler.
1823
echo "$as_me:$LINENO:" \
2927
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
1824
     "checking for C compiler version" >&5
2928
set X $ac_compile
1825
ac_compiler=`set X $ac_compile; echo $2`
2929
ac_compiler=$2
1826
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2930
for ac_option in --version -v -V -qversion; do
1827
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2931
  { { ac_try="$ac_compiler $ac_option >&5"
2932
case "(($ac_try" in
2933
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2934
  *) ac_try_echo=$ac_try;;
2935
esac
2936
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2937
$as_echo "$ac_try_echo"; } >&5
2938
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1828
  ac_status=$?
2939
  ac_status=$?
1829
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940
  if test -s conftest.err; then
1830
  (exit $ac_status); }
2941
    sed '10a\
1831
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2942
... rest of stderr output deleted ...
1832
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2943
         10q' conftest.err >conftest.er1
1833
  ac_status=$?
2944
    cat conftest.er1 >&5
1834
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945
  fi
1835
  (exit $ac_status); }
2946
  rm -f conftest.er1 conftest.err
1836
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2947
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837
  (eval $ac_compiler -V </dev/null >&5) 2>&5
2948
  test $ac_status = 0; }
1838
  ac_status=$?
2949
done
1839
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1840
  (exit $ac_status); }
1841
2950
1842
cat >conftest.$ac_ext <<_ACEOF
2951
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1843
/* confdefs.h.  */
1844
_ACEOF
1845
cat confdefs.h >>conftest.$ac_ext
1846
cat >>conftest.$ac_ext <<_ACEOF
1847
/* end confdefs.h.  */
2952
/* end confdefs.h.  */
1848
2953
1849
int
2954
int
Lines 1855-1966 main () Link Here
1855
}
2960
}
1856
_ACEOF
2961
_ACEOF
1857
ac_clean_files_save=$ac_clean_files
2962
ac_clean_files_save=$ac_clean_files
1858
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2963
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1859
# Try to create an executable without -o first, disregard a.out.
2964
# Try to create an executable without -o first, disregard a.out.
1860
# It will help us diagnose broken compilers, and finding out an intuition
2965
# It will help us diagnose broken compilers, and finding out an intuition
1861
# of exeext.
2966
# of exeext.
1862
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
1863
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2968
$as_echo_n "checking whether the C compiler works... " >&6; }
1864
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2969
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1865
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1866
  (eval $ac_link_default) 2>&5
1867
  ac_status=$?
1868
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1869
  (exit $ac_status); }; then
1870
  # Find the output, starting from the most likely.  This scheme is
1871
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1872
# resort.
1873
2970
1874
# Be careful to initialize this variable, since it used to be cached.
2971
# The possible output files:
1875
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2972
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
1876
ac_cv_exeext=
2973
1877
# b.out is created by i960 compilers.
2974
ac_rmfiles=
1878
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2975
for ac_file in $ac_files
1879
do
2976
do
2977
  case $ac_file in
2978
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2979
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2980
  esac
2981
done
2982
rm -f $ac_rmfiles
2983
2984
if { { ac_try="$ac_link_default"
2985
case "(($ac_try" in
2986
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2987
  *) ac_try_echo=$ac_try;;
2988
esac
2989
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2990
$as_echo "$ac_try_echo"; } >&5
2991
  (eval "$ac_link_default") 2>&5
2992
  ac_status=$?
2993
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2994
  test $ac_status = 0; }; then :
2995
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2996
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2997
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2998
# so that the user can short-circuit this test for compilers unknown to
2999
# Autoconf.
3000
for ac_file in $ac_files ''
3001
do
1880
  test -f "$ac_file" || continue
3002
  test -f "$ac_file" || continue
1881
  case $ac_file in
3003
  case $ac_file in
1882
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
3004
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1883
	;;
3005
	;;
1884
    conftest.$ac_ext )
1885
	# This is the source file.
1886
	;;
1887
    [ab].out )
3006
    [ab].out )
1888
	# We found the default executable, but exeext='' is most
3007
	# We found the default executable, but exeext='' is most
1889
	# certainly right.
3008
	# certainly right.
1890
	break;;
3009
	break;;
1891
    *.* )
3010
    *.* )
1892
	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3011
	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
1893
	# FIXME: I believe we export ac_cv_exeext for Libtool,
3012
	then :; else
1894
	# but it would be cool to find out if it's true.  Does anybody
3013
	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1895
	# maintain Libtool? --akim.
3014
	fi
1896
	export ac_cv_exeext
3015
	# We set ac_cv_exeext here because the later test for it is not
3016
	# safe: cross compilers may not add the suffix if given an `-o'
3017
	# argument, so we may need to know it at that point already.
3018
	# Even if this section looks crufty: it has the advantage of
3019
	# actually working.
1897
	break;;
3020
	break;;
1898
    * )
3021
    * )
1899
	break;;
3022
	break;;
1900
  esac
3023
  esac
1901
done
3024
done
3025
test "$ac_cv_exeext" = no && ac_cv_exeext=
3026
1902
else
3027
else
1903
  echo "$as_me: failed program was:" >&5
3028
  ac_file=''
3029
fi
3030
if test -z "$ac_file"; then :
3031
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3032
$as_echo "no" >&6; }
3033
$as_echo "$as_me: failed program was:" >&5
1904
sed 's/^/| /' conftest.$ac_ext >&5
3034
sed 's/^/| /' conftest.$ac_ext >&5
1905
3035
1906
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3036
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1907
See \`config.log' for more details." >&5
3037
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1908
echo "$as_me: error: C compiler cannot create executables
3038
as_fn_error 77 "C compiler cannot create executables
1909
See \`config.log' for more details." >&2;}
3039
See \`config.log' for more details" "$LINENO" 5; }
1910
   { (exit 77); exit 77; }; }
3040
else
3041
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3042
$as_echo "yes" >&6; }
1911
fi
3043
fi
1912
3044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3045
$as_echo_n "checking for C compiler default output file name... " >&6; }
3046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3047
$as_echo "$ac_file" >&6; }
1913
ac_exeext=$ac_cv_exeext
3048
ac_exeext=$ac_cv_exeext
1914
echo "$as_me:$LINENO: result: $ac_file" >&5
1915
echo "${ECHO_T}$ac_file" >&6
1916
3049
1917
# Check the compiler produces executables we can run.  If not, either
3050
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1918
# the compiler is broken, or we cross compile.
1919
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1920
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1921
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1922
# If not cross compiling, check that we can run a simple program.
1923
if test "$cross_compiling" != yes; then
1924
  if { ac_try='./$ac_file'
1925
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1926
  (eval $ac_try) 2>&5
1927
  ac_status=$?
1928
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1929
  (exit $ac_status); }; }; then
1930
    cross_compiling=no
1931
  else
1932
    if test "$cross_compiling" = maybe; then
1933
	cross_compiling=yes
1934
    else
1935
	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1936
If you meant to cross compile, use \`--host'.
1937
See \`config.log' for more details." >&5
1938
echo "$as_me: error: cannot run C compiled programs.
1939
If you meant to cross compile, use \`--host'.
1940
See \`config.log' for more details." >&2;}
1941
   { (exit 1); exit 1; }; }
1942
    fi
1943
  fi
1944
fi
1945
echo "$as_me:$LINENO: result: yes" >&5
1946
echo "${ECHO_T}yes" >&6
1947
1948
rm -f a.out a.exe conftest$ac_cv_exeext b.out
1949
ac_clean_files=$ac_clean_files_save
3051
ac_clean_files=$ac_clean_files_save
1950
# Check the compiler produces executables we can run.  If not, either
3052
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
1951
# the compiler is broken, or we cross compile.
3053
$as_echo_n "checking for suffix of executables... " >&6; }
1952
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3054
if { { ac_try="$ac_link"
1953
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3055
case "(($ac_try" in
1954
echo "$as_me:$LINENO: result: $cross_compiling" >&5
3056
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1955
echo "${ECHO_T}$cross_compiling" >&6
3057
  *) ac_try_echo=$ac_try;;
1956
3058
esac
1957
echo "$as_me:$LINENO: checking for suffix of executables" >&5
3059
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1958
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3060
$as_echo "$ac_try_echo"; } >&5
1959
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3061
  (eval "$ac_link") 2>&5
1960
  (eval $ac_link) 2>&5
1961
  ac_status=$?
3062
  ac_status=$?
1962
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1963
  (exit $ac_status); }; then
3064
  test $ac_status = 0; }; then :
1964
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3065
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
1965
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3066
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1966
# work properly (i.e., refer to `conftest.exe'), while it won't with
3067
# work properly (i.e., refer to `conftest.exe'), while it won't with
Lines 1968-2005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 Link Here
1968
for ac_file in conftest.exe conftest conftest.*; do
3069
for ac_file in conftest.exe conftest conftest.*; do
1969
  test -f "$ac_file" || continue
3070
  test -f "$ac_file" || continue
1970
  case $ac_file in
3071
  case $ac_file in
1971
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3072
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1972
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3073
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1973
	  export ac_cv_exeext
1974
	  break;;
3074
	  break;;
1975
    * ) break;;
3075
    * ) break;;
1976
  esac
3076
  esac
1977
done
3077
done
1978
else
3078
else
1979
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3079
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1980
See \`config.log' for more details." >&5
3080
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1981
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3081
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
1982
See \`config.log' for more details." >&2;}
3082
See \`config.log' for more details" "$LINENO" 5; }
1983
   { (exit 1); exit 1; }; }
1984
fi
3083
fi
3084
rm -f conftest conftest$ac_cv_exeext
3085
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3086
$as_echo "$ac_cv_exeext" >&6; }
1985
3087
1986
rm -f conftest$ac_cv_exeext
1987
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1988
echo "${ECHO_T}$ac_cv_exeext" >&6
1989
1990
rm -f conftest.$ac_ext
3088
rm -f conftest.$ac_ext
1991
EXEEXT=$ac_cv_exeext
3089
EXEEXT=$ac_cv_exeext
1992
ac_exeext=$EXEEXT
3090
ac_exeext=$EXEEXT
1993
echo "$as_me:$LINENO: checking for suffix of object files" >&5
3091
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1994
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3092
/* end confdefs.h.  */
1995
if test "${ac_cv_objext+set}" = set; then
3093
#include <stdio.h>
1996
  echo $ECHO_N "(cached) $ECHO_C" >&6
3094
int
1997
else
3095
main ()
1998
  cat >conftest.$ac_ext <<_ACEOF
3096
{
1999
/* confdefs.h.  */
3097
FILE *f = fopen ("conftest.out", "w");
3098
 return ferror (f) || fclose (f) != 0;
3099
3100
  ;
3101
  return 0;
3102
}
2000
_ACEOF
3103
_ACEOF
2001
cat confdefs.h >>conftest.$ac_ext
3104
ac_clean_files="$ac_clean_files conftest.out"
2002
cat >>conftest.$ac_ext <<_ACEOF
3105
# Check that the compiler produces executables we can run.  If not, either
3106
# the compiler is broken, or we cross compile.
3107
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3108
$as_echo_n "checking whether we are cross compiling... " >&6; }
3109
if test "$cross_compiling" != yes; then
3110
  { { ac_try="$ac_link"
3111
case "(($ac_try" in
3112
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3113
  *) ac_try_echo=$ac_try;;
3114
esac
3115
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3116
$as_echo "$ac_try_echo"; } >&5
3117
  (eval "$ac_link") 2>&5
3118
  ac_status=$?
3119
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3120
  test $ac_status = 0; }
3121
  if { ac_try='./conftest$ac_cv_exeext'
3122
  { { case "(($ac_try" in
3123
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3124
  *) ac_try_echo=$ac_try;;
3125
esac
3126
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3127
$as_echo "$ac_try_echo"; } >&5
3128
  (eval "$ac_try") 2>&5
3129
  ac_status=$?
3130
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3131
  test $ac_status = 0; }; }; then
3132
    cross_compiling=no
3133
  else
3134
    if test "$cross_compiling" = maybe; then
3135
	cross_compiling=yes
3136
    else
3137
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3138
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3139
as_fn_error $? "cannot run C compiled programs.
3140
If you meant to cross compile, use \`--host'.
3141
See \`config.log' for more details" "$LINENO" 5; }
3142
    fi
3143
  fi
3144
fi
3145
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3146
$as_echo "$cross_compiling" >&6; }
3147
3148
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3149
ac_clean_files=$ac_clean_files_save
3150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3151
$as_echo_n "checking for suffix of object files... " >&6; }
3152
if ${ac_cv_objext+:} false; then :
3153
  $as_echo_n "(cached) " >&6
3154
else
3155
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2003
/* end confdefs.h.  */
3156
/* end confdefs.h.  */
2004
3157
2005
int
3158
int
Lines 2011-2055 main () Link Here
2011
}
3164
}
2012
_ACEOF
3165
_ACEOF
2013
rm -f conftest.o conftest.obj
3166
rm -f conftest.o conftest.obj
2014
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3167
if { { ac_try="$ac_compile"
2015
  (eval $ac_compile) 2>&5
3168
case "(($ac_try" in
3169
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3170
  *) ac_try_echo=$ac_try;;
3171
esac
3172
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3173
$as_echo "$ac_try_echo"; } >&5
3174
  (eval "$ac_compile") 2>&5
2016
  ac_status=$?
3175
  ac_status=$?
2017
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2018
  (exit $ac_status); }; then
3177
  test $ac_status = 0; }; then :
2019
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3178
  for ac_file in conftest.o conftest.obj conftest.*; do
3179
  test -f "$ac_file" || continue;
2020
  case $ac_file in
3180
  case $ac_file in
2021
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3181
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2022
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3182
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2023
       break;;
3183
       break;;
2024
  esac
3184
  esac
2025
done
3185
done
2026
else
3186
else
2027
  echo "$as_me: failed program was:" >&5
3187
  $as_echo "$as_me: failed program was:" >&5
2028
sed 's/^/| /' conftest.$ac_ext >&5
3188
sed 's/^/| /' conftest.$ac_ext >&5
2029
3189
2030
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3190
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2031
See \`config.log' for more details." >&5
3191
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2032
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3192
as_fn_error $? "cannot compute suffix of object files: cannot compile
2033
See \`config.log' for more details." >&2;}
3193
See \`config.log' for more details" "$LINENO" 5; }
2034
   { (exit 1); exit 1; }; }
2035
fi
3194
fi
2036
2037
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3195
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2038
fi
3196
fi
2039
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3197
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2040
echo "${ECHO_T}$ac_cv_objext" >&6
3198
$as_echo "$ac_cv_objext" >&6; }
2041
OBJEXT=$ac_cv_objext
3199
OBJEXT=$ac_cv_objext
2042
ac_objext=$OBJEXT
3200
ac_objext=$OBJEXT
2043
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3201
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2044
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3202
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2045
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3203
if ${ac_cv_c_compiler_gnu+:} false; then :
2046
  echo $ECHO_N "(cached) $ECHO_C" >&6
3204
  $as_echo_n "(cached) " >&6
2047
else
3205
else
2048
  cat >conftest.$ac_ext <<_ACEOF
3206
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2049
/* confdefs.h.  */
2050
_ACEOF
2051
cat confdefs.h >>conftest.$ac_ext
2052
cat >>conftest.$ac_ext <<_ACEOF
2053
/* end confdefs.h.  */
3207
/* end confdefs.h.  */
2054
3208
2055
int
3209
int
Lines 2063-2117 main () Link Here
2063
  return 0;
3217
  return 0;
2064
}
3218
}
2065
_ACEOF
3219
_ACEOF
2066
rm -f conftest.$ac_objext
3220
if ac_fn_c_try_compile "$LINENO"; then :
2067
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2068
  (eval $ac_compile) 2>conftest.er1
2069
  ac_status=$?
2070
  grep -v '^ *+' conftest.er1 >conftest.err
2071
  rm -f conftest.er1
2072
  cat conftest.err >&5
2073
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2074
  (exit $ac_status); } &&
2075
	 { ac_try='test -z "$ac_c_werror_flag"
2076
			 || test ! -s conftest.err'
2077
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2078
  (eval $ac_try) 2>&5
2079
  ac_status=$?
2080
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2081
  (exit $ac_status); }; } &&
2082
	 { ac_try='test -s conftest.$ac_objext'
2083
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2084
  (eval $ac_try) 2>&5
2085
  ac_status=$?
2086
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2087
  (exit $ac_status); }; }; then
2088
  ac_compiler_gnu=yes
3221
  ac_compiler_gnu=yes
2089
else
3222
else
2090
  echo "$as_me: failed program was:" >&5
3223
  ac_compiler_gnu=no
2091
sed 's/^/| /' conftest.$ac_ext >&5
2092
2093
ac_compiler_gnu=no
2094
fi
3224
fi
2095
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3225
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2096
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3226
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2097
3227
2098
fi
3228
fi
2099
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3229
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2100
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3230
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2101
GCC=`test $ac_compiler_gnu = yes && echo yes`
3231
if test $ac_compiler_gnu = yes; then
3232
  GCC=yes
3233
else
3234
  GCC=
3235
fi
2102
ac_test_CFLAGS=${CFLAGS+set}
3236
ac_test_CFLAGS=${CFLAGS+set}
2103
ac_save_CFLAGS=$CFLAGS
3237
ac_save_CFLAGS=$CFLAGS
2104
CFLAGS="-g"
3238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2105
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3239
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2106
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3240
if ${ac_cv_prog_cc_g+:} false; then :
2107
if test "${ac_cv_prog_cc_g+set}" = set; then
3241
  $as_echo_n "(cached) " >&6
2108
  echo $ECHO_N "(cached) $ECHO_C" >&6
2109
else
3242
else
2110
  cat >conftest.$ac_ext <<_ACEOF
3243
  ac_save_c_werror_flag=$ac_c_werror_flag
2111
/* confdefs.h.  */
3244
   ac_c_werror_flag=yes
2112
_ACEOF
3245
   ac_cv_prog_cc_g=no
2113
cat confdefs.h >>conftest.$ac_ext
3246
   CFLAGS="-g"
2114
cat >>conftest.$ac_ext <<_ACEOF
3247
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115
/* end confdefs.h.  */
3248
/* end confdefs.h.  */
2116
3249
2117
int
3250
int
Lines 2122-2160 main () Link Here
2122
  return 0;
3255
  return 0;
2123
}
3256
}
2124
_ACEOF
3257
_ACEOF
2125
rm -f conftest.$ac_objext
3258
if ac_fn_c_try_compile "$LINENO"; then :
2126
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2127
  (eval $ac_compile) 2>conftest.er1
2128
  ac_status=$?
2129
  grep -v '^ *+' conftest.er1 >conftest.err
2130
  rm -f conftest.er1
2131
  cat conftest.err >&5
2132
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2133
  (exit $ac_status); } &&
2134
	 { ac_try='test -z "$ac_c_werror_flag"
2135
			 || test ! -s conftest.err'
2136
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2137
  (eval $ac_try) 2>&5
2138
  ac_status=$?
2139
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2140
  (exit $ac_status); }; } &&
2141
	 { ac_try='test -s conftest.$ac_objext'
2142
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2143
  (eval $ac_try) 2>&5
2144
  ac_status=$?
2145
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2146
  (exit $ac_status); }; }; then
2147
  ac_cv_prog_cc_g=yes
3259
  ac_cv_prog_cc_g=yes
2148
else
3260
else
2149
  echo "$as_me: failed program was:" >&5
3261
  CFLAGS=""
2150
sed 's/^/| /' conftest.$ac_ext >&5
3262
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3263
/* end confdefs.h.  */
2151
3264
2152
ac_cv_prog_cc_g=no
3265
int
3266
main ()
3267
{
3268
3269
  ;
3270
  return 0;
3271
}
3272
_ACEOF
3273
if ac_fn_c_try_compile "$LINENO"; then :
3274
3275
else
3276
  ac_c_werror_flag=$ac_save_c_werror_flag
3277
	 CFLAGS="-g"
3278
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279
/* end confdefs.h.  */
3280
3281
int
3282
main ()
3283
{
3284
3285
  ;
3286
  return 0;
3287
}
3288
_ACEOF
3289
if ac_fn_c_try_compile "$LINENO"; then :
3290
  ac_cv_prog_cc_g=yes
2153
fi
3291
fi
2154
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3292
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2155
fi
3293
fi
2156
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3294
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2157
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3295
fi
3296
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297
   ac_c_werror_flag=$ac_save_c_werror_flag
3298
fi
3299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3300
$as_echo "$ac_cv_prog_cc_g" >&6; }
2158
if test "$ac_test_CFLAGS" = set; then
3301
if test "$ac_test_CFLAGS" = set; then
2159
  CFLAGS=$ac_save_CFLAGS
3302
  CFLAGS=$ac_save_CFLAGS
2160
elif test $ac_cv_prog_cc_g = yes; then
3303
elif test $ac_cv_prog_cc_g = yes; then
Lines 2170-2192 else Link Here
2170
    CFLAGS=
3313
    CFLAGS=
2171
  fi
3314
  fi
2172
fi
3315
fi
2173
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2174
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3317
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2175
if test "${ac_cv_prog_cc_stdc+set}" = set; then
3318
if ${ac_cv_prog_cc_c89+:} false; then :
2176
  echo $ECHO_N "(cached) $ECHO_C" >&6
3319
  $as_echo_n "(cached) " >&6
2177
else
3320
else
2178
  ac_cv_prog_cc_stdc=no
3321
  ac_cv_prog_cc_c89=no
2179
ac_save_CC=$CC
3322
ac_save_CC=$CC
2180
cat >conftest.$ac_ext <<_ACEOF
3323
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2181
/* confdefs.h.  */
2182
_ACEOF
2183
cat confdefs.h >>conftest.$ac_ext
2184
cat >>conftest.$ac_ext <<_ACEOF
2185
/* end confdefs.h.  */
3324
/* end confdefs.h.  */
2186
#include <stdarg.h>
3325
#include <stdarg.h>
2187
#include <stdio.h>
3326
#include <stdio.h>
2188
#include <sys/types.h>
3327
struct stat;
2189
#include <sys/stat.h>
2190
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3328
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2191
struct buf { int x; };
3329
struct buf { int x; };
2192
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3330
FILE * (*rcsopen) (struct buf *, struct stat *, int);
Lines 2209-2220 static char *f (char * (*g) (char **, int), char **p, Link Here
2209
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3347
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2210
   function prototypes and stuff, but not '\xHH' hex character constants.
3348
   function prototypes and stuff, but not '\xHH' hex character constants.
2211
   These don't provoke an error unfortunately, instead are silently treated
3349
   These don't provoke an error unfortunately, instead are silently treated
2212
   as 'x'.  The following induces an error, until -std1 is added to get
3350
   as 'x'.  The following induces an error, until -std is added to get
2213
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3351
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2214
   array size at least.  It's necessary to write '\x00'==0 to get something
3352
   array size at least.  It's necessary to write '\x00'==0 to get something
2215
   that's true only with -std1.  */
3353
   that's true only with -std.  */
2216
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3354
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2217
3355
3356
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3357
   inside strings and character constants.  */
3358
#define FOO(x) 'x'
3359
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3360
2218
int test (int i, double x);
3361
int test (int i, double x);
2219
struct s1 {int (*f) (int a);};
3362
struct s1 {int (*f) (int a);};
2220
struct s2 {int (*f) (double a);};
3363
struct s2 {int (*f) (double a);};
Lines 2229-2453 return f (e, argv, 0) != argv[0] || f (e, argv, 1) ! Link Here
2229
  return 0;
3372
  return 0;
2230
}
3373
}
2231
_ACEOF
3374
_ACEOF
2232
# Don't try gcc -ansi; that turns off useful extensions and
3375
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2233
# breaks some systems' header files.
3376
	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2234
# AIX			-qlanglvl=ansi
2235
# Ultrix and OSF/1	-std1
2236
# HP-UX 10.20 and later	-Ae
2237
# HP-UX older versions	-Aa -D_HPUX_SOURCE
2238
# SVR4			-Xc -D__EXTENSIONS__
2239
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2240
do
3377
do
2241
  CC="$ac_save_CC $ac_arg"
3378
  CC="$ac_save_CC $ac_arg"
2242
  rm -f conftest.$ac_objext
3379
  if ac_fn_c_try_compile "$LINENO"; then :
2243
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3380
  ac_cv_prog_cc_c89=$ac_arg
2244
  (eval $ac_compile) 2>conftest.er1
2245
  ac_status=$?
2246
  grep -v '^ *+' conftest.er1 >conftest.err
2247
  rm -f conftest.er1
2248
  cat conftest.err >&5
2249
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2250
  (exit $ac_status); } &&
2251
	 { ac_try='test -z "$ac_c_werror_flag"
2252
			 || test ! -s conftest.err'
2253
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2254
  (eval $ac_try) 2>&5
2255
  ac_status=$?
2256
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2257
  (exit $ac_status); }; } &&
2258
	 { ac_try='test -s conftest.$ac_objext'
2259
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2260
  (eval $ac_try) 2>&5
2261
  ac_status=$?
2262
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263
  (exit $ac_status); }; }; then
2264
  ac_cv_prog_cc_stdc=$ac_arg
2265
break
2266
else
2267
  echo "$as_me: failed program was:" >&5
2268
sed 's/^/| /' conftest.$ac_ext >&5
2269
2270
fi
3381
fi
2271
rm -f conftest.err conftest.$ac_objext
3382
rm -f core conftest.err conftest.$ac_objext
3383
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2272
done
3384
done
2273
rm -f conftest.$ac_ext conftest.$ac_objext
3385
rm -f conftest.$ac_ext
2274
CC=$ac_save_CC
3386
CC=$ac_save_CC
2275
3387
2276
fi
3388
fi
2277
3389
# AC_CACHE_VAL
2278
case "x$ac_cv_prog_cc_stdc" in
3390
case "x$ac_cv_prog_cc_c89" in
2279
  x|xno)
3391
  x)
2280
    echo "$as_me:$LINENO: result: none needed" >&5
3392
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2281
echo "${ECHO_T}none needed" >&6 ;;
3393
$as_echo "none needed" >&6; } ;;
3394
  xno)
3395
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3396
$as_echo "unsupported" >&6; } ;;
2282
  *)
3397
  *)
2283
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3398
    CC="$CC $ac_cv_prog_cc_c89"
2284
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3399
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2285
    CC="$CC $ac_cv_prog_cc_stdc" ;;
3400
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2286
esac
3401
esac
3402
if test "x$ac_cv_prog_cc_c89" != xno; then :
2287
3403
2288
# Some people use a C++ compiler to compile C.  Since we use `exit',
2289
# in C++ we need to declare it.  In case someone uses the same compiler
2290
# for both compiling C and C++ we need to have the C++ compiler decide
2291
# the declaration of exit, since it's the most demanding environment.
2292
cat >conftest.$ac_ext <<_ACEOF
2293
#ifndef __cplusplus
2294
  choke me
2295
#endif
2296
_ACEOF
2297
rm -f conftest.$ac_objext
2298
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2299
  (eval $ac_compile) 2>conftest.er1
2300
  ac_status=$?
2301
  grep -v '^ *+' conftest.er1 >conftest.err
2302
  rm -f conftest.er1
2303
  cat conftest.err >&5
2304
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305
  (exit $ac_status); } &&
2306
	 { ac_try='test -z "$ac_c_werror_flag"
2307
			 || test ! -s conftest.err'
2308
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2309
  (eval $ac_try) 2>&5
2310
  ac_status=$?
2311
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312
  (exit $ac_status); }; } &&
2313
	 { ac_try='test -s conftest.$ac_objext'
2314
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2315
  (eval $ac_try) 2>&5
2316
  ac_status=$?
2317
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318
  (exit $ac_status); }; }; then
2319
  for ac_declaration in \
2320
   '' \
2321
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2322
   'extern "C" void std::exit (int); using std::exit;' \
2323
   'extern "C" void exit (int) throw ();' \
2324
   'extern "C" void exit (int);' \
2325
   'void exit (int);'
2326
do
2327
  cat >conftest.$ac_ext <<_ACEOF
2328
/* confdefs.h.  */
2329
_ACEOF
2330
cat confdefs.h >>conftest.$ac_ext
2331
cat >>conftest.$ac_ext <<_ACEOF
2332
/* end confdefs.h.  */
2333
$ac_declaration
2334
#include <stdlib.h>
2335
int
2336
main ()
2337
{
2338
exit (42);
2339
  ;
2340
  return 0;
2341
}
2342
_ACEOF
2343
rm -f conftest.$ac_objext
2344
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2345
  (eval $ac_compile) 2>conftest.er1
2346
  ac_status=$?
2347
  grep -v '^ *+' conftest.er1 >conftest.err
2348
  rm -f conftest.er1
2349
  cat conftest.err >&5
2350
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2351
  (exit $ac_status); } &&
2352
	 { ac_try='test -z "$ac_c_werror_flag"
2353
			 || test ! -s conftest.err'
2354
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2355
  (eval $ac_try) 2>&5
2356
  ac_status=$?
2357
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358
  (exit $ac_status); }; } &&
2359
	 { ac_try='test -s conftest.$ac_objext'
2360
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2361
  (eval $ac_try) 2>&5
2362
  ac_status=$?
2363
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364
  (exit $ac_status); }; }; then
2365
  :
2366
else
2367
  echo "$as_me: failed program was:" >&5
2368
sed 's/^/| /' conftest.$ac_ext >&5
2369
2370
continue
2371
fi
3404
fi
2372
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2373
  cat >conftest.$ac_ext <<_ACEOF
2374
/* confdefs.h.  */
2375
_ACEOF
2376
cat confdefs.h >>conftest.$ac_ext
2377
cat >>conftest.$ac_ext <<_ACEOF
2378
/* end confdefs.h.  */
2379
$ac_declaration
2380
int
2381
main ()
2382
{
2383
exit (42);
2384
  ;
2385
  return 0;
2386
}
2387
_ACEOF
2388
rm -f conftest.$ac_objext
2389
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2390
  (eval $ac_compile) 2>conftest.er1
2391
  ac_status=$?
2392
  grep -v '^ *+' conftest.er1 >conftest.err
2393
  rm -f conftest.er1
2394
  cat conftest.err >&5
2395
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396
  (exit $ac_status); } &&
2397
	 { ac_try='test -z "$ac_c_werror_flag"
2398
			 || test ! -s conftest.err'
2399
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2400
  (eval $ac_try) 2>&5
2401
  ac_status=$?
2402
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403
  (exit $ac_status); }; } &&
2404
	 { ac_try='test -s conftest.$ac_objext'
2405
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2406
  (eval $ac_try) 2>&5
2407
  ac_status=$?
2408
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409
  (exit $ac_status); }; }; then
2410
  break
2411
else
2412
  echo "$as_me: failed program was:" >&5
2413
sed 's/^/| /' conftest.$ac_ext >&5
2414
3405
2415
fi
2416
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2417
done
2418
rm -f conftest*
2419
if test -n "$ac_declaration"; then
2420
  echo '#ifdef __cplusplus' >>confdefs.h
2421
  echo $ac_declaration      >>confdefs.h
2422
  echo '#endif'             >>confdefs.h
2423
fi
2424
2425
else
2426
  echo "$as_me: failed program was:" >&5
2427
sed 's/^/| /' conftest.$ac_ext >&5
2428
2429
fi
2430
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2431
ac_ext=c
3406
ac_ext=c
2432
ac_cpp='$CPP $CPPFLAGS'
3407
ac_cpp='$CPP $CPPFLAGS'
2433
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3408
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2434
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3409
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2435
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3410
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2436
3411
2437
ac_ext=cc
3412
ac_ext=cpp
2438
ac_cpp='$CXXCPP $CPPFLAGS'
3413
ac_cpp='$CXXCPP $CPPFLAGS'
2439
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3414
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2440
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3415
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2441
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3416
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2442
if test -n "$ac_tool_prefix"; then
3417
if test -z "$CXX"; then
2443
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3418
  if test -n "$CCC"; then
3419
    CXX=$CCC
3420
  else
3421
    if test -n "$ac_tool_prefix"; then
3422
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2444
  do
3423
  do
2445
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3424
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2446
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3425
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2447
echo "$as_me:$LINENO: checking for $ac_word" >&5
3426
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2448
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3427
$as_echo_n "checking for $ac_word... " >&6; }
2449
if test "${ac_cv_prog_CXX+set}" = set; then
3428
if ${ac_cv_prog_CXX+:} false; then :
2450
  echo $ECHO_N "(cached) $ECHO_C" >&6
3429
  $as_echo_n "(cached) " >&6
2451
else
3430
else
2452
  if test -n "$CXX"; then
3431
  if test -n "$CXX"; then
2453
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3432
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
Lines 2457-2495 for as_dir in $PATH Link Here
2457
do
3436
do
2458
  IFS=$as_save_IFS
3437
  IFS=$as_save_IFS
2459
  test -z "$as_dir" && as_dir=.
3438
  test -z "$as_dir" && as_dir=.
2460
  for ac_exec_ext in '' $ac_executable_extensions; do
3439
    for ac_exec_ext in '' $ac_executable_extensions; do
2461
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3440
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2462
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3441
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2463
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3442
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2464
    break 2
3443
    break 2
2465
  fi
3444
  fi
2466
done
3445
done
2467
done
3446
  done
3447
IFS=$as_save_IFS
2468
3448
2469
fi
3449
fi
2470
fi
3450
fi
2471
CXX=$ac_cv_prog_CXX
3451
CXX=$ac_cv_prog_CXX
2472
if test -n "$CXX"; then
3452
if test -n "$CXX"; then
2473
  echo "$as_me:$LINENO: result: $CXX" >&5
3453
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2474
echo "${ECHO_T}$CXX" >&6
3454
$as_echo "$CXX" >&6; }
2475
else
3455
else
2476
  echo "$as_me:$LINENO: result: no" >&5
3456
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2477
echo "${ECHO_T}no" >&6
3457
$as_echo "no" >&6; }
2478
fi
3458
fi
2479
3459
3460
2480
    test -n "$CXX" && break
3461
    test -n "$CXX" && break
2481
  done
3462
  done
2482
fi
3463
fi
2483
if test -z "$CXX"; then
3464
if test -z "$CXX"; then
2484
  ac_ct_CXX=$CXX
3465
  ac_ct_CXX=$CXX
2485
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3466
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2486
do
3467
do
2487
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3468
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2488
set dummy $ac_prog; ac_word=$2
3469
set dummy $ac_prog; ac_word=$2
2489
echo "$as_me:$LINENO: checking for $ac_word" >&5
3470
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2490
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3471
$as_echo_n "checking for $ac_word... " >&6; }
2491
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3472
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2492
  echo $ECHO_N "(cached) $ECHO_C" >&6
3473
  $as_echo_n "(cached) " >&6
2493
else
3474
else
2494
  if test -n "$ac_ct_CXX"; then
3475
  if test -n "$ac_ct_CXX"; then
2495
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3476
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
Lines 2499-2562 for as_dir in $PATH Link Here
2499
do
3480
do
2500
  IFS=$as_save_IFS
3481
  IFS=$as_save_IFS
2501
  test -z "$as_dir" && as_dir=.
3482
  test -z "$as_dir" && as_dir=.
2502
  for ac_exec_ext in '' $ac_executable_extensions; do
3483
    for ac_exec_ext in '' $ac_executable_extensions; do
2503
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3484
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2504
    ac_cv_prog_ac_ct_CXX="$ac_prog"
3485
    ac_cv_prog_ac_ct_CXX="$ac_prog"
2505
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3486
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2506
    break 2
3487
    break 2
2507
  fi
3488
  fi
2508
done
3489
done
2509
done
3490
  done
3491
IFS=$as_save_IFS
2510
3492
2511
fi
3493
fi
2512
fi
3494
fi
2513
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3495
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2514
if test -n "$ac_ct_CXX"; then
3496
if test -n "$ac_ct_CXX"; then
2515
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3497
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2516
echo "${ECHO_T}$ac_ct_CXX" >&6
3498
$as_echo "$ac_ct_CXX" >&6; }
2517
else
3499
else
2518
  echo "$as_me:$LINENO: result: no" >&5
3500
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2519
echo "${ECHO_T}no" >&6
3501
$as_echo "no" >&6; }
2520
fi
3502
fi
2521
3503
3504
2522
  test -n "$ac_ct_CXX" && break
3505
  test -n "$ac_ct_CXX" && break
2523
done
3506
done
2524
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2525
3507
2526
  CXX=$ac_ct_CXX
3508
  if test "x$ac_ct_CXX" = x; then
3509
    CXX="g++"
3510
  else
3511
    case $cross_compiling:$ac_tool_warned in
3512
yes:)
3513
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3514
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3515
ac_tool_warned=yes ;;
3516
esac
3517
    CXX=$ac_ct_CXX
3518
  fi
2527
fi
3519
fi
2528
3520
2529
3521
  fi
3522
fi
2530
# Provide some information about the compiler.
3523
# Provide some information about the compiler.
2531
echo "$as_me:$LINENO:" \
3524
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2532
     "checking for C++ compiler version" >&5
3525
set X $ac_compile
2533
ac_compiler=`set X $ac_compile; echo $2`
3526
ac_compiler=$2
2534
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3527
for ac_option in --version -v -V -qversion; do
2535
  (eval $ac_compiler --version </dev/null >&5) 2>&5
3528
  { { ac_try="$ac_compiler $ac_option >&5"
3529
case "(($ac_try" in
3530
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3531
  *) ac_try_echo=$ac_try;;
3532
esac
3533
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3534
$as_echo "$ac_try_echo"; } >&5
3535
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2536
  ac_status=$?
3536
  ac_status=$?
2537
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537
  if test -s conftest.err; then
2538
  (exit $ac_status); }
3538
    sed '10a\
2539
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3539
... rest of stderr output deleted ...
2540
  (eval $ac_compiler -v </dev/null >&5) 2>&5
3540
         10q' conftest.err >conftest.er1
2541
  ac_status=$?
3541
    cat conftest.er1 >&5
2542
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542
  fi
2543
  (exit $ac_status); }
3543
  rm -f conftest.er1 conftest.err
2544
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3544
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2545
  (eval $ac_compiler -V </dev/null >&5) 2>&5
3545
  test $ac_status = 0; }
2546
  ac_status=$?
3546
done
2547
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548
  (exit $ac_status); }
2549
3547
2550
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3548
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2551
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3549
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2552
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3550
if ${ac_cv_cxx_compiler_gnu+:} false; then :
2553
  echo $ECHO_N "(cached) $ECHO_C" >&6
3551
  $as_echo_n "(cached) " >&6
2554
else
3552
else
2555
  cat >conftest.$ac_ext <<_ACEOF
3553
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2556
/* confdefs.h.  */
2557
_ACEOF
2558
cat confdefs.h >>conftest.$ac_ext
2559
cat >>conftest.$ac_ext <<_ACEOF
2560
/* end confdefs.h.  */
3554
/* end confdefs.h.  */
2561
3555
2562
int
3556
int
Lines 2570-2624 main () Link Here
2570
  return 0;
3564
  return 0;
2571
}
3565
}
2572
_ACEOF
3566
_ACEOF
2573
rm -f conftest.$ac_objext
3567
if ac_fn_cxx_try_compile "$LINENO"; then :
2574
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2575
  (eval $ac_compile) 2>conftest.er1
2576
  ac_status=$?
2577
  grep -v '^ *+' conftest.er1 >conftest.err
2578
  rm -f conftest.er1
2579
  cat conftest.err >&5
2580
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581
  (exit $ac_status); } &&
2582
	 { ac_try='test -z "$ac_cxx_werror_flag"
2583
			 || test ! -s conftest.err'
2584
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2585
  (eval $ac_try) 2>&5
2586
  ac_status=$?
2587
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588
  (exit $ac_status); }; } &&
2589
	 { ac_try='test -s conftest.$ac_objext'
2590
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2591
  (eval $ac_try) 2>&5
2592
  ac_status=$?
2593
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594
  (exit $ac_status); }; }; then
2595
  ac_compiler_gnu=yes
3568
  ac_compiler_gnu=yes
2596
else
3569
else
2597
  echo "$as_me: failed program was:" >&5
3570
  ac_compiler_gnu=no
2598
sed 's/^/| /' conftest.$ac_ext >&5
2599
2600
ac_compiler_gnu=no
2601
fi
3571
fi
2602
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3572
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2603
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3573
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2604
3574
2605
fi
3575
fi
2606
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3576
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2607
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3577
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2608
GXX=`test $ac_compiler_gnu = yes && echo yes`
3578
if test $ac_compiler_gnu = yes; then
3579
  GXX=yes
3580
else
3581
  GXX=
3582
fi
2609
ac_test_CXXFLAGS=${CXXFLAGS+set}
3583
ac_test_CXXFLAGS=${CXXFLAGS+set}
2610
ac_save_CXXFLAGS=$CXXFLAGS
3584
ac_save_CXXFLAGS=$CXXFLAGS
2611
CXXFLAGS="-g"
3585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2612
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3586
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
2613
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3587
if ${ac_cv_prog_cxx_g+:} false; then :
2614
if test "${ac_cv_prog_cxx_g+set}" = set; then
3588
  $as_echo_n "(cached) " >&6
2615
  echo $ECHO_N "(cached) $ECHO_C" >&6
2616
else
3589
else
2617
  cat >conftest.$ac_ext <<_ACEOF
3590
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2618
/* confdefs.h.  */
3591
   ac_cxx_werror_flag=yes
2619
_ACEOF
3592
   ac_cv_prog_cxx_g=no
2620
cat confdefs.h >>conftest.$ac_ext
3593
   CXXFLAGS="-g"
2621
cat >>conftest.$ac_ext <<_ACEOF
3594
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2622
/* end confdefs.h.  */
3595
/* end confdefs.h.  */
2623
3596
2624
int
3597
int
Lines 2629-2788 main () Link Here
2629
  return 0;
3602
  return 0;
2630
}
3603
}
2631
_ACEOF
3604
_ACEOF
2632
rm -f conftest.$ac_objext
3605
if ac_fn_cxx_try_compile "$LINENO"; then :
2633
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2634
  (eval $ac_compile) 2>conftest.er1
2635
  ac_status=$?
2636
  grep -v '^ *+' conftest.er1 >conftest.err
2637
  rm -f conftest.er1
2638
  cat conftest.err >&5
2639
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640
  (exit $ac_status); } &&
2641
	 { ac_try='test -z "$ac_cxx_werror_flag"
2642
			 || test ! -s conftest.err'
2643
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2644
  (eval $ac_try) 2>&5
2645
  ac_status=$?
2646
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647
  (exit $ac_status); }; } &&
2648
	 { ac_try='test -s conftest.$ac_objext'
2649
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2650
  (eval $ac_try) 2>&5
2651
  ac_status=$?
2652
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653
  (exit $ac_status); }; }; then
2654
  ac_cv_prog_cxx_g=yes
3606
  ac_cv_prog_cxx_g=yes
2655
else
3607
else
2656
  echo "$as_me: failed program was:" >&5
3608
  CXXFLAGS=""
2657
sed 's/^/| /' conftest.$ac_ext >&5
3609
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2658
2659
ac_cv_prog_cxx_g=no
2660
fi
2661
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2662
fi
2663
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2664
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2665
if test "$ac_test_CXXFLAGS" = set; then
2666
  CXXFLAGS=$ac_save_CXXFLAGS
2667
elif test $ac_cv_prog_cxx_g = yes; then
2668
  if test "$GXX" = yes; then
2669
    CXXFLAGS="-g -O2"
2670
  else
2671
    CXXFLAGS="-g"
2672
  fi
2673
else
2674
  if test "$GXX" = yes; then
2675
    CXXFLAGS="-O2"
2676
  else
2677
    CXXFLAGS=
2678
  fi
2679
fi
2680
for ac_declaration in \
2681
   '' \
2682
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2683
   'extern "C" void std::exit (int); using std::exit;' \
2684
   'extern "C" void exit (int) throw ();' \
2685
   'extern "C" void exit (int);' \
2686
   'void exit (int);'
2687
do
2688
  cat >conftest.$ac_ext <<_ACEOF
2689
/* confdefs.h.  */
2690
_ACEOF
2691
cat confdefs.h >>conftest.$ac_ext
2692
cat >>conftest.$ac_ext <<_ACEOF
2693
/* end confdefs.h.  */
3610
/* end confdefs.h.  */
2694
$ac_declaration
3611
2695
#include <stdlib.h>
2696
int
3612
int
2697
main ()
3613
main ()
2698
{
3614
{
2699
exit (42);
3615
2700
  ;
3616
  ;
2701
  return 0;
3617
  return 0;
2702
}
3618
}
2703
_ACEOF
3619
_ACEOF
2704
rm -f conftest.$ac_objext
3620
if ac_fn_cxx_try_compile "$LINENO"; then :
2705
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2706
  (eval $ac_compile) 2>conftest.er1
2707
  ac_status=$?
2708
  grep -v '^ *+' conftest.er1 >conftest.err
2709
  rm -f conftest.er1
2710
  cat conftest.err >&5
2711
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712
  (exit $ac_status); } &&
2713
	 { ac_try='test -z "$ac_cxx_werror_flag"
2714
			 || test ! -s conftest.err'
2715
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2716
  (eval $ac_try) 2>&5
2717
  ac_status=$?
2718
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719
  (exit $ac_status); }; } &&
2720
	 { ac_try='test -s conftest.$ac_objext'
2721
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2722
  (eval $ac_try) 2>&5
2723
  ac_status=$?
2724
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725
  (exit $ac_status); }; }; then
2726
  :
2727
else
2728
  echo "$as_me: failed program was:" >&5
2729
sed 's/^/| /' conftest.$ac_ext >&5
2730
3621
2731
continue
3622
else
2732
fi
3623
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2733
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3624
	 CXXFLAGS="-g"
2734
  cat >conftest.$ac_ext <<_ACEOF
3625
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2735
/* confdefs.h.  */
2736
_ACEOF
2737
cat confdefs.h >>conftest.$ac_ext
2738
cat >>conftest.$ac_ext <<_ACEOF
2739
/* end confdefs.h.  */
3626
/* end confdefs.h.  */
2740
$ac_declaration
3627
2741
int
3628
int
2742
main ()
3629
main ()
2743
{
3630
{
2744
exit (42);
3631
2745
  ;
3632
  ;
2746
  return 0;
3633
  return 0;
2747
}
3634
}
2748
_ACEOF
3635
_ACEOF
2749
rm -f conftest.$ac_objext
3636
if ac_fn_cxx_try_compile "$LINENO"; then :
2750
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3637
  ac_cv_prog_cxx_g=yes
2751
  (eval $ac_compile) 2>conftest.er1
2752
  ac_status=$?
2753
  grep -v '^ *+' conftest.er1 >conftest.err
2754
  rm -f conftest.er1
2755
  cat conftest.err >&5
2756
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757
  (exit $ac_status); } &&
2758
	 { ac_try='test -z "$ac_cxx_werror_flag"
2759
			 || test ! -s conftest.err'
2760
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2761
  (eval $ac_try) 2>&5
2762
  ac_status=$?
2763
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764
  (exit $ac_status); }; } &&
2765
	 { ac_try='test -s conftest.$ac_objext'
2766
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2767
  (eval $ac_try) 2>&5
2768
  ac_status=$?
2769
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770
  (exit $ac_status); }; }; then
2771
  break
2772
else
2773
  echo "$as_me: failed program was:" >&5
2774
sed 's/^/| /' conftest.$ac_ext >&5
2775
2776
fi
3638
fi
2777
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3639
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2778
done
2779
rm -f conftest*
2780
if test -n "$ac_declaration"; then
2781
  echo '#ifdef __cplusplus' >>confdefs.h
2782
  echo $ac_declaration      >>confdefs.h
2783
  echo '#endif'             >>confdefs.h
2784
fi
3640
fi
2785
3641
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3642
fi
3643
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3644
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3645
fi
3646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3647
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3648
if test "$ac_test_CXXFLAGS" = set; then
3649
  CXXFLAGS=$ac_save_CXXFLAGS
3650
elif test $ac_cv_prog_cxx_g = yes; then
3651
  if test "$GXX" = yes; then
3652
    CXXFLAGS="-g -O2"
3653
  else
3654
    CXXFLAGS="-g"
3655
  fi
3656
else
3657
  if test "$GXX" = yes; then
3658
    CXXFLAGS="-O2"
3659
  else
3660
    CXXFLAGS=
3661
  fi
3662
fi
2786
ac_ext=c
3663
ac_ext=c
2787
ac_cpp='$CPP $CPPFLAGS'
3664
ac_cpp='$CPP $CPPFLAGS'
2788
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3665
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
Lines 2792-2801 ac_compiler_gnu=$ac_cv_c_compiler_gnu Link Here
2792
if test -n "$ac_tool_prefix"; then
3669
if test -n "$ac_tool_prefix"; then
2793
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3670
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2794
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3671
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2795
echo "$as_me:$LINENO: checking for $ac_word" >&5
3672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2796
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3673
$as_echo_n "checking for $ac_word... " >&6; }
2797
if test "${ac_cv_prog_RANLIB+set}" = set; then
3674
if ${ac_cv_prog_RANLIB+:} false; then :
2798
  echo $ECHO_N "(cached) $ECHO_C" >&6
3675
  $as_echo_n "(cached) " >&6
2799
else
3676
else
2800
  if test -n "$RANLIB"; then
3677
  if test -n "$RANLIB"; then
2801
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3678
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
Lines 2805-2839 for as_dir in $PATH Link Here
2805
do
3682
do
2806
  IFS=$as_save_IFS
3683
  IFS=$as_save_IFS
2807
  test -z "$as_dir" && as_dir=.
3684
  test -z "$as_dir" && as_dir=.
2808
  for ac_exec_ext in '' $ac_executable_extensions; do
3685
    for ac_exec_ext in '' $ac_executable_extensions; do
2809
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3686
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2810
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3687
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2811
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3688
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2812
    break 2
3689
    break 2
2813
  fi
3690
  fi
2814
done
3691
done
2815
done
3692
  done
3693
IFS=$as_save_IFS
2816
3694
2817
fi
3695
fi
2818
fi
3696
fi
2819
RANLIB=$ac_cv_prog_RANLIB
3697
RANLIB=$ac_cv_prog_RANLIB
2820
if test -n "$RANLIB"; then
3698
if test -n "$RANLIB"; then
2821
  echo "$as_me:$LINENO: result: $RANLIB" >&5
3699
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2822
echo "${ECHO_T}$RANLIB" >&6
3700
$as_echo "$RANLIB" >&6; }
2823
else
3701
else
2824
  echo "$as_me:$LINENO: result: no" >&5
3702
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2825
echo "${ECHO_T}no" >&6
3703
$as_echo "no" >&6; }
2826
fi
3704
fi
2827
3705
3706
2828
fi
3707
fi
2829
if test -z "$ac_cv_prog_RANLIB"; then
3708
if test -z "$ac_cv_prog_RANLIB"; then
2830
  ac_ct_RANLIB=$RANLIB
3709
  ac_ct_RANLIB=$RANLIB
2831
  # Extract the first word of "ranlib", so it can be a program name with args.
3710
  # Extract the first word of "ranlib", so it can be a program name with args.
2832
set dummy ranlib; ac_word=$2
3711
set dummy ranlib; ac_word=$2
2833
echo "$as_me:$LINENO: checking for $ac_word" >&5
3712
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2834
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3713
$as_echo_n "checking for $ac_word... " >&6; }
2835
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3714
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
2836
  echo $ECHO_N "(cached) $ECHO_C" >&6
3715
  $as_echo_n "(cached) " >&6
2837
else
3716
else
2838
  if test -n "$ac_ct_RANLIB"; then
3717
  if test -n "$ac_ct_RANLIB"; then
2839
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3718
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
Lines 2843-2870 for as_dir in $PATH Link Here
2843
do
3722
do
2844
  IFS=$as_save_IFS
3723
  IFS=$as_save_IFS
2845
  test -z "$as_dir" && as_dir=.
3724
  test -z "$as_dir" && as_dir=.
2846
  for ac_exec_ext in '' $ac_executable_extensions; do
3725
    for ac_exec_ext in '' $ac_executable_extensions; do
2847
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3726
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2848
    ac_cv_prog_ac_ct_RANLIB="ranlib"
3727
    ac_cv_prog_ac_ct_RANLIB="ranlib"
2849
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3728
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850
    break 2
3729
    break 2
2851
  fi
3730
  fi
2852
done
3731
done
2853
done
3732
  done
3733
IFS=$as_save_IFS
2854
3734
2855
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2856
fi
3735
fi
2857
fi
3736
fi
2858
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3737
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2859
if test -n "$ac_ct_RANLIB"; then
3738
if test -n "$ac_ct_RANLIB"; then
2860
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3739
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2861
echo "${ECHO_T}$ac_ct_RANLIB" >&6
3740
$as_echo "$ac_ct_RANLIB" >&6; }
2862
else
3741
else
2863
  echo "$as_me:$LINENO: result: no" >&5
3742
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2864
echo "${ECHO_T}no" >&6
3743
$as_echo "no" >&6; }
2865
fi
3744
fi
2866
3745
2867
  RANLIB=$ac_ct_RANLIB
3746
  if test "x$ac_ct_RANLIB" = x; then
3747
    RANLIB=":"
3748
  else
3749
    case $cross_compiling:$ac_tool_warned in
3750
yes:)
3751
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3752
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3753
ac_tool_warned=yes ;;
3754
esac
3755
    RANLIB=$ac_ct_RANLIB
3756
  fi
2868
else
3757
else
2869
  RANLIB="$ac_cv_prog_RANLIB"
3758
  RANLIB="$ac_cv_prog_RANLIB"
2870
fi
3759
fi
Lines 2874-2888 ac_cpp='$CPP $CPPFLAGS' Link Here
2874
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3763
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2875
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3764
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2876
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3765
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2877
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3766
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2878
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3767
$as_echo_n "checking how to run the C preprocessor... " >&6; }
2879
# On Suns, sometimes $CPP names a directory.
3768
# On Suns, sometimes $CPP names a directory.
2880
if test -n "$CPP" && test -d "$CPP"; then
3769
if test -n "$CPP" && test -d "$CPP"; then
2881
  CPP=
3770
  CPP=
2882
fi
3771
fi
2883
if test -z "$CPP"; then
3772
if test -z "$CPP"; then
2884
  if test "${ac_cv_prog_CPP+set}" = set; then
3773
  if ${ac_cv_prog_CPP+:} false; then :
2885
  echo $ECHO_N "(cached) $ECHO_C" >&6
3774
  $as_echo_n "(cached) " >&6
2886
else
3775
else
2887
      # Double quotes because CPP needs to be expanded
3776
      # Double quotes because CPP needs to be expanded
2888
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3777
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
Lines 2896-2906 do Link Here
2896
  # <limits.h> exists even on freestanding compilers.
3785
  # <limits.h> exists even on freestanding compilers.
2897
  # On the NeXT, cc -E runs the code through the compiler's parser,
3786
  # On the NeXT, cc -E runs the code through the compiler's parser,
2898
  # not just through cpp. "Syntax error" is here to catch this case.
3787
  # not just through cpp. "Syntax error" is here to catch this case.
2899
  cat >conftest.$ac_ext <<_ACEOF
3788
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2900
/* confdefs.h.  */
2901
_ACEOF
2902
cat confdefs.h >>conftest.$ac_ext
2903
cat >>conftest.$ac_ext <<_ACEOF
2904
/* end confdefs.h.  */
3789
/* end confdefs.h.  */
2905
#ifdef __STDC__
3790
#ifdef __STDC__
2906
# include <limits.h>
3791
# include <limits.h>
Lines 2909-2986 cat >>conftest.$ac_ext <<_ACEOF Link Here
2909
#endif
3794
#endif
2910
		     Syntax error
3795
		     Syntax error
2911
_ACEOF
3796
_ACEOF
2912
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3797
if ac_fn_c_try_cpp "$LINENO"; then :
2913
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2914
  ac_status=$?
2915
  grep -v '^ *+' conftest.er1 >conftest.err
2916
  rm -f conftest.er1
2917
  cat conftest.err >&5
2918
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919
  (exit $ac_status); } >/dev/null; then
2920
  if test -s conftest.err; then
2921
    ac_cpp_err=$ac_c_preproc_warn_flag
2922
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2923
  else
2924
    ac_cpp_err=
2925
  fi
2926
else
2927
  ac_cpp_err=yes
2928
fi
2929
if test -z "$ac_cpp_err"; then
2930
  :
2931
else
2932
  echo "$as_me: failed program was:" >&5
2933
sed 's/^/| /' conftest.$ac_ext >&5
2934
3798
3799
else
2935
  # Broken: fails on valid input.
3800
  # Broken: fails on valid input.
2936
continue
3801
continue
2937
fi
3802
fi
2938
rm -f conftest.err conftest.$ac_ext
3803
rm -f conftest.err conftest.i conftest.$ac_ext
2939
3804
2940
  # OK, works on sane cases.  Now check whether non-existent headers
3805
  # OK, works on sane cases.  Now check whether nonexistent headers
2941
  # can be detected and how.
3806
  # can be detected and how.
2942
  cat >conftest.$ac_ext <<_ACEOF
3807
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2943
/* confdefs.h.  */
2944
_ACEOF
2945
cat confdefs.h >>conftest.$ac_ext
2946
cat >>conftest.$ac_ext <<_ACEOF
2947
/* end confdefs.h.  */
3808
/* end confdefs.h.  */
2948
#include <ac_nonexistent.h>
3809
#include <ac_nonexistent.h>
2949
_ACEOF
3810
_ACEOF
2950
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3811
if ac_fn_c_try_cpp "$LINENO"; then :
2951
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2952
  ac_status=$?
2953
  grep -v '^ *+' conftest.er1 >conftest.err
2954
  rm -f conftest.er1
2955
  cat conftest.err >&5
2956
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957
  (exit $ac_status); } >/dev/null; then
2958
  if test -s conftest.err; then
2959
    ac_cpp_err=$ac_c_preproc_warn_flag
2960
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2961
  else
2962
    ac_cpp_err=
2963
  fi
2964
else
2965
  ac_cpp_err=yes
2966
fi
2967
if test -z "$ac_cpp_err"; then
2968
  # Broken: success on invalid input.
3812
  # Broken: success on invalid input.
2969
continue
3813
continue
2970
else
3814
else
2971
  echo "$as_me: failed program was:" >&5
2972
sed 's/^/| /' conftest.$ac_ext >&5
2973
2974
  # Passes both tests.
3815
  # Passes both tests.
2975
ac_preproc_ok=:
3816
ac_preproc_ok=:
2976
break
3817
break
2977
fi
3818
fi
2978
rm -f conftest.err conftest.$ac_ext
3819
rm -f conftest.err conftest.i conftest.$ac_ext
2979
3820
2980
done
3821
done
2981
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3822
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2982
rm -f conftest.err conftest.$ac_ext
3823
rm -f conftest.i conftest.err conftest.$ac_ext
2983
if $ac_preproc_ok; then
3824
if $ac_preproc_ok; then :
2984
  break
3825
  break
2985
fi
3826
fi
2986
3827
Lines 2992-2999 fi Link Here
2992
else
3833
else
2993
  ac_cv_prog_CPP=$CPP
3834
  ac_cv_prog_CPP=$CPP
2994
fi
3835
fi
2995
echo "$as_me:$LINENO: result: $CPP" >&5
3836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
2996
echo "${ECHO_T}$CPP" >&6
3837
$as_echo "$CPP" >&6; }
2997
ac_preproc_ok=false
3838
ac_preproc_ok=false
2998
for ac_c_preproc_warn_flag in '' yes
3839
for ac_c_preproc_warn_flag in '' yes
2999
do
3840
do
Lines 3003-3013 do Link Here
3003
  # <limits.h> exists even on freestanding compilers.
3844
  # <limits.h> exists even on freestanding compilers.
3004
  # On the NeXT, cc -E runs the code through the compiler's parser,
3845
  # On the NeXT, cc -E runs the code through the compiler's parser,
3005
  # not just through cpp. "Syntax error" is here to catch this case.
3846
  # not just through cpp. "Syntax error" is here to catch this case.
3006
  cat >conftest.$ac_ext <<_ACEOF
3847
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3007
/* confdefs.h.  */
3008
_ACEOF
3009
cat confdefs.h >>conftest.$ac_ext
3010
cat >>conftest.$ac_ext <<_ACEOF
3011
/* end confdefs.h.  */
3848
/* end confdefs.h.  */
3012
#ifdef __STDC__
3849
#ifdef __STDC__
3013
# include <limits.h>
3850
# include <limits.h>
Lines 3016-3100 cat >>conftest.$ac_ext <<_ACEOF Link Here
3016
#endif
3853
#endif
3017
		     Syntax error
3854
		     Syntax error
3018
_ACEOF
3855
_ACEOF
3019
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3856
if ac_fn_c_try_cpp "$LINENO"; then :
3020
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3021
  ac_status=$?
3022
  grep -v '^ *+' conftest.er1 >conftest.err
3023
  rm -f conftest.er1
3024
  cat conftest.err >&5
3025
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026
  (exit $ac_status); } >/dev/null; then
3027
  if test -s conftest.err; then
3028
    ac_cpp_err=$ac_c_preproc_warn_flag
3029
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3030
  else
3031
    ac_cpp_err=
3032
  fi
3033
else
3034
  ac_cpp_err=yes
3035
fi
3036
if test -z "$ac_cpp_err"; then
3037
  :
3038
else
3039
  echo "$as_me: failed program was:" >&5
3040
sed 's/^/| /' conftest.$ac_ext >&5
3041
3857
3858
else
3042
  # Broken: fails on valid input.
3859
  # Broken: fails on valid input.
3043
continue
3860
continue
3044
fi
3861
fi
3045
rm -f conftest.err conftest.$ac_ext
3862
rm -f conftest.err conftest.i conftest.$ac_ext
3046
3863
3047
  # OK, works on sane cases.  Now check whether non-existent headers
3864
  # OK, works on sane cases.  Now check whether nonexistent headers
3048
  # can be detected and how.
3865
  # can be detected and how.
3049
  cat >conftest.$ac_ext <<_ACEOF
3866
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3050
/* confdefs.h.  */
3051
_ACEOF
3052
cat confdefs.h >>conftest.$ac_ext
3053
cat >>conftest.$ac_ext <<_ACEOF
3054
/* end confdefs.h.  */
3867
/* end confdefs.h.  */
3055
#include <ac_nonexistent.h>
3868
#include <ac_nonexistent.h>
3056
_ACEOF
3869
_ACEOF
3057
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3870
if ac_fn_c_try_cpp "$LINENO"; then :
3058
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3059
  ac_status=$?
3060
  grep -v '^ *+' conftest.er1 >conftest.err
3061
  rm -f conftest.er1
3062
  cat conftest.err >&5
3063
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064
  (exit $ac_status); } >/dev/null; then
3065
  if test -s conftest.err; then
3066
    ac_cpp_err=$ac_c_preproc_warn_flag
3067
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3068
  else
3069
    ac_cpp_err=
3070
  fi
3071
else
3072
  ac_cpp_err=yes
3073
fi
3074
if test -z "$ac_cpp_err"; then
3075
  # Broken: success on invalid input.
3871
  # Broken: success on invalid input.
3076
continue
3872
continue
3077
else
3873
else
3078
  echo "$as_me: failed program was:" >&5
3079
sed 's/^/| /' conftest.$ac_ext >&5
3080
3081
  # Passes both tests.
3874
  # Passes both tests.
3082
ac_preproc_ok=:
3875
ac_preproc_ok=:
3083
break
3876
break
3084
fi
3877
fi
3085
rm -f conftest.err conftest.$ac_ext
3878
rm -f conftest.err conftest.i conftest.$ac_ext
3086
3879
3087
done
3880
done
3088
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3881
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3089
rm -f conftest.err conftest.$ac_ext
3882
rm -f conftest.i conftest.err conftest.$ac_ext
3090
if $ac_preproc_ok; then
3883
if $ac_preproc_ok; then :
3091
  :
3884
3092
else
3885
else
3093
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3886
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3094
See \`config.log' for more details." >&5
3887
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3095
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3888
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3096
See \`config.log' for more details." >&2;}
3889
See \`config.log' for more details" "$LINENO" 5; }
3097
   { (exit 1); exit 1; }; }
3098
fi
3890
fi
3099
3891
3100
ac_ext=c
3892
ac_ext=c
Lines 3104-3144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $ Link Here
3104
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3896
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3105
3897
3106
3898
3107
{ echo "$as_me:$LINENO: Building for $host_os" >&5
3899
{ $as_echo "$as_me:${as_lineno-$LINENO}: Building for $host_os" >&5
3108
echo "$as_me: Building for $host_os" >&6;}
3900
$as_echo "$as_me: Building for $host_os" >&6;}
3109
WXERL_CAN_BUILD_DRIVER=true
3901
WXERL_CAN_BUILD_DRIVER=true
3110
3902
3111
3903
3112
MIXED_CYGWIN=no
3904
MIXED_CYGWIN=no
3113
MIXED_MSYS=no
3905
MIXED_MSYS=no
3114
3906
3115
echo "$as_me:$LINENO: checking for mixed cygwin or msys and native VC++ environment" >&5
3907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mixed cygwin or msys and native VC++ environment" >&5
3116
echo $ECHO_N "checking for mixed cygwin or msys and native VC++ environment... $ECHO_C" >&6
3908
$as_echo_n "checking for mixed cygwin or msys and native VC++ environment... " >&6; }
3117
if test "X$host" = "Xwin32" -a "x$GCC" != "xyes"; then
3909
if test "X$host" = "Xwin32" -a "x$GCC" != "xyes"; then
3118
	if test -x /usr/bin/msys-?.0.dll; then
3910
	if test -x /usr/bin/msys-?.0.dll; then
3119
	        CFLAGS="$CFLAGS -O2"
3911
	        CFLAGS="$CFLAGS -O2"
3120
		MIXED_MSYS=yes
3912
		MIXED_MSYS=yes
3121
		echo "$as_me:$LINENO: result: MSYS and VC" >&5
3913
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: MSYS and VC" >&5
3122
echo "${ECHO_T}MSYS and VC" >&6
3914
$as_echo "MSYS and VC" >&6; }
3123
		MIXED_MSYS_VC=yes
3915
		MIXED_MSYS_VC=yes
3124
		CPPFLAGS="$CPPFLAGS -DERTS_MIXED_MSYS_VC"
3916
		CPPFLAGS="$CPPFLAGS -DERTS_MIXED_MSYS_VC"
3125
	elif test -x /usr/bin/cygpath; then
3917
	elif test -x /usr/bin/cygpath; then
3126
		CFLAGS="$CFLAGS -O2"
3918
		CFLAGS="$CFLAGS -O2"
3127
		MIXED_CYGWIN=yes
3919
		MIXED_CYGWIN=yes
3128
		echo "$as_me:$LINENO: result: Cygwin and VC" >&5
3920
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Cygwin and VC" >&5
3129
echo "${ECHO_T}Cygwin and VC" >&6
3921
$as_echo "Cygwin and VC" >&6; }
3130
		MIXED_CYGWIN_VC=yes
3922
		MIXED_CYGWIN_VC=yes
3131
		CPPFLAGS="$CPPFLAGS -DERTS_MIXED_CYGWIN_VC"
3923
		CPPFLAGS="$CPPFLAGS -DERTS_MIXED_CYGWIN_VC"
3132
	else
3924
	else
3133
		echo "$as_me:$LINENO: result: undeterminable" >&5
3925
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: undeterminable" >&5
3134
echo "${ECHO_T}undeterminable" >&6
3926
$as_echo "undeterminable" >&6; }
3135
		{ { echo "$as_me:$LINENO: error: Seems to be mixed windows but not with cygwin" >&5
3927
		as_fn_error cannot handle this! "Seems to be mixed windows but not with cygwin" "$LINENO" 5
3136
echo "$as_me: error: Seems to be mixed windows but not with cygwin" >&2;}
3137
   { (exit cannot handle this!); exit cannot handle this!; }; }
3138
	fi
3928
	fi
3139
else
3929
else
3140
	echo "$as_me:$LINENO: result: no" >&5
3930
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3141
echo "${ECHO_T}no" >&6
3931
$as_echo "no" >&6; }
3142
	MIXED_CYGWIN_VC=no
3932
	MIXED_CYGWIN_VC=no
3143
	MIXED_MSYS_VC=no
3933
	MIXED_MSYS_VC=no
3144
fi
3934
fi
Lines 3153-3178 fi Link Here
3153
3943
3154
3944
3155
if test "x$MIXED_MSYS" != "xyes"; then
3945
if test "x$MIXED_MSYS" != "xyes"; then
3156
   echo "$as_me:$LINENO: checking for mixed cygwin and native MinGW environment" >&5
3946
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mixed cygwin and native MinGW environment" >&5
3157
echo $ECHO_N "checking for mixed cygwin and native MinGW environment... $ECHO_C" >&6
3947
$as_echo_n "checking for mixed cygwin and native MinGW environment... " >&6; }
3158
   if test "X$host" = "Xwin32" -a "x$GCC" = x"yes"; then
3948
   if test "X$host" = "Xwin32" -a "x$GCC" = x"yes"; then
3159
	if test -x /usr/bin/cygpath; then
3949
	if test -x /usr/bin/cygpath; then
3160
		CFLAGS="$CFLAGS -O2"
3950
		CFLAGS="$CFLAGS -O2"
3161
		MIXED_CYGWIN=yes
3951
		MIXED_CYGWIN=yes
3162
		echo "$as_me:$LINENO: result: yes" >&5
3952
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3163
echo "${ECHO_T}yes" >&6
3953
$as_echo "yes" >&6; }
3164
		MIXED_CYGWIN_MINGW=yes
3954
		MIXED_CYGWIN_MINGW=yes
3165
		CPPFLAGS="$CPPFLAGS -DERTS_MIXED_CYGWIN_MINGW"
3955
		CPPFLAGS="$CPPFLAGS -DERTS_MIXED_CYGWIN_MINGW"
3166
	else
3956
	else
3167
		echo "$as_me:$LINENO: result: undeterminable" >&5
3957
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: undeterminable" >&5
3168
echo "${ECHO_T}undeterminable" >&6
3958
$as_echo "undeterminable" >&6; }
3169
		{ { echo "$as_me:$LINENO: error: Seems to be mixed windows but not with cygwin" >&5
3959
		as_fn_error cannot handle this! "Seems to be mixed windows but not with cygwin" "$LINENO" 5
3170
echo "$as_me: error: Seems to be mixed windows but not with cygwin" >&2;}
3171
   { (exit cannot handle this!); exit cannot handle this!; }; }
3172
	fi
3960
	fi
3173
    else
3961
    else
3174
	echo "$as_me:$LINENO: result: no" >&5
3962
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3175
echo "${ECHO_T}no" >&6
3963
$as_echo "no" >&6; }
3176
	MIXED_CYGWIN_MINGW=no
3964
	MIXED_CYGWIN_MINGW=no
3177
    fi
3965
    fi
3178
else
3966
else
Lines 3180-3205 else Link Here
3180
fi
3968
fi
3181
3969
3182
3970
3183
echo "$as_me:$LINENO: checking if we mix cygwin with any native compiler" >&5
3971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we mix cygwin with any native compiler" >&5
3184
echo $ECHO_N "checking if we mix cygwin with any native compiler... $ECHO_C" >&6
3972
$as_echo_n "checking if we mix cygwin with any native compiler... " >&6; }
3185
if test "X$MIXED_CYGWIN" = "Xyes"; then
3973
if test "X$MIXED_CYGWIN" = "Xyes"; then
3186
	echo "$as_me:$LINENO: result: yes" >&5
3974
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3187
echo "${ECHO_T}yes" >&6
3975
$as_echo "yes" >&6; }
3188
else
3976
else
3189
	echo "$as_me:$LINENO: result: no" >&5
3977
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190
echo "${ECHO_T}no" >&6
3978
$as_echo "no" >&6; }
3191
fi
3979
fi
3192
3980
3193
3981
3194
3982
3195
echo "$as_me:$LINENO: checking if we mix msys with another native compiler" >&5
3983
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we mix msys with another native compiler" >&5
3196
echo $ECHO_N "checking if we mix msys with another native compiler... $ECHO_C" >&6
3984
$as_echo_n "checking if we mix msys with another native compiler... " >&6; }
3197
if test "X$MIXED_MSYS" = "Xyes" ; then
3985
if test "X$MIXED_MSYS" = "Xyes" ; then
3198
	echo "$as_me:$LINENO: result: yes" >&5
3986
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3199
echo "${ECHO_T}yes" >&6
3987
$as_echo "yes" >&6; }
3200
else
3988
else
3201
	echo "$as_me:$LINENO: result: no" >&5
3989
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202
echo "${ECHO_T}no" >&6
3990
$as_echo "no" >&6; }
3203
fi
3991
fi
3204
3992
3205
3993
Lines 3213-3243 fi Link Here
3213
4001
3214
4002
3215
4003
3216
echo "$as_me:$LINENO: checking for egrep" >&5
4004
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3217
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4005
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3218
if test "${ac_cv_prog_egrep+set}" = set; then
4006
if ${ac_cv_path_GREP+:} false; then :
3219
  echo $ECHO_N "(cached) $ECHO_C" >&6
4007
  $as_echo_n "(cached) " >&6
3220
else
4008
else
3221
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4009
  if test -z "$GREP"; then
3222
    then ac_cv_prog_egrep='grep -E'
4010
  ac_path_GREP_found=false
3223
    else ac_cv_prog_egrep='egrep'
4011
  # Loop through the user's path and test for each of PROGNAME-LIST
4012
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4013
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4014
do
4015
  IFS=$as_save_IFS
4016
  test -z "$as_dir" && as_dir=.
4017
    for ac_prog in grep ggrep; do
4018
    for ac_exec_ext in '' $ac_executable_extensions; do
4019
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4020
      as_fn_executable_p "$ac_path_GREP" || continue
4021
# Check for GNU ac_path_GREP and select it if it is found.
4022
  # Check for GNU $ac_path_GREP
4023
case `"$ac_path_GREP" --version 2>&1` in
4024
*GNU*)
4025
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4026
*)
4027
  ac_count=0
4028
  $as_echo_n 0123456789 >"conftest.in"
4029
  while :
4030
  do
4031
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4032
    mv "conftest.tmp" "conftest.in"
4033
    cp "conftest.in" "conftest.nl"
4034
    $as_echo 'GREP' >> "conftest.nl"
4035
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4036
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4037
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4038
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4039
      # Best one so far, save it but keep looking for a better one
4040
      ac_cv_path_GREP="$ac_path_GREP"
4041
      ac_path_GREP_max=$ac_count
3224
    fi
4042
    fi
4043
    # 10*(2^10) chars as input seems more than enough
4044
    test $ac_count -gt 10 && break
4045
  done
4046
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4047
esac
4048
4049
      $ac_path_GREP_found && break 3
4050
    done
4051
  done
4052
  done
4053
IFS=$as_save_IFS
4054
  if test -z "$ac_cv_path_GREP"; then
4055
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4056
  fi
4057
else
4058
  ac_cv_path_GREP=$GREP
3225
fi
4059
fi
3226
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3227
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3228
 EGREP=$ac_cv_prog_egrep
3229
4060
4061
fi
4062
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4063
$as_echo "$ac_cv_path_GREP" >&6; }
4064
 GREP="$ac_cv_path_GREP"
3230
4065
3231
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4066
3232
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4067
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3233
if test "${ac_cv_header_stdc+set}" = set; then
4068
$as_echo_n "checking for egrep... " >&6; }
3234
  echo $ECHO_N "(cached) $ECHO_C" >&6
4069
if ${ac_cv_path_EGREP+:} false; then :
4070
  $as_echo_n "(cached) " >&6
3235
else
4071
else
3236
  cat >conftest.$ac_ext <<_ACEOF
4072
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3237
/* confdefs.h.  */
4073
   then ac_cv_path_EGREP="$GREP -E"
3238
_ACEOF
4074
   else
3239
cat confdefs.h >>conftest.$ac_ext
4075
     if test -z "$EGREP"; then
3240
cat >>conftest.$ac_ext <<_ACEOF
4076
  ac_path_EGREP_found=false
4077
  # Loop through the user's path and test for each of PROGNAME-LIST
4078
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4079
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4080
do
4081
  IFS=$as_save_IFS
4082
  test -z "$as_dir" && as_dir=.
4083
    for ac_prog in egrep; do
4084
    for ac_exec_ext in '' $ac_executable_extensions; do
4085
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4086
      as_fn_executable_p "$ac_path_EGREP" || continue
4087
# Check for GNU ac_path_EGREP and select it if it is found.
4088
  # Check for GNU $ac_path_EGREP
4089
case `"$ac_path_EGREP" --version 2>&1` in
4090
*GNU*)
4091
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4092
*)
4093
  ac_count=0
4094
  $as_echo_n 0123456789 >"conftest.in"
4095
  while :
4096
  do
4097
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4098
    mv "conftest.tmp" "conftest.in"
4099
    cp "conftest.in" "conftest.nl"
4100
    $as_echo 'EGREP' >> "conftest.nl"
4101
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4102
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4103
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4104
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4105
      # Best one so far, save it but keep looking for a better one
4106
      ac_cv_path_EGREP="$ac_path_EGREP"
4107
      ac_path_EGREP_max=$ac_count
4108
    fi
4109
    # 10*(2^10) chars as input seems more than enough
4110
    test $ac_count -gt 10 && break
4111
  done
4112
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4113
esac
4114
4115
      $ac_path_EGREP_found && break 3
4116
    done
4117
  done
4118
  done
4119
IFS=$as_save_IFS
4120
  if test -z "$ac_cv_path_EGREP"; then
4121
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4122
  fi
4123
else
4124
  ac_cv_path_EGREP=$EGREP
4125
fi
4126
4127
   fi
4128
fi
4129
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4130
$as_echo "$ac_cv_path_EGREP" >&6; }
4131
 EGREP="$ac_cv_path_EGREP"
4132
4133
4134
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4135
$as_echo_n "checking for ANSI C header files... " >&6; }
4136
if ${ac_cv_header_stdc+:} false; then :
4137
  $as_echo_n "(cached) " >&6
4138
else
4139
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3241
/* end confdefs.h.  */
4140
/* end confdefs.h.  */
3242
#include <stdlib.h>
4141
#include <stdlib.h>
3243
#include <stdarg.h>
4142
#include <stdarg.h>
Lines 3252-3302 main () Link Here
3252
  return 0;
4151
  return 0;
3253
}
4152
}
3254
_ACEOF
4153
_ACEOF
3255
rm -f conftest.$ac_objext
4154
if ac_fn_c_try_compile "$LINENO"; then :
3256
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3257
  (eval $ac_compile) 2>conftest.er1
3258
  ac_status=$?
3259
  grep -v '^ *+' conftest.er1 >conftest.err
3260
  rm -f conftest.er1
3261
  cat conftest.err >&5
3262
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263
  (exit $ac_status); } &&
3264
	 { ac_try='test -z "$ac_c_werror_flag"
3265
			 || test ! -s conftest.err'
3266
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3267
  (eval $ac_try) 2>&5
3268
  ac_status=$?
3269
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270
  (exit $ac_status); }; } &&
3271
	 { ac_try='test -s conftest.$ac_objext'
3272
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3273
  (eval $ac_try) 2>&5
3274
  ac_status=$?
3275
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3276
  (exit $ac_status); }; }; then
3277
  ac_cv_header_stdc=yes
4155
  ac_cv_header_stdc=yes
3278
else
4156
else
3279
  echo "$as_me: failed program was:" >&5
4157
  ac_cv_header_stdc=no
3280
sed 's/^/| /' conftest.$ac_ext >&5
3281
3282
ac_cv_header_stdc=no
3283
fi
4158
fi
3284
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4159
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3285
4160
3286
if test $ac_cv_header_stdc = yes; then
4161
if test $ac_cv_header_stdc = yes; then
3287
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4162
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3288
  cat >conftest.$ac_ext <<_ACEOF
4163
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3289
/* confdefs.h.  */
3290
_ACEOF
3291
cat confdefs.h >>conftest.$ac_ext
3292
cat >>conftest.$ac_ext <<_ACEOF
3293
/* end confdefs.h.  */
4164
/* end confdefs.h.  */
3294
#include <string.h>
4165
#include <string.h>
3295
4166
3296
_ACEOF
4167
_ACEOF
3297
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4168
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3298
  $EGREP "memchr" >/dev/null 2>&1; then
4169
  $EGREP "memchr" >/dev/null 2>&1; then :
3299
  :
4170
3300
else
4171
else
3301
  ac_cv_header_stdc=no
4172
  ac_cv_header_stdc=no
3302
fi
4173
fi
Lines 3306-3323 fi Link Here
3306
4177
3307
if test $ac_cv_header_stdc = yes; then
4178
if test $ac_cv_header_stdc = yes; then
3308
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4179
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3309
  cat >conftest.$ac_ext <<_ACEOF
4180
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3310
/* confdefs.h.  */
3311
_ACEOF
3312
cat confdefs.h >>conftest.$ac_ext
3313
cat >>conftest.$ac_ext <<_ACEOF
3314
/* end confdefs.h.  */
4181
/* end confdefs.h.  */
3315
#include <stdlib.h>
4182
#include <stdlib.h>
3316
4183
3317
_ACEOF
4184
_ACEOF
3318
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4185
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3319
  $EGREP "free" >/dev/null 2>&1; then
4186
  $EGREP "free" >/dev/null 2>&1; then :
3320
  :
4187
3321
else
4188
else
3322
  ac_cv_header_stdc=no
4189
  ac_cv_header_stdc=no
3323
fi
4190
fi
Lines 3327-3342 fi Link Here
3327
4194
3328
if test $ac_cv_header_stdc = yes; then
4195
if test $ac_cv_header_stdc = yes; then
3329
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4196
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3330
  if test "$cross_compiling" = yes; then
4197
  if test "$cross_compiling" = yes; then :
3331
  :
4198
  :
3332
else
4199
else
3333
  cat >conftest.$ac_ext <<_ACEOF
4200
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3334
/* confdefs.h.  */
3335
_ACEOF
3336
cat confdefs.h >>conftest.$ac_ext
3337
cat >>conftest.$ac_ext <<_ACEOF
3338
/* end confdefs.h.  */
4201
/* end confdefs.h.  */
3339
#include <ctype.h>
4202
#include <ctype.h>
4203
#include <stdlib.h>
3340
#if ((' ' & 0x0FF) == 0x020)
4204
#if ((' ' & 0x0FF) == 0x020)
3341
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4205
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3342
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4206
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
Lines 3356-3464 main () Link Here
3356
  for (i = 0; i < 256; i++)
4220
  for (i = 0; i < 256; i++)
3357
    if (XOR (islower (i), ISLOWER (i))
4221
    if (XOR (islower (i), ISLOWER (i))
3358
	|| toupper (i) != TOUPPER (i))
4222
	|| toupper (i) != TOUPPER (i))
3359
      exit(2);
4223
      return 2;
3360
  exit (0);
4224
  return 0;
3361
}
4225
}
3362
_ACEOF
4226
_ACEOF
3363
rm -f conftest$ac_exeext
4227
if ac_fn_c_try_run "$LINENO"; then :
3364
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3365
  (eval $ac_link) 2>&5
3366
  ac_status=$?
3367
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3369
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3370
  (eval $ac_try) 2>&5
3371
  ac_status=$?
3372
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373
  (exit $ac_status); }; }; then
3374
  :
3375
else
3376
  echo "$as_me: program exited with status $ac_status" >&5
3377
echo "$as_me: failed program was:" >&5
3378
sed 's/^/| /' conftest.$ac_ext >&5
3379
4228
3380
( exit $ac_status )
4229
else
3381
ac_cv_header_stdc=no
4230
  ac_cv_header_stdc=no
3382
fi
4231
fi
3383
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4232
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4233
  conftest.$ac_objext conftest.beam conftest.$ac_ext
3384
fi
4234
fi
4235
3385
fi
4236
fi
3386
fi
4237
fi
3387
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4238
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3388
echo "${ECHO_T}$ac_cv_header_stdc" >&6
4239
$as_echo "$ac_cv_header_stdc" >&6; }
3389
if test $ac_cv_header_stdc = yes; then
4240
if test $ac_cv_header_stdc = yes; then
3390
4241
3391
cat >>confdefs.h <<\_ACEOF
4242
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3392
#define STDC_HEADERS 1
3393
_ACEOF
3394
4243
3395
fi
4244
fi
3396
4245
3397
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4246
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4247
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3408
		  inttypes.h stdint.h unistd.h
4248
		  inttypes.h stdint.h unistd.h
3409
do
4249
do :
3410
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4250
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3411
echo "$as_me:$LINENO: checking for $ac_header" >&5
4251
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3412
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4252
"
3413
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4253
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3414
  echo $ECHO_N "(cached) $ECHO_C" >&6
3415
else
3416
  cat >conftest.$ac_ext <<_ACEOF
3417
/* confdefs.h.  */
3418
_ACEOF
3419
cat confdefs.h >>conftest.$ac_ext
3420
cat >>conftest.$ac_ext <<_ACEOF
3421
/* end confdefs.h.  */
3422
$ac_includes_default
3423
3424
#include <$ac_header>
3425
_ACEOF
3426
rm -f conftest.$ac_objext
3427
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3428
  (eval $ac_compile) 2>conftest.er1
3429
  ac_status=$?
3430
  grep -v '^ *+' conftest.er1 >conftest.err
3431
  rm -f conftest.er1
3432
  cat conftest.err >&5
3433
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434
  (exit $ac_status); } &&
3435
	 { ac_try='test -z "$ac_c_werror_flag"
3436
			 || test ! -s conftest.err'
3437
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3438
  (eval $ac_try) 2>&5
3439
  ac_status=$?
3440
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441
  (exit $ac_status); }; } &&
3442
	 { ac_try='test -s conftest.$ac_objext'
3443
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3444
  (eval $ac_try) 2>&5
3445
  ac_status=$?
3446
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447
  (exit $ac_status); }; }; then
3448
  eval "$as_ac_Header=yes"
3449
else
3450
  echo "$as_me: failed program was:" >&5
3451
sed 's/^/| /' conftest.$ac_ext >&5
3452
3453
eval "$as_ac_Header=no"
3454
fi
3455
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3456
fi
3457
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3458
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3459
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3460
  cat >>confdefs.h <<_ACEOF
4254
  cat >>confdefs.h <<_ACEOF
3461
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4255
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3462
_ACEOF
4256
_ACEOF
3463
4257
3464
fi
4258
fi
Lines 3466-3880 fi Link Here
3466
done
4260
done
3467
4261
3468
4262
3469
echo "$as_me:$LINENO: checking for void *" >&5
4263
# The cast to long int works around a bug in the HP C Compiler
3470
echo $ECHO_N "checking for void *... $ECHO_C" >&6
4264
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3471
if test "${ac_cv_type_void_p+set}" = set; then
4265
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3472
  echo $ECHO_N "(cached) $ECHO_C" >&6
4266
# This bug is HP SR number 8606223364.
4267
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
4268
$as_echo_n "checking size of void *... " >&6; }
4269
if ${ac_cv_sizeof_void_p+:} false; then :
4270
  $as_echo_n "(cached) " >&6
3473
else
4271
else
3474
  cat >conftest.$ac_ext <<_ACEOF
4272
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
3475
/* confdefs.h.  */
3476
_ACEOF
3477
cat confdefs.h >>conftest.$ac_ext
3478
cat >>conftest.$ac_ext <<_ACEOF
3479
/* end confdefs.h.  */
3480
$ac_includes_default
3481
int
3482
main ()
3483
{
3484
if ((void * *) 0)
3485
  return 0;
3486
if (sizeof (void *))
3487
  return 0;
3488
  ;
3489
  return 0;
3490
}
3491
_ACEOF
3492
rm -f conftest.$ac_objext
3493
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3494
  (eval $ac_compile) 2>conftest.er1
3495
  ac_status=$?
3496
  grep -v '^ *+' conftest.er1 >conftest.err
3497
  rm -f conftest.er1
3498
  cat conftest.err >&5
3499
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500
  (exit $ac_status); } &&
3501
	 { ac_try='test -z "$ac_c_werror_flag"
3502
			 || test ! -s conftest.err'
3503
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3504
  (eval $ac_try) 2>&5
3505
  ac_status=$?
3506
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507
  (exit $ac_status); }; } &&
3508
	 { ac_try='test -s conftest.$ac_objext'
3509
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3510
  (eval $ac_try) 2>&5
3511
  ac_status=$?
3512
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3513
  (exit $ac_status); }; }; then
3514
  ac_cv_type_void_p=yes
3515
else
3516
  echo "$as_me: failed program was:" >&5
3517
sed 's/^/| /' conftest.$ac_ext >&5
3518
4273
3519
ac_cv_type_void_p=no
3520
fi
3521
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3522
fi
3523
echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
3524
echo "${ECHO_T}$ac_cv_type_void_p" >&6
3525
3526
echo "$as_me:$LINENO: checking size of void *" >&5
3527
echo $ECHO_N "checking size of void *... $ECHO_C" >&6
3528
if test "${ac_cv_sizeof_void_p+set}" = set; then
3529
  echo $ECHO_N "(cached) $ECHO_C" >&6
3530
else
4274
else
3531
  if test "$ac_cv_type_void_p" = yes; then
4275
  if test "$ac_cv_type_void_p" = yes; then
3532
  # The cast to unsigned long works around a bug in the HP C Compiler
4276
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3533
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4277
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3534
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4278
as_fn_error 77 "cannot compute sizeof (void *)
3535
  # This bug is HP SR number 8606223364.
4279
See \`config.log' for more details" "$LINENO" 5; }
3536
  if test "$cross_compiling" = yes; then
4280
   else
3537
  # Depending upon the size, compute the lo and hi bounds.
4281
     ac_cv_sizeof_void_p=0
3538
cat >conftest.$ac_ext <<_ACEOF
4282
   fi
3539
/* confdefs.h.  */
3540
_ACEOF
3541
cat confdefs.h >>conftest.$ac_ext
3542
cat >>conftest.$ac_ext <<_ACEOF
3543
/* end confdefs.h.  */
3544
$ac_includes_default
3545
int
3546
main ()
3547
{
3548
static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
3549
test_array [0] = 0
3550
3551
  ;
3552
  return 0;
3553
}
3554
_ACEOF
3555
rm -f conftest.$ac_objext
3556
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3557
  (eval $ac_compile) 2>conftest.er1
3558
  ac_status=$?
3559
  grep -v '^ *+' conftest.er1 >conftest.err
3560
  rm -f conftest.er1
3561
  cat conftest.err >&5
3562
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3563
  (exit $ac_status); } &&
3564
	 { ac_try='test -z "$ac_c_werror_flag"
3565
			 || test ! -s conftest.err'
3566
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3567
  (eval $ac_try) 2>&5
3568
  ac_status=$?
3569
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570
  (exit $ac_status); }; } &&
3571
	 { ac_try='test -s conftest.$ac_objext'
3572
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3573
  (eval $ac_try) 2>&5
3574
  ac_status=$?
3575
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3576
  (exit $ac_status); }; }; then
3577
  ac_lo=0 ac_mid=0
3578
  while :; do
3579
    cat >conftest.$ac_ext <<_ACEOF
3580
/* confdefs.h.  */
3581
_ACEOF
3582
cat confdefs.h >>conftest.$ac_ext
3583
cat >>conftest.$ac_ext <<_ACEOF
3584
/* end confdefs.h.  */
3585
$ac_includes_default
3586
int
3587
main ()
3588
{
3589
static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
3590
test_array [0] = 0
3591
3592
  ;
3593
  return 0;
3594
}
3595
_ACEOF
3596
rm -f conftest.$ac_objext
3597
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3598
  (eval $ac_compile) 2>conftest.er1
3599
  ac_status=$?
3600
  grep -v '^ *+' conftest.er1 >conftest.err
3601
  rm -f conftest.er1
3602
  cat conftest.err >&5
3603
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604
  (exit $ac_status); } &&
3605
	 { ac_try='test -z "$ac_c_werror_flag"
3606
			 || test ! -s conftest.err'
3607
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3608
  (eval $ac_try) 2>&5
3609
  ac_status=$?
3610
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611
  (exit $ac_status); }; } &&
3612
	 { ac_try='test -s conftest.$ac_objext'
3613
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3614
  (eval $ac_try) 2>&5
3615
  ac_status=$?
3616
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617
  (exit $ac_status); }; }; then
3618
  ac_hi=$ac_mid; break
3619
else
3620
  echo "$as_me: failed program was:" >&5
3621
sed 's/^/| /' conftest.$ac_ext >&5
3622
3623
ac_lo=`expr $ac_mid + 1`
3624
		    if test $ac_lo -le $ac_mid; then
3625
		      ac_lo= ac_hi=
3626
		      break
3627
		    fi
3628
		    ac_mid=`expr 2 '*' $ac_mid + 1`
3629
fi
4283
fi
3630
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3631
  done
3632
else
3633
  echo "$as_me: failed program was:" >&5
3634
sed 's/^/| /' conftest.$ac_ext >&5
3635
4284
3636
cat >conftest.$ac_ext <<_ACEOF
3637
/* confdefs.h.  */
3638
_ACEOF
3639
cat confdefs.h >>conftest.$ac_ext
3640
cat >>conftest.$ac_ext <<_ACEOF
3641
/* end confdefs.h.  */
3642
$ac_includes_default
3643
int
3644
main ()
3645
{
3646
static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
3647
test_array [0] = 0
3648
3649
  ;
3650
  return 0;
3651
}
3652
_ACEOF
3653
rm -f conftest.$ac_objext
3654
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3655
  (eval $ac_compile) 2>conftest.er1
3656
  ac_status=$?
3657
  grep -v '^ *+' conftest.er1 >conftest.err
3658
  rm -f conftest.er1
3659
  cat conftest.err >&5
3660
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3661
  (exit $ac_status); } &&
3662
	 { ac_try='test -z "$ac_c_werror_flag"
3663
			 || test ! -s conftest.err'
3664
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3665
  (eval $ac_try) 2>&5
3666
  ac_status=$?
3667
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3668
  (exit $ac_status); }; } &&
3669
	 { ac_try='test -s conftest.$ac_objext'
3670
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3671
  (eval $ac_try) 2>&5
3672
  ac_status=$?
3673
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3674
  (exit $ac_status); }; }; then
3675
  ac_hi=-1 ac_mid=-1
3676
  while :; do
3677
    cat >conftest.$ac_ext <<_ACEOF
3678
/* confdefs.h.  */
3679
_ACEOF
3680
cat confdefs.h >>conftest.$ac_ext
3681
cat >>conftest.$ac_ext <<_ACEOF
3682
/* end confdefs.h.  */
3683
$ac_includes_default
3684
int
3685
main ()
3686
{
3687
static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
3688
test_array [0] = 0
3689
3690
  ;
3691
  return 0;
3692
}
3693
_ACEOF
3694
rm -f conftest.$ac_objext
3695
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3696
  (eval $ac_compile) 2>conftest.er1
3697
  ac_status=$?
3698
  grep -v '^ *+' conftest.er1 >conftest.err
3699
  rm -f conftest.er1
3700
  cat conftest.err >&5
3701
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3702
  (exit $ac_status); } &&
3703
	 { ac_try='test -z "$ac_c_werror_flag"
3704
			 || test ! -s conftest.err'
3705
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3706
  (eval $ac_try) 2>&5
3707
  ac_status=$?
3708
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709
  (exit $ac_status); }; } &&
3710
	 { ac_try='test -s conftest.$ac_objext'
3711
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3712
  (eval $ac_try) 2>&5
3713
  ac_status=$?
3714
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3715
  (exit $ac_status); }; }; then
3716
  ac_lo=$ac_mid; break
3717
else
3718
  echo "$as_me: failed program was:" >&5
3719
sed 's/^/| /' conftest.$ac_ext >&5
3720
3721
ac_hi=`expr '(' $ac_mid ')' - 1`
3722
		       if test $ac_mid -le $ac_hi; then
3723
			 ac_lo= ac_hi=
3724
			 break
3725
		       fi
3726
		       ac_mid=`expr 2 '*' $ac_mid`
3727
fi
4285
fi
3728
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4286
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
3729
  done
4287
$as_echo "$ac_cv_sizeof_void_p" >&6; }
3730
else
3731
  echo "$as_me: failed program was:" >&5
3732
sed 's/^/| /' conftest.$ac_ext >&5
3733
4288
3734
ac_lo= ac_hi=
3735
fi
3736
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3737
fi
3738
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3739
# Binary search between lo and hi bounds.
3740
while test "x$ac_lo" != "x$ac_hi"; do
3741
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3742
  cat >conftest.$ac_ext <<_ACEOF
3743
/* confdefs.h.  */
3744
_ACEOF
3745
cat confdefs.h >>conftest.$ac_ext
3746
cat >>conftest.$ac_ext <<_ACEOF
3747
/* end confdefs.h.  */
3748
$ac_includes_default
3749
int
3750
main ()
3751
{
3752
static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
3753
test_array [0] = 0
3754
4289
3755
  ;
3756
  return 0;
3757
}
3758
_ACEOF
3759
rm -f conftest.$ac_objext
3760
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3761
  (eval $ac_compile) 2>conftest.er1
3762
  ac_status=$?
3763
  grep -v '^ *+' conftest.er1 >conftest.err
3764
  rm -f conftest.er1
3765
  cat conftest.err >&5
3766
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767
  (exit $ac_status); } &&
3768
	 { ac_try='test -z "$ac_c_werror_flag"
3769
			 || test ! -s conftest.err'
3770
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3771
  (eval $ac_try) 2>&5
3772
  ac_status=$?
3773
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774
  (exit $ac_status); }; } &&
3775
	 { ac_try='test -s conftest.$ac_objext'
3776
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3777
  (eval $ac_try) 2>&5
3778
  ac_status=$?
3779
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780
  (exit $ac_status); }; }; then
3781
  ac_hi=$ac_mid
3782
else
3783
  echo "$as_me: failed program was:" >&5
3784
sed 's/^/| /' conftest.$ac_ext >&5
3785
4290
3786
ac_lo=`expr '(' $ac_mid ')' + 1`
3787
fi
3788
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3789
done
3790
case $ac_lo in
3791
?*) ac_cv_sizeof_void_p=$ac_lo;;
3792
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
3793
See \`config.log' for more details." >&5
3794
echo "$as_me: error: cannot compute sizeof (void *), 77
3795
See \`config.log' for more details." >&2;}
3796
   { (exit 1); exit 1; }; } ;;
3797
esac
3798
else
3799
  if test "$cross_compiling" = yes; then
3800
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3801
See \`config.log' for more details." >&5
3802
echo "$as_me: error: cannot run test program while cross compiling
3803
See \`config.log' for more details." >&2;}
3804
   { (exit 1); exit 1; }; }
3805
else
3806
  cat >conftest.$ac_ext <<_ACEOF
3807
/* confdefs.h.  */
3808
_ACEOF
3809
cat confdefs.h >>conftest.$ac_ext
3810
cat >>conftest.$ac_ext <<_ACEOF
3811
/* end confdefs.h.  */
3812
$ac_includes_default
3813
long longval () { return (long) (sizeof (void *)); }
3814
unsigned long ulongval () { return (long) (sizeof (void *)); }
3815
#include <stdio.h>
3816
#include <stdlib.h>
3817
int
3818
main ()
3819
{
3820
3821
  FILE *f = fopen ("conftest.val", "w");
3822
  if (! f)
3823
    exit (1);
3824
  if (((long) (sizeof (void *))) < 0)
3825
    {
3826
      long i = longval ();
3827
      if (i != ((long) (sizeof (void *))))
3828
	exit (1);
3829
      fprintf (f, "%ld\n", i);
3830
    }
3831
  else
3832
    {
3833
      unsigned long i = ulongval ();
3834
      if (i != ((long) (sizeof (void *))))
3835
	exit (1);
3836
      fprintf (f, "%lu\n", i);
3837
    }
3838
  exit (ferror (f) || fclose (f) != 0);
3839
3840
  ;
3841
  return 0;
3842
}
3843
_ACEOF
3844
rm -f conftest$ac_exeext
3845
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3846
  (eval $ac_link) 2>&5
3847
  ac_status=$?
3848
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3850
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3851
  (eval $ac_try) 2>&5
3852
  ac_status=$?
3853
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854
  (exit $ac_status); }; }; then
3855
  ac_cv_sizeof_void_p=`cat conftest.val`
3856
else
3857
  echo "$as_me: program exited with status $ac_status" >&5
3858
echo "$as_me: failed program was:" >&5
3859
sed 's/^/| /' conftest.$ac_ext >&5
3860
3861
( exit $ac_status )
3862
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
3863
See \`config.log' for more details." >&5
3864
echo "$as_me: error: cannot compute sizeof (void *), 77
3865
See \`config.log' for more details." >&2;}
3866
   { (exit 1); exit 1; }; }
3867
fi
3868
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3869
fi
3870
fi
3871
rm -f conftest.val
3872
else
3873
  ac_cv_sizeof_void_p=0
3874
fi
3875
fi
3876
echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
3877
echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
3878
cat >>confdefs.h <<_ACEOF
4291
cat >>confdefs.h <<_ACEOF
3879
#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
4292
#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
3880
_ACEOF
4293
_ACEOF
Lines 3888-3908 OBJC_CFLAGS="" Link Here
3888
CXXFLAGS=""
4301
CXXFLAGS=""
3889
case $host_os in
4302
case $host_os in
3890
    darwin*)
4303
    darwin*)
3891
	echo "$as_me:$LINENO: checking Checking wxWidgets for min version:" >&5
4304
	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking wxWidgets for min version:" >&5
3892
echo $ECHO_N "checking Checking wxWidgets for min version:... $ECHO_C" >&6
4305
$as_echo_n "checking Checking wxWidgets for min version:... " >&6; }
3893
	WX_CC=`wx-config --cc`
4306
	WX_CC=`wx-config --cc`
3894
	MAC_MIN=`echo "$WX_CC" | sed 's/^[^ ]*\ *//'`
4307
	MAC_MIN=`echo "$WX_CC" | sed 's/^[^ ]*\ *//'`
3895
	echo "$as_me:$LINENO: result: $MAC_MIN" >&5
4308
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAC_MIN" >&5
3896
echo "${ECHO_T}$MAC_MIN" >&6
4309
$as_echo "$MAC_MIN" >&6; }
3897
4310
3898
	echo "$as_me:$LINENO: checking if compiler accepts -ObjC" >&5
4311
	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -ObjC" >&5
3899
echo $ECHO_N "checking if compiler accepts -ObjC... $ECHO_C" >&6
4312
$as_echo_n "checking if compiler accepts -ObjC... " >&6; }
3900
  	CFLAGS="$CFLAGS -ObjC"
4313
  	CFLAGS="$CFLAGS -ObjC"
3901
  	cat >conftest.$ac_ext <<_ACEOF
4314
  	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3902
/* confdefs.h.  */
3903
_ACEOF
3904
cat confdefs.h >>conftest.$ac_ext
3905
cat >>conftest.$ac_ext <<_ACEOF
3906
/* end confdefs.h.  */
4315
/* end confdefs.h.  */
3907
4316
3908
int
4317
int
Lines 3913-3957 main () Link Here
3913
  return 0;
4322
  return 0;
3914
}
4323
}
3915
_ACEOF
4324
_ACEOF
3916
rm -f conftest.$ac_objext
4325
if ac_fn_c_try_compile "$LINENO"; then :
3917
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3918
  (eval $ac_compile) 2>conftest.er1
3919
  ac_status=$?
3920
  grep -v '^ *+' conftest.er1 >conftest.err
3921
  rm -f conftest.er1
3922
  cat conftest.err >&5
3923
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3924
  (exit $ac_status); } &&
3925
	 { ac_try='test -z "$ac_c_werror_flag"
3926
			 || test ! -s conftest.err'
3927
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3928
  (eval $ac_try) 2>&5
3929
  ac_status=$?
3930
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931
  (exit $ac_status); }; } &&
3932
	 { ac_try='test -s conftest.$ac_objext'
3933
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3934
  (eval $ac_try) 2>&5
3935
  ac_status=$?
3936
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937
  (exit $ac_status); }; }; then
3938
  accept_objc_flag=true
4326
  accept_objc_flag=true
3939
else
4327
else
3940
  echo "$as_me: failed program was:" >&5
4328
  accept_objc_flag=false
3941
sed 's/^/| /' conftest.$ac_ext >&5
3942
3943
accept_objc_flag=false
3944
fi
4329
fi
3945
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4330
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3946
  	if test "X$accept_objc_flag" = "Xtrue"; then
4331
  	if test "X$accept_objc_flag" = "Xtrue"; then
3947
	   echo "$as_me:$LINENO: result: yes" >&5
4332
	   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3948
echo "${ECHO_T}yes" >&6
4333
$as_echo "yes" >&6; }
3949
           C_ONLY_FLAGS="-ObjC"
4334
           C_ONLY_FLAGS="-ObjC"
3950
	else
4335
	else
3951
	   	   	   	   echo "$as_me:$LINENO: result: no" >&5
4336
	   	   	   	   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3952
echo "${ECHO_T}no" >&6
4337
$as_echo "no" >&6; }
3953
	   echo "$as_me:$LINENO: checking for a Cocoa compliant Objective C compiler" >&5
4338
	   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Cocoa compliant Objective C compiler" >&5
3954
echo $ECHO_N "checking for a Cocoa compliant Objective C compiler... $ECHO_C" >&6
4339
$as_echo_n "checking for a Cocoa compliant Objective C compiler... " >&6; }
3955
	   SEARCHFOR=""
4340
	   SEARCHFOR=""
3956
	   SEARCHFORXX=""
4341
	   SEARCHFORXX=""
3957
	   save_IFS=$IFS
4342
	   save_IFS=$IFS
Lines 3980-4001 echo $ECHO_N "checking for a Cocoa compliant Objective Link Here
3980
	   done
4365
	   done
3981
	   IFS=$save_IFS
4366
	   IFS=$save_IFS
3982
	   if test X$APPLE_CC = X -o X$APPLE_CXX = X; then
4367
	   if test X$APPLE_CC = X -o X$APPLE_CXX = X; then
3983
	      echo "$as_me:$LINENO: result: no" >&5
4368
	      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3984
echo "${ECHO_T}no" >&6
4369
$as_echo "no" >&6; }
3985
	      	      if test X"$WX_BUILDING_INSIDE_ERLSRC" != X"true" ; then
4370
	      	      if test X"$WX_BUILDING_INSIDE_ERLSRC" != X"true" ; then
3986
		{ { echo "$as_me:$LINENO: error: Can not find compiler to compile Cocoa applications" >&5
4371
		as_fn_error $? "Can not find compiler to compile Cocoa applications" "$LINENO" 5
3987
echo "$as_me: error: Can not find compiler to compile Cocoa applications" >&2;}
3988
   { (exit 1); exit 1; }; }
3989
	      else
4372
	      else
3990
		echo "Can not find compiler to compile Cocoa applications" > ./CONF_INFO
4373
		echo "Can not find compiler to compile Cocoa applications" > ./CONF_INFO
3991
		WXERL_CAN_BUILD_DRIVER=false
4374
		WXERL_CAN_BUILD_DRIVER=false
3992
		{ echo "$as_me:$LINENO: WARNING: Can not find compiler to compile Cocoa applications" >&5
4375
		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can not find compiler to compile Cocoa applications" >&5
3993
echo "$as_me: WARNING: Can not find compiler to compile Cocoa applications" >&2;}
4376
$as_echo "$as_me: WARNING: Can not find compiler to compile Cocoa applications" >&2;}
3994
	      fi
4377
	      fi
3995
	      WXERL_CAN_BUILD_DRIVER=false
4378
	      WXERL_CAN_BUILD_DRIVER=false
3996
	   else
4379
	   else
3997
	      	      	      echo "$as_me:$LINENO: result: $APPLE_CC ($APPLE_CXX)" >&5
4380
	      	      	      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APPLE_CC ($APPLE_CXX)" >&5
3998
echo "${ECHO_T}$APPLE_CC ($APPLE_CXX)" >&6
4381
$as_echo "$APPLE_CC ($APPLE_CXX)" >&6; }
3999
	      	      CC=$APPLE_CC
4382
	      	      CC=$APPLE_CC
4000
	      CXX=$APPLE_CXX
4383
	      CXX=$APPLE_CXX
4001
	      	      #CXXFLAGS="-x c++ $CXXFLAGS"
4384
	      	      #CXXFLAGS="-x c++ $CXXFLAGS"
Lines 4009-4016 echo "${ECHO_T}$APPLE_CC ($APPLE_CXX)" >&6 Link Here
4009
    mingw32)
4392
    mingw32)
4010
	CFLAGS="$CFLAGS -DWIN32 -DWINVER=0x0600 -D_WINDOWS -D_UNICODE -DUNICODE"
4393
	CFLAGS="$CFLAGS -DWIN32 -DWINVER=0x0600 -D_WINDOWS -D_UNICODE -DUNICODE"
4011
	CPPFLAGS="$CPPFLAGS -D_WIN32_WINNT=0x0600"
4394
	CPPFLAGS="$CPPFLAGS -D_WIN32_WINNT=0x0600"
4012
	{ echo "$as_me:$LINENO: WARNING: Reverting to 32-bit time_t" >&5
4395
	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Reverting to 32-bit time_t" >&5
4013
echo "$as_me: WARNING: Reverting to 32-bit time_t" >&2;}
4396
$as_echo "$as_me: WARNING: Reverting to 32-bit time_t" >&2;}
4014
	CPPFLAGS="$CPPFLAGS -D_USE_32BIT_TIME_T"
4397
	CPPFLAGS="$CPPFLAGS -D_USE_32BIT_TIME_T"
4015
	;;
4398
	;;
4016
    win32)
4399
    win32)
Lines 4072-4368 esac Link Here
4072
4455
4073
4456
4074
if test X"$host_os" != X"win32" ; then
4457
if test X"$host_os" != X"win32" ; then
4075
4458
    for ac_header in GL/gl.h
4076
for ac_header in GL/gl.h
4459
do :
4077
do
4460
  ac_fn_c_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
4078
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4461
if test "x$ac_cv_header_GL_gl_h" = xyes; then :
4079
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4080
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4081
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4082
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4083
  echo $ECHO_N "(cached) $ECHO_C" >&6
4084
fi
4085
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4086
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4087
else
4088
  # Is the header compilable?
4089
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4090
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4091
cat >conftest.$ac_ext <<_ACEOF
4092
/* confdefs.h.  */
4093
_ACEOF
4094
cat confdefs.h >>conftest.$ac_ext
4095
cat >>conftest.$ac_ext <<_ACEOF
4096
/* end confdefs.h.  */
4097
$ac_includes_default
4098
#include <$ac_header>
4099
_ACEOF
4100
rm -f conftest.$ac_objext
4101
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4102
  (eval $ac_compile) 2>conftest.er1
4103
  ac_status=$?
4104
  grep -v '^ *+' conftest.er1 >conftest.err
4105
  rm -f conftest.er1
4106
  cat conftest.err >&5
4107
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4108
  (exit $ac_status); } &&
4109
	 { ac_try='test -z "$ac_c_werror_flag"
4110
			 || test ! -s conftest.err'
4111
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4112
  (eval $ac_try) 2>&5
4113
  ac_status=$?
4114
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4115
  (exit $ac_status); }; } &&
4116
	 { ac_try='test -s conftest.$ac_objext'
4117
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4118
  (eval $ac_try) 2>&5
4119
  ac_status=$?
4120
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4121
  (exit $ac_status); }; }; then
4122
  ac_header_compiler=yes
4123
else
4124
  echo "$as_me: failed program was:" >&5
4125
sed 's/^/| /' conftest.$ac_ext >&5
4126
4127
ac_header_compiler=no
4128
fi
4129
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4130
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4131
echo "${ECHO_T}$ac_header_compiler" >&6
4132
4133
# Is the header present?
4134
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4135
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4136
cat >conftest.$ac_ext <<_ACEOF
4137
/* confdefs.h.  */
4138
_ACEOF
4139
cat confdefs.h >>conftest.$ac_ext
4140
cat >>conftest.$ac_ext <<_ACEOF
4141
/* end confdefs.h.  */
4142
#include <$ac_header>
4143
_ACEOF
4144
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4145
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4146
  ac_status=$?
4147
  grep -v '^ *+' conftest.er1 >conftest.err
4148
  rm -f conftest.er1
4149
  cat conftest.err >&5
4150
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4151
  (exit $ac_status); } >/dev/null; then
4152
  if test -s conftest.err; then
4153
    ac_cpp_err=$ac_c_preproc_warn_flag
4154
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4155
  else
4156
    ac_cpp_err=
4157
  fi
4158
else
4159
  ac_cpp_err=yes
4160
fi
4161
if test -z "$ac_cpp_err"; then
4162
  ac_header_preproc=yes
4163
else
4164
  echo "$as_me: failed program was:" >&5
4165
sed 's/^/| /' conftest.$ac_ext >&5
4166
4167
  ac_header_preproc=no
4168
fi
4169
rm -f conftest.err conftest.$ac_ext
4170
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4171
echo "${ECHO_T}$ac_header_preproc" >&6
4172
4173
# So?  What about this header?
4174
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4175
  yes:no: )
4176
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4177
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4178
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4179
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4180
    ac_header_preproc=yes
4181
    ;;
4182
  no:yes:* )
4183
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4184
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4185
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4186
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4187
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4188
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4189
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4190
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4191
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4192
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4193
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4194
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4195
    (
4196
      cat <<\_ASBOX
4197
## ------------------------------------------ ##
4198
## Report this to the AC_PACKAGE_NAME lists.  ##
4199
## ------------------------------------------ ##
4200
_ASBOX
4201
    ) |
4202
      sed "s/^/$as_me: WARNING:     /" >&2
4203
    ;;
4204
esac
4205
echo "$as_me:$LINENO: checking for $ac_header" >&5
4206
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4207
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4208
  echo $ECHO_N "(cached) $ECHO_C" >&6
4209
else
4210
  eval "$as_ac_Header=\$ac_header_preproc"
4211
fi
4212
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4213
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4214
4215
fi
4216
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4217
  cat >>confdefs.h <<_ACEOF
4462
  cat >>confdefs.h <<_ACEOF
4218
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4463
#define HAVE_GL_GL_H 1
4219
_ACEOF
4464
_ACEOF
4220
4465
4221
else
4466
else
4222
4467
  for ac_header in OpenGL/gl.h
4223
for ac_header in OpenGL/gl.h
4468
do :
4224
do
4469
  ac_fn_c_check_header_mongrel "$LINENO" "OpenGL/gl.h" "ac_cv_header_OpenGL_gl_h" "$ac_includes_default"
4225
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4470
if test "x$ac_cv_header_OpenGL_gl_h" = xyes; then :
4226
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4227
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4228
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4229
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4230
  echo $ECHO_N "(cached) $ECHO_C" >&6
4231
fi
4232
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4233
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4234
else
4235
  # Is the header compilable?
4236
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4237
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4238
cat >conftest.$ac_ext <<_ACEOF
4239
/* confdefs.h.  */
4240
_ACEOF
4241
cat confdefs.h >>conftest.$ac_ext
4242
cat >>conftest.$ac_ext <<_ACEOF
4243
/* end confdefs.h.  */
4244
$ac_includes_default
4245
#include <$ac_header>
4246
_ACEOF
4247
rm -f conftest.$ac_objext
4248
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4249
  (eval $ac_compile) 2>conftest.er1
4250
  ac_status=$?
4251
  grep -v '^ *+' conftest.er1 >conftest.err
4252
  rm -f conftest.er1
4253
  cat conftest.err >&5
4254
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255
  (exit $ac_status); } &&
4256
	 { ac_try='test -z "$ac_c_werror_flag"
4257
			 || test ! -s conftest.err'
4258
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4259
  (eval $ac_try) 2>&5
4260
  ac_status=$?
4261
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262
  (exit $ac_status); }; } &&
4263
	 { ac_try='test -s conftest.$ac_objext'
4264
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4265
  (eval $ac_try) 2>&5
4266
  ac_status=$?
4267
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4268
  (exit $ac_status); }; }; then
4269
  ac_header_compiler=yes
4270
else
4271
  echo "$as_me: failed program was:" >&5
4272
sed 's/^/| /' conftest.$ac_ext >&5
4273
4274
ac_header_compiler=no
4275
fi
4276
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4277
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4278
echo "${ECHO_T}$ac_header_compiler" >&6
4279
4280
# Is the header present?
4281
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4282
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4283
cat >conftest.$ac_ext <<_ACEOF
4284
/* confdefs.h.  */
4285
_ACEOF
4286
cat confdefs.h >>conftest.$ac_ext
4287
cat >>conftest.$ac_ext <<_ACEOF
4288
/* end confdefs.h.  */
4289
#include <$ac_header>
4290
_ACEOF
4291
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4292
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4293
  ac_status=$?
4294
  grep -v '^ *+' conftest.er1 >conftest.err
4295
  rm -f conftest.er1
4296
  cat conftest.err >&5
4297
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298
  (exit $ac_status); } >/dev/null; then
4299
  if test -s conftest.err; then
4300
    ac_cpp_err=$ac_c_preproc_warn_flag
4301
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4302
  else
4303
    ac_cpp_err=
4304
  fi
4305
else
4306
  ac_cpp_err=yes
4307
fi
4308
if test -z "$ac_cpp_err"; then
4309
  ac_header_preproc=yes
4310
else
4311
  echo "$as_me: failed program was:" >&5
4312
sed 's/^/| /' conftest.$ac_ext >&5
4313
4314
  ac_header_preproc=no
4315
fi
4316
rm -f conftest.err conftest.$ac_ext
4317
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4318
echo "${ECHO_T}$ac_header_preproc" >&6
4319
4320
# So?  What about this header?
4321
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4322
  yes:no: )
4323
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4324
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4325
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4326
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4327
    ac_header_preproc=yes
4328
    ;;
4329
  no:yes:* )
4330
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4331
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4332
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4333
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4334
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4335
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4336
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4337
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4338
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4339
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4340
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4341
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4342
    (
4343
      cat <<\_ASBOX
4344
## ------------------------------------------ ##
4345
## Report this to the AC_PACKAGE_NAME lists.  ##
4346
## ------------------------------------------ ##
4347
_ASBOX
4348
    ) |
4349
      sed "s/^/$as_me: WARNING:     /" >&2
4350
    ;;
4351
esac
4352
echo "$as_me:$LINENO: checking for $ac_header" >&5
4353
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4354
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4355
  echo $ECHO_N "(cached) $ECHO_C" >&6
4356
else
4357
  eval "$as_ac_Header=\$ac_header_preproc"
4358
fi
4359
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4360
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4361
4362
fi
4363
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4364
  cat >>confdefs.h <<_ACEOF
4471
  cat >>confdefs.h <<_ACEOF
4365
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4472
#define HAVE_OPENGL_GL_H 1
4366
_ACEOF
4473
_ACEOF
4367
4474
4368
fi
4475
fi
Lines 4377-4530 done Link Here
4377
       	test X"$ac_cv_header_OpenGL_gl_h" != Xyes
4484
       	test X"$ac_cv_header_OpenGL_gl_h" != Xyes
4378
    then
4485
    then
4379
       	saved_CPPFLAGS="$CPPFLAGS"
4486
       	saved_CPPFLAGS="$CPPFLAGS"
4380
	{ echo "$as_me:$LINENO: Checking for OpenGL headers in /usr/X11R6" >&5
4487
	{ $as_echo "$as_me:${as_lineno-$LINENO}: Checking for OpenGL headers in /usr/X11R6" >&5
4381
echo "$as_me: Checking for OpenGL headers in /usr/X11R6" >&6;}
4488
$as_echo "$as_me: Checking for OpenGL headers in /usr/X11R6" >&6;}
4382
       	CPPFLAGS="-isystem /usr/X11R6/include $CPPFLAGS"
4489
       	CPPFLAGS="-isystem /usr/X11R6/include $CPPFLAGS"
4383
       	$as_unset ac_cv_header_GL_gl_h
4490
       	$as_unset ac_cv_header_GL_gl_h
4384
4491
       	for ac_header in GL/gl.h
4385
for ac_header in GL/gl.h
4492
do :
4386
do
4493
  ac_fn_c_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
4387
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4494
if test "x$ac_cv_header_GL_gl_h" = xyes; then :
4388
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4389
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4390
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4391
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4392
  echo $ECHO_N "(cached) $ECHO_C" >&6
4393
fi
4394
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4395
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4396
else
4397
  # Is the header compilable?
4398
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4399
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4400
cat >conftest.$ac_ext <<_ACEOF
4401
/* confdefs.h.  */
4402
_ACEOF
4403
cat confdefs.h >>conftest.$ac_ext
4404
cat >>conftest.$ac_ext <<_ACEOF
4405
/* end confdefs.h.  */
4406
$ac_includes_default
4407
#include <$ac_header>
4408
_ACEOF
4409
rm -f conftest.$ac_objext
4410
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4411
  (eval $ac_compile) 2>conftest.er1
4412
  ac_status=$?
4413
  grep -v '^ *+' conftest.er1 >conftest.err
4414
  rm -f conftest.er1
4415
  cat conftest.err >&5
4416
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417
  (exit $ac_status); } &&
4418
	 { ac_try='test -z "$ac_c_werror_flag"
4419
			 || test ! -s conftest.err'
4420
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4421
  (eval $ac_try) 2>&5
4422
  ac_status=$?
4423
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424
  (exit $ac_status); }; } &&
4425
	 { ac_try='test -s conftest.$ac_objext'
4426
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4427
  (eval $ac_try) 2>&5
4428
  ac_status=$?
4429
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430
  (exit $ac_status); }; }; then
4431
  ac_header_compiler=yes
4432
else
4433
  echo "$as_me: failed program was:" >&5
4434
sed 's/^/| /' conftest.$ac_ext >&5
4435
4436
ac_header_compiler=no
4437
fi
4438
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4439
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4440
echo "${ECHO_T}$ac_header_compiler" >&6
4441
4442
# Is the header present?
4443
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4444
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4445
cat >conftest.$ac_ext <<_ACEOF
4446
/* confdefs.h.  */
4447
_ACEOF
4448
cat confdefs.h >>conftest.$ac_ext
4449
cat >>conftest.$ac_ext <<_ACEOF
4450
/* end confdefs.h.  */
4451
#include <$ac_header>
4452
_ACEOF
4453
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4454
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4455
  ac_status=$?
4456
  grep -v '^ *+' conftest.er1 >conftest.err
4457
  rm -f conftest.er1
4458
  cat conftest.err >&5
4459
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460
  (exit $ac_status); } >/dev/null; then
4461
  if test -s conftest.err; then
4462
    ac_cpp_err=$ac_c_preproc_warn_flag
4463
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4464
  else
4465
    ac_cpp_err=
4466
  fi
4467
else
4468
  ac_cpp_err=yes
4469
fi
4470
if test -z "$ac_cpp_err"; then
4471
  ac_header_preproc=yes
4472
else
4473
  echo "$as_me: failed program was:" >&5
4474
sed 's/^/| /' conftest.$ac_ext >&5
4475
4476
  ac_header_preproc=no
4477
fi
4478
rm -f conftest.err conftest.$ac_ext
4479
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4480
echo "${ECHO_T}$ac_header_preproc" >&6
4481
4482
# So?  What about this header?
4483
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4484
  yes:no: )
4485
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4486
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4487
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4488
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4489
    ac_header_preproc=yes
4490
    ;;
4491
  no:yes:* )
4492
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4493
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4494
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4495
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4496
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4497
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4498
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4499
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4500
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4501
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4502
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4503
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4504
    (
4505
      cat <<\_ASBOX
4506
## ------------------------------------------ ##
4507
## Report this to the AC_PACKAGE_NAME lists.  ##
4508
## ------------------------------------------ ##
4509
_ASBOX
4510
    ) |
4511
      sed "s/^/$as_me: WARNING:     /" >&2
4512
    ;;
4513
esac
4514
echo "$as_me:$LINENO: checking for $ac_header" >&5
4515
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4516
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4517
  echo $ECHO_N "(cached) $ECHO_C" >&6
4518
else
4519
  eval "$as_ac_Header=\$ac_header_preproc"
4520
fi
4521
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4522
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4523
4524
fi
4525
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4526
  cat >>confdefs.h <<_ACEOF
4495
  cat >>confdefs.h <<_ACEOF
4527
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4496
#define HAVE_GL_GL_H 1
4528
_ACEOF
4497
_ACEOF
4529
4498
4530
fi
4499
fi
Lines 4532-4685 fi Link Here
4532
done
4501
done
4533
4502
4534
       	if test X"$ac_cv_header_GL_gl_h" != Xyes ; then
4503
       	if test X"$ac_cv_header_GL_gl_h" != Xyes ; then
4535
	    { echo "$as_me:$LINENO: Checking for OpenGL headers in /usr/local" >&5
4504
	    { $as_echo "$as_me:${as_lineno-$LINENO}: Checking for OpenGL headers in /usr/local" >&5
4536
echo "$as_me: Checking for OpenGL headers in /usr/local" >&6;}
4505
$as_echo "$as_me: Checking for OpenGL headers in /usr/local" >&6;}
4537
	    CPPFLAGS="-isystem /usr/local/include $saved_CPPFLAGS"
4506
	    CPPFLAGS="-isystem /usr/local/include $saved_CPPFLAGS"
4538
	    $as_unset ac_cv_header_GL_gl_h
4507
	    $as_unset ac_cv_header_GL_gl_h
4539
4508
	    for ac_header in GL/gl.h
4540
for ac_header in GL/gl.h
4509
do :
4541
do
4510
  ac_fn_c_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
4542
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4511
if test "x$ac_cv_header_GL_gl_h" = xyes; then :
4543
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4544
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4545
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4546
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4547
  echo $ECHO_N "(cached) $ECHO_C" >&6
4548
fi
4549
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4550
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4551
else
4552
  # Is the header compilable?
4553
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4554
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4555
cat >conftest.$ac_ext <<_ACEOF
4556
/* confdefs.h.  */
4557
_ACEOF
4558
cat confdefs.h >>conftest.$ac_ext
4559
cat >>conftest.$ac_ext <<_ACEOF
4560
/* end confdefs.h.  */
4561
$ac_includes_default
4562
#include <$ac_header>
4563
_ACEOF
4564
rm -f conftest.$ac_objext
4565
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4566
  (eval $ac_compile) 2>conftest.er1
4567
  ac_status=$?
4568
  grep -v '^ *+' conftest.er1 >conftest.err
4569
  rm -f conftest.er1
4570
  cat conftest.err >&5
4571
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572
  (exit $ac_status); } &&
4573
	 { ac_try='test -z "$ac_c_werror_flag"
4574
			 || test ! -s conftest.err'
4575
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4576
  (eval $ac_try) 2>&5
4577
  ac_status=$?
4578
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579
  (exit $ac_status); }; } &&
4580
	 { ac_try='test -s conftest.$ac_objext'
4581
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4582
  (eval $ac_try) 2>&5
4583
  ac_status=$?
4584
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585
  (exit $ac_status); }; }; then
4586
  ac_header_compiler=yes
4587
else
4588
  echo "$as_me: failed program was:" >&5
4589
sed 's/^/| /' conftest.$ac_ext >&5
4590
4591
ac_header_compiler=no
4592
fi
4593
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4594
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4595
echo "${ECHO_T}$ac_header_compiler" >&6
4596
4597
# Is the header present?
4598
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4599
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4600
cat >conftest.$ac_ext <<_ACEOF
4601
/* confdefs.h.  */
4602
_ACEOF
4603
cat confdefs.h >>conftest.$ac_ext
4604
cat >>conftest.$ac_ext <<_ACEOF
4605
/* end confdefs.h.  */
4606
#include <$ac_header>
4607
_ACEOF
4608
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4609
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4610
  ac_status=$?
4611
  grep -v '^ *+' conftest.er1 >conftest.err
4612
  rm -f conftest.er1
4613
  cat conftest.err >&5
4614
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4615
  (exit $ac_status); } >/dev/null; then
4616
  if test -s conftest.err; then
4617
    ac_cpp_err=$ac_c_preproc_warn_flag
4618
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4619
  else
4620
    ac_cpp_err=
4621
  fi
4622
else
4623
  ac_cpp_err=yes
4624
fi
4625
if test -z "$ac_cpp_err"; then
4626
  ac_header_preproc=yes
4627
else
4628
  echo "$as_me: failed program was:" >&5
4629
sed 's/^/| /' conftest.$ac_ext >&5
4630
4631
  ac_header_preproc=no
4632
fi
4633
rm -f conftest.err conftest.$ac_ext
4634
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4635
echo "${ECHO_T}$ac_header_preproc" >&6
4636
4637
# So?  What about this header?
4638
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4639
  yes:no: )
4640
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4641
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4642
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4643
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4644
    ac_header_preproc=yes
4645
    ;;
4646
  no:yes:* )
4647
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4648
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4649
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4650
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4651
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4652
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4653
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4654
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4655
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4656
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4657
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4658
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4659
    (
4660
      cat <<\_ASBOX
4661
## ------------------------------------------ ##
4662
## Report this to the AC_PACKAGE_NAME lists.  ##
4663
## ------------------------------------------ ##
4664
_ASBOX
4665
    ) |
4666
      sed "s/^/$as_me: WARNING:     /" >&2
4667
    ;;
4668
esac
4669
echo "$as_me:$LINENO: checking for $ac_header" >&5
4670
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4671
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4672
  echo $ECHO_N "(cached) $ECHO_C" >&6
4673
else
4674
  eval "$as_ac_Header=\$ac_header_preproc"
4675
fi
4676
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4677
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4678
4679
fi
4680
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4681
  cat >>confdefs.h <<_ACEOF
4512
  cat >>confdefs.h <<_ACEOF
4682
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4513
#define HAVE_GL_GL_H 1
4683
_ACEOF
4514
_ACEOF
4684
4515
4685
fi
4516
fi
Lines 4687-4694 fi Link Here
4687
done
4518
done
4688
4519
4689
	    if test X"$ac_cv_header_GL_gl_h" != Xyes ; then
4520
	    if test X"$ac_cv_header_GL_gl_h" != Xyes ; then
4690
		{ echo "$as_me:$LINENO: WARNING: No OpenGL headers found, wx will NOT be usable" >&5
4521
		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No OpenGL headers found, wx will NOT be usable" >&5
4691
echo "$as_me: WARNING: No OpenGL headers found, wx will NOT be usable" >&2;}
4522
$as_echo "$as_me: WARNING: No OpenGL headers found, wx will NOT be usable" >&2;}
4692
		CPPFLAGS="$saved_CPPFLAGS"
4523
		CPPFLAGS="$saved_CPPFLAGS"
4693
	    else
4524
	    else
4694
	    	GL_LIBS="-L/usr/local/lib $GL_LIBS"
4525
	    	GL_LIBS="-L/usr/local/lib $GL_LIBS"
Lines 4698-4758 echo "$as_me: WARNING: No OpenGL headers found, wx wil Link Here
4698
       	fi
4529
       	fi
4699
    fi
4530
    fi
4700
else
4531
else
4701
4532
    for ac_header in gl/gl.h
4702
for ac_header in gl/gl.h
4533
do :
4703
do
4534
  ac_fn_c_check_header_compile "$LINENO" "gl/gl.h" "ac_cv_header_gl_gl_h" "#include <windows.h>
4704
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4535
"
4705
echo "$as_me:$LINENO: checking for $ac_header" >&5
4536
if test "x$ac_cv_header_gl_gl_h" = xyes; then :
4706
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4707
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4708
  echo $ECHO_N "(cached) $ECHO_C" >&6
4709
else
4710
  cat >conftest.$ac_ext <<_ACEOF
4711
/* confdefs.h.  */
4712
_ACEOF
4713
cat confdefs.h >>conftest.$ac_ext
4714
cat >>conftest.$ac_ext <<_ACEOF
4715
/* end confdefs.h.  */
4716
#include <windows.h>
4717
4718
#include <$ac_header>
4719
_ACEOF
4720
rm -f conftest.$ac_objext
4721
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4722
  (eval $ac_compile) 2>conftest.er1
4723
  ac_status=$?
4724
  grep -v '^ *+' conftest.er1 >conftest.err
4725
  rm -f conftest.er1
4726
  cat conftest.err >&5
4727
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728
  (exit $ac_status); } &&
4729
	 { ac_try='test -z "$ac_c_werror_flag"
4730
			 || test ! -s conftest.err'
4731
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4732
  (eval $ac_try) 2>&5
4733
  ac_status=$?
4734
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735
  (exit $ac_status); }; } &&
4736
	 { ac_try='test -s conftest.$ac_objext'
4737
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4738
  (eval $ac_try) 2>&5
4739
  ac_status=$?
4740
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741
  (exit $ac_status); }; }; then
4742
  eval "$as_ac_Header=yes"
4743
else
4744
  echo "$as_me: failed program was:" >&5
4745
sed 's/^/| /' conftest.$ac_ext >&5
4746
4747
eval "$as_ac_Header=no"
4748
fi
4749
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4750
fi
4751
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4752
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4753
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4754
  cat >>confdefs.h <<_ACEOF
4537
  cat >>confdefs.h <<_ACEOF
4755
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4538
#define HAVE_GL_GL_H 1
4756
_ACEOF
4539
_ACEOF
4757
4540
4758
fi
4541
fi
Lines 4762-5058 done Link Here
4762
fi
4545
fi
4763
4546
4764
if test X"$host_os" != X"win32" ; then
4547
if test X"$host_os" != X"win32" ; then
4765
4548
    for ac_header in GL/glu.h
4766
for ac_header in GL/glu.h
4549
do :
4767
do
4550
  ac_fn_c_check_header_mongrel "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "$ac_includes_default"
4768
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4551
if test "x$ac_cv_header_GL_glu_h" = xyes; then :
4769
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4770
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4771
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4772
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4773
  echo $ECHO_N "(cached) $ECHO_C" >&6
4774
fi
4775
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4776
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4777
else
4778
  # Is the header compilable?
4779
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4780
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4781
cat >conftest.$ac_ext <<_ACEOF
4782
/* confdefs.h.  */
4783
_ACEOF
4784
cat confdefs.h >>conftest.$ac_ext
4785
cat >>conftest.$ac_ext <<_ACEOF
4786
/* end confdefs.h.  */
4787
$ac_includes_default
4788
#include <$ac_header>
4789
_ACEOF
4790
rm -f conftest.$ac_objext
4791
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4792
  (eval $ac_compile) 2>conftest.er1
4793
  ac_status=$?
4794
  grep -v '^ *+' conftest.er1 >conftest.err
4795
  rm -f conftest.er1
4796
  cat conftest.err >&5
4797
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4798
  (exit $ac_status); } &&
4799
	 { ac_try='test -z "$ac_c_werror_flag"
4800
			 || test ! -s conftest.err'
4801
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4802
  (eval $ac_try) 2>&5
4803
  ac_status=$?
4804
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4805
  (exit $ac_status); }; } &&
4806
	 { ac_try='test -s conftest.$ac_objext'
4807
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4808
  (eval $ac_try) 2>&5
4809
  ac_status=$?
4810
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4811
  (exit $ac_status); }; }; then
4812
  ac_header_compiler=yes
4813
else
4814
  echo "$as_me: failed program was:" >&5
4815
sed 's/^/| /' conftest.$ac_ext >&5
4816
4817
ac_header_compiler=no
4818
fi
4819
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4820
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4821
echo "${ECHO_T}$ac_header_compiler" >&6
4822
4823
# Is the header present?
4824
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4825
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4826
cat >conftest.$ac_ext <<_ACEOF
4827
/* confdefs.h.  */
4828
_ACEOF
4829
cat confdefs.h >>conftest.$ac_ext
4830
cat >>conftest.$ac_ext <<_ACEOF
4831
/* end confdefs.h.  */
4832
#include <$ac_header>
4833
_ACEOF
4834
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4835
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4836
  ac_status=$?
4837
  grep -v '^ *+' conftest.er1 >conftest.err
4838
  rm -f conftest.er1
4839
  cat conftest.err >&5
4840
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841
  (exit $ac_status); } >/dev/null; then
4842
  if test -s conftest.err; then
4843
    ac_cpp_err=$ac_c_preproc_warn_flag
4844
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4845
  else
4846
    ac_cpp_err=
4847
  fi
4848
else
4849
  ac_cpp_err=yes
4850
fi
4851
if test -z "$ac_cpp_err"; then
4852
  ac_header_preproc=yes
4853
else
4854
  echo "$as_me: failed program was:" >&5
4855
sed 's/^/| /' conftest.$ac_ext >&5
4856
4857
  ac_header_preproc=no
4858
fi
4859
rm -f conftest.err conftest.$ac_ext
4860
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4861
echo "${ECHO_T}$ac_header_preproc" >&6
4862
4863
# So?  What about this header?
4864
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4865
  yes:no: )
4866
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4867
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4868
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4869
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4870
    ac_header_preproc=yes
4871
    ;;
4872
  no:yes:* )
4873
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4874
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4875
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4876
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4877
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4878
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4879
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4880
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4881
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4882
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4883
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4884
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4885
    (
4886
      cat <<\_ASBOX
4887
## ------------------------------------------ ##
4888
## Report this to the AC_PACKAGE_NAME lists.  ##
4889
## ------------------------------------------ ##
4890
_ASBOX
4891
    ) |
4892
      sed "s/^/$as_me: WARNING:     /" >&2
4893
    ;;
4894
esac
4895
echo "$as_me:$LINENO: checking for $ac_header" >&5
4896
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4897
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4898
  echo $ECHO_N "(cached) $ECHO_C" >&6
4899
else
4900
  eval "$as_ac_Header=\$ac_header_preproc"
4901
fi
4902
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4903
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4904
4905
fi
4906
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4907
  cat >>confdefs.h <<_ACEOF
4552
  cat >>confdefs.h <<_ACEOF
4908
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4553
#define HAVE_GL_GLU_H 1
4909
_ACEOF
4554
_ACEOF
4910
4555
4911
else
4556
else
4912
4557
  for ac_header in OpenGL/glu.h
4913
for ac_header in OpenGL/glu.h
4558
do :
4914
do
4559
  ac_fn_c_check_header_mongrel "$LINENO" "OpenGL/glu.h" "ac_cv_header_OpenGL_glu_h" "$ac_includes_default"
4915
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4560
if test "x$ac_cv_header_OpenGL_glu_h" = xyes; then :
4916
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4917
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4918
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4919
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4920
  echo $ECHO_N "(cached) $ECHO_C" >&6
4921
fi
4922
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4923
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4924
else
4925
  # Is the header compilable?
4926
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4927
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4928
cat >conftest.$ac_ext <<_ACEOF
4929
/* confdefs.h.  */
4930
_ACEOF
4931
cat confdefs.h >>conftest.$ac_ext
4932
cat >>conftest.$ac_ext <<_ACEOF
4933
/* end confdefs.h.  */
4934
$ac_includes_default
4935
#include <$ac_header>
4936
_ACEOF
4937
rm -f conftest.$ac_objext
4938
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4939
  (eval $ac_compile) 2>conftest.er1
4940
  ac_status=$?
4941
  grep -v '^ *+' conftest.er1 >conftest.err
4942
  rm -f conftest.er1
4943
  cat conftest.err >&5
4944
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4945
  (exit $ac_status); } &&
4946
	 { ac_try='test -z "$ac_c_werror_flag"
4947
			 || test ! -s conftest.err'
4948
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4949
  (eval $ac_try) 2>&5
4950
  ac_status=$?
4951
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952
  (exit $ac_status); }; } &&
4953
	 { ac_try='test -s conftest.$ac_objext'
4954
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4955
  (eval $ac_try) 2>&5
4956
  ac_status=$?
4957
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4958
  (exit $ac_status); }; }; then
4959
  ac_header_compiler=yes
4960
else
4961
  echo "$as_me: failed program was:" >&5
4962
sed 's/^/| /' conftest.$ac_ext >&5
4963
4964
ac_header_compiler=no
4965
fi
4966
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4967
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4968
echo "${ECHO_T}$ac_header_compiler" >&6
4969
4970
# Is the header present?
4971
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4972
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4973
cat >conftest.$ac_ext <<_ACEOF
4974
/* confdefs.h.  */
4975
_ACEOF
4976
cat confdefs.h >>conftest.$ac_ext
4977
cat >>conftest.$ac_ext <<_ACEOF
4978
/* end confdefs.h.  */
4979
#include <$ac_header>
4980
_ACEOF
4981
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4982
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4983
  ac_status=$?
4984
  grep -v '^ *+' conftest.er1 >conftest.err
4985
  rm -f conftest.er1
4986
  cat conftest.err >&5
4987
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988
  (exit $ac_status); } >/dev/null; then
4989
  if test -s conftest.err; then
4990
    ac_cpp_err=$ac_c_preproc_warn_flag
4991
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4992
  else
4993
    ac_cpp_err=
4994
  fi
4995
else
4996
  ac_cpp_err=yes
4997
fi
4998
if test -z "$ac_cpp_err"; then
4999
  ac_header_preproc=yes
5000
else
5001
  echo "$as_me: failed program was:" >&5
5002
sed 's/^/| /' conftest.$ac_ext >&5
5003
5004
  ac_header_preproc=no
5005
fi
5006
rm -f conftest.err conftest.$ac_ext
5007
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5008
echo "${ECHO_T}$ac_header_preproc" >&6
5009
5010
# So?  What about this header?
5011
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5012
  yes:no: )
5013
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5014
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5015
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5016
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5017
    ac_header_preproc=yes
5018
    ;;
5019
  no:yes:* )
5020
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5021
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5022
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5023
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5024
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5025
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5026
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5027
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5028
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5029
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5030
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5031
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5032
    (
5033
      cat <<\_ASBOX
5034
## ------------------------------------------ ##
5035
## Report this to the AC_PACKAGE_NAME lists.  ##
5036
## ------------------------------------------ ##
5037
_ASBOX
5038
    ) |
5039
      sed "s/^/$as_me: WARNING:     /" >&2
5040
    ;;
5041
esac
5042
echo "$as_me:$LINENO: checking for $ac_header" >&5
5043
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5044
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5045
  echo $ECHO_N "(cached) $ECHO_C" >&6
5046
else
5047
  eval "$as_ac_Header=\$ac_header_preproc"
5048
fi
5049
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5050
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5051
5052
fi
5053
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5054
  cat >>confdefs.h <<_ACEOF
4561
  cat >>confdefs.h <<_ACEOF
5055
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4562
#define HAVE_OPENGL_GLU_H 1
5056
_ACEOF
4563
_ACEOF
5057
4564
5058
fi
4565
fi
Lines 5066-5130 done Link Here
5066
    if test X"$ac_cv_header_GL_glu_h" != Xyes &&
4573
    if test X"$ac_cv_header_GL_glu_h" != Xyes &&
5067
        test X"$ac_cv_header_OpenGL_glu_h" != Xyes
4574
        test X"$ac_cv_header_OpenGL_glu_h" != Xyes
5068
    then
4575
    then
5069
	{ echo "$as_me:$LINENO: WARNING: No GLU headers found, wx will NOT be usable" >&5
4576
	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No GLU headers found, wx will NOT be usable" >&5
5070
echo "$as_me: WARNING: No GLU headers found, wx will NOT be usable" >&2;}
4577
$as_echo "$as_me: WARNING: No GLU headers found, wx will NOT be usable" >&2;}
5071
    fi
4578
    fi
5072
else
4579
else
5073
4580
    for ac_header in gl/glu.h
5074
for ac_header in gl/glu.h
4581
do :
5075
do
4582
  ac_fn_c_check_header_compile "$LINENO" "gl/glu.h" "ac_cv_header_gl_glu_h" "#include <windows.h>
5076
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4583
"
5077
echo "$as_me:$LINENO: checking for $ac_header" >&5
4584
if test "x$ac_cv_header_gl_glu_h" = xyes; then :
5078
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5079
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5080
  echo $ECHO_N "(cached) $ECHO_C" >&6
5081
else
5082
  cat >conftest.$ac_ext <<_ACEOF
5083
/* confdefs.h.  */
5084
_ACEOF
5085
cat confdefs.h >>conftest.$ac_ext
5086
cat >>conftest.$ac_ext <<_ACEOF
5087
/* end confdefs.h.  */
5088
#include <windows.h>
5089
5090
#include <$ac_header>
5091
_ACEOF
5092
rm -f conftest.$ac_objext
5093
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5094
  (eval $ac_compile) 2>conftest.er1
5095
  ac_status=$?
5096
  grep -v '^ *+' conftest.er1 >conftest.err
5097
  rm -f conftest.er1
5098
  cat conftest.err >&5
5099
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100
  (exit $ac_status); } &&
5101
	 { ac_try='test -z "$ac_c_werror_flag"
5102
			 || test ! -s conftest.err'
5103
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5104
  (eval $ac_try) 2>&5
5105
  ac_status=$?
5106
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107
  (exit $ac_status); }; } &&
5108
	 { ac_try='test -s conftest.$ac_objext'
5109
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5110
  (eval $ac_try) 2>&5
5111
  ac_status=$?
5112
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5113
  (exit $ac_status); }; }; then
5114
  eval "$as_ac_Header=yes"
5115
else
5116
  echo "$as_me: failed program was:" >&5
5117
sed 's/^/| /' conftest.$ac_ext >&5
5118
5119
eval "$as_ac_Header=no"
5120
fi
5121
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5122
fi
5123
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5124
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5125
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5126
  cat >>confdefs.h <<_ACEOF
4585
  cat >>confdefs.h <<_ACEOF
5127
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4586
#define HAVE_GL_GLU_H 1
5128
_ACEOF
4587
_ACEOF
5129
4588
5130
fi
4589
fi
Lines 5146-5188 CFLAGS="$CFLAGS $CPPFLAGS $C_ONLY_FLAGS" Link Here
5146
4605
5147
4606
5148
if test X"$WX_BUILDING_INSIDE_ERLSRC" != X"true" ; then
4607
if test X"$WX_BUILDING_INSIDE_ERLSRC" != X"true" ; then
5149
    echo "$as_me:$LINENO: checking for erl" >&5
4608
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erl" >&5
5150
echo $ECHO_N "checking for erl... $ECHO_C" >&6
4609
$as_echo_n "checking for erl... " >&6; }
5151
    if test X$ERL != X; then
4610
    if test X$ERL != X; then
5152
       echo "$as_me:$LINENO: result: yes; using $ERL" >&5
4611
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using $ERL" >&5
5153
echo "${ECHO_T}yes; using $ERL" >&6
4612
$as_echo "yes; using $ERL" >&6; }
5154
    else
4613
    else
5155
       type erl >/dev/null 2>&1
4614
       type erl >/dev/null 2>&1
5156
       if test $? -eq 0 ; then
4615
       if test $? -eq 0 ; then
5157
          ERL=erl
4616
          ERL=erl
5158
          echo "$as_me:$LINENO: result: yes" >&5
4617
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5159
echo "${ECHO_T}yes" >&6
4618
$as_echo "yes" >&6; }
5160
       else
4619
       else
5161
	  { { echo "$as_me:$LINENO: error: Cannot find erl in path" >&5
4620
	  as_fn_error $? "Cannot find erl in path" "$LINENO" 5
5162
echo "$as_me: error: Cannot find erl in path" >&2;}
5163
   { (exit 1); exit 1; }; }
5164
       fi
4621
       fi
5165
    fi
4622
    fi
5166
    echo "$as_me:$LINENO: checking for erlc" >&5
4623
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erlc" >&5
5167
echo $ECHO_N "checking for erlc... $ECHO_C" >&6
4624
$as_echo_n "checking for erlc... " >&6; }
5168
    if test X$ERLC != X; then
4625
    if test X$ERLC != X; then
5169
       echo "$as_me:$LINENO: result: yes; using $ERLC" >&5
4626
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using $ERLC" >&5
5170
echo "${ECHO_T}yes; using $ERLC" >&6
4627
$as_echo "yes; using $ERLC" >&6; }
5171
    else
4628
    else
5172
       type erlc >/dev/null 2>&1
4629
       type erlc >/dev/null 2>&1
5173
       if test $? -eq 0 ; then
4630
       if test $? -eq 0 ; then
5174
          ERLC=erlc
4631
          ERLC=erlc
5175
          echo "$as_me:$LINENO: result: yes" >&5
4632
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5176
echo "${ECHO_T}yes" >&6
4633
$as_echo "yes" >&6; }
5177
       else
4634
       else
5178
	  { { echo "$as_me:$LINENO: error: Cannot find erlc in path" >&5
4635
	  as_fn_error $? "Cannot find erlc in path" "$LINENO" 5
5179
echo "$as_me: error: Cannot find erlc in path" >&2;}
5180
   { (exit 1); exit 1; }; }
5181
       fi
4636
       fi
5182
    fi
4637
    fi
5183
    ERLANG_ROOT_DIR=`erl -noshell -eval 'io:format("~s~n",[code:root_dir()])' -s erlang halt`
4638
    ERLANG_ROOT_DIR=`erl -noshell -eval 'io:format("~s~n",[code:root_dir()])' -s erlang halt`
5184
    { echo "$as_me:$LINENO: ERL ROOT DIR: $ERLANG_ROOT_DIR" >&5
4639
    { $as_echo "$as_me:${as_lineno-$LINENO}: ERL ROOT DIR: $ERLANG_ROOT_DIR" >&5
5185
echo "$as_me: ERL ROOT DIR: $ERLANG_ROOT_DIR" >&6;}
4640
$as_echo "$as_me: ERL ROOT DIR: $ERLANG_ROOT_DIR" >&6;}
5186
    ERLWX_VSN=`grep WX_VSN $srcdir/vsn.mk | sed 's/^.*= *//'`
4641
    ERLWX_VSN=`grep WX_VSN $srcdir/vsn.mk | sed 's/^.*= *//'`
5187
else
4642
else
5188
    ERLC=erlc
4643
    ERLC=erlc
Lines 5272-5312 elif test X"$MIXED_CYGWIN_VC" = X"no" -a X"$MIXED_MSY Link Here
5272
4727
5273
4728
5274
4729
5275
# Check whether --with-wxdir or --without-wxdir was given.
4730
# Check whether --with-wxdir was given.
5276
if test "${with_wxdir+set}" = set; then
4731
if test "${with_wxdir+set}" = set; then :
5277
  withval="$with_wxdir"
4732
  withval=$with_wxdir;  wx_config_name="$withval/wx-config"
5278
   wx_config_name="$withval/wx-config"
5279
                  wx_config_args="--inplace"
4733
                  wx_config_args="--inplace"
5280
fi;
4734
fi
5281
4735
5282
# Check whether --with-wx-config or --without-wx-config was given.
5283
if test "${with_wx_config+set}" = set; then
5284
  withval="$with_wx_config"
5285
  wx_config_name="$withval"
5286
fi;
5287
4736
5288
# Check whether --with-wx-prefix or --without-wx-prefix was given.
4737
# Check whether --with-wx-config was given.
5289
if test "${with_wx_prefix+set}" = set; then
4738
if test "${with_wx_config+set}" = set; then :
5290
  withval="$with_wx_prefix"
4739
  withval=$with_wx_config; wx_config_name="$withval"
5291
  wx_config_prefix="$withval"
4740
fi
4741
4742
4743
# Check whether --with-wx-prefix was given.
4744
if test "${with_wx_prefix+set}" = set; then :
4745
  withval=$with_wx_prefix; wx_config_prefix="$withval"
5292
else
4746
else
5293
  wx_config_prefix=""
4747
  wx_config_prefix=""
5294
fi;
4748
fi
5295
4749
5296
# Check whether --with-wx-exec-prefix or --without-wx-exec-prefix was given.
4750
5297
if test "${with_wx_exec_prefix+set}" = set; then
4751
# Check whether --with-wx-exec-prefix was given.
5298
  withval="$with_wx_exec_prefix"
4752
if test "${with_wx_exec_prefix+set}" = set; then :
5299
  wx_config_exec_prefix="$withval"
4753
  withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
5300
else
4754
else
5301
  wx_config_exec_prefix=""
4755
  wx_config_exec_prefix=""
5302
fi;
4756
fi
5303
4757
4758
5304
    reqwx=2.8.4
4759
    reqwx=2.8.4
5305
    # Try to find debug libs first
4760
    # Try to find debug libs first
5306
    # wxelibs=core,base,gl,aui,adv
4761
    # wxelibs=core,base,gl,aui,adv
5307
4762
5308
    echo "$as_me:$LINENO: checking for debug build of wxWidgets" >&5
4763
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for debug build of wxWidgets" >&5
5309
echo $ECHO_N "checking for debug build of wxWidgets... $ECHO_C" >&6
4764
$as_echo_n "checking for debug build of wxWidgets... " >&6; }
5310
4765
5311
4766
5312
4767
Lines 5331-5348 echo $ECHO_N "checking for debug build of wxWidgets... Link Here
5331
  fi
4786
  fi
5332
4787
5333
    if test -x "$WX_CONFIG_NAME" ; then
4788
    if test -x "$WX_CONFIG_NAME" ; then
5334
     echo "$as_me:$LINENO: checking for wx-config" >&5
4789
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
5335
echo $ECHO_N "checking for wx-config... $ECHO_C" >&6
4790
$as_echo_n "checking for wx-config... " >&6; }
5336
     WX_CONFIG_PATH="$WX_CONFIG_NAME"
4791
     WX_CONFIG_PATH="$WX_CONFIG_NAME"
5337
     echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
4792
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
5338
echo "${ECHO_T}$WX_CONFIG_PATH" >&6
4793
$as_echo "$WX_CONFIG_PATH" >&6; }
5339
  else
4794
  else
5340
     # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
4795
     # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
5341
set dummy $WX_CONFIG_NAME; ac_word=$2
4796
set dummy $WX_CONFIG_NAME; ac_word=$2
5342
echo "$as_me:$LINENO: checking for $ac_word" >&5
4797
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5343
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4798
$as_echo_n "checking for $ac_word... " >&6; }
5344
if test "${ac_cv_path_WX_CONFIG_PATH+set}" = set; then
4799
if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
5345
  echo $ECHO_N "(cached) $ECHO_C" >&6
4800
  $as_echo_n "(cached) " >&6
5346
else
4801
else
5347
  case $WX_CONFIG_PATH in
4802
  case $WX_CONFIG_PATH in
5348
  [\\/]* | ?:[\\/]*)
4803
  [\\/]* | ?:[\\/]*)
Lines 5355-5383 for as_dir in $as_dummy Link Here
5355
do
4810
do
5356
  IFS=$as_save_IFS
4811
  IFS=$as_save_IFS
5357
  test -z "$as_dir" && as_dir=.
4812
  test -z "$as_dir" && as_dir=.
5358
  for ac_exec_ext in '' $ac_executable_extensions; do
4813
    for ac_exec_ext in '' $ac_executable_extensions; do
5359
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4814
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5360
    ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
4815
    ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
5361
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4816
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5362
    break 2
4817
    break 2
5363
  fi
4818
  fi
5364
done
4819
done
5365
done
4820
  done
4821
IFS=$as_save_IFS
5366
4822
5367
  test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
4823
  test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
5368
  ;;
4824
  ;;
5369
esac
4825
esac
5370
fi
4826
fi
5371
WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
4827
WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
5372
5373
if test -n "$WX_CONFIG_PATH"; then
4828
if test -n "$WX_CONFIG_PATH"; then
5374
  echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
4829
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
5375
echo "${ECHO_T}$WX_CONFIG_PATH" >&6
4830
$as_echo "$WX_CONFIG_PATH" >&6; }
5376
else
4831
else
5377
  echo "$as_me:$LINENO: result: no" >&5
4832
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5378
echo "${ECHO_T}no" >&6
4833
$as_echo "no" >&6; }
5379
fi
4834
fi
5380
4835
4836
5381
  fi
4837
  fi
5382
4838
5383
  if test "$WX_CONFIG_PATH" != "no" ; then
4839
  if test "$WX_CONFIG_PATH" != "no" ; then
Lines 5385-5395 fi Link Here
5385
4841
5386
    min_wx_version=$reqwx
4842
    min_wx_version=$reqwx
5387
    if test -z "--unicode --debug=yes" ; then
4843
    if test -z "--unicode --debug=yes" ; then
5388
      echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version" >&5
4844
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
5389
echo $ECHO_N "checking for wxWidgets version >= $min_wx_version... $ECHO_C" >&6
4845
$as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
5390
    else
4846
    else
5391
      echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version (--unicode --debug=yes)" >&5
4847
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version (--unicode --debug=yes)" >&5
5392
echo $ECHO_N "checking for wxWidgets version >= $min_wx_version (--unicode --debug=yes)... $ECHO_C" >&6
4848
$as_echo_n "checking for wxWidgets version >= $min_wx_version (--unicode --debug=yes)... " >&6; }
5393
    fi
4849
    fi
5394
4850
5395
            WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args --unicode --debug=yes"
4851
            WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args --unicode --debug=yes"
Lines 5431-5449 echo $ECHO_N "checking for wxWidgets version >= $min_w Link Here
5431
4887
5432
4888
5433
    if test -n "$wx_ver_ok"; then
4889
    if test -n "$wx_ver_ok"; then
5434
      echo "$as_me:$LINENO: result: yes (version $WX_VERSION)" >&5
4890
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
5435
echo "${ECHO_T}yes (version $WX_VERSION)" >&6
4891
$as_echo "yes (version $WX_VERSION)" >&6; }
5436
      WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs stc,xrc,html,adv,xml,core,base,gl,aui`
4892
      WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs stc,xrc,html,adv,xml,core,base,gl,aui`
5437
4893
5438
                              echo "$as_me:$LINENO: checking for wxWidgets static library" >&5
4894
                              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
5439
echo $ECHO_N "checking for wxWidgets static library... $ECHO_C" >&6
4895
$as_echo_n "checking for wxWidgets static library... " >&6; }
5440
      WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs stc,xrc,html,adv,xml,core,base,gl,aui 2>/dev/null`
4896
      WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs stc,xrc,html,adv,xml,core,base,gl,aui 2>/dev/null`
5441
      if test "x$WX_LIBS_STATIC" = "x"; then
4897
      if test "x$WX_LIBS_STATIC" = "x"; then
5442
        echo "$as_me:$LINENO: result: no" >&5
4898
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5443
echo "${ECHO_T}no" >&6
4899
$as_echo "no" >&6; }
5444
      else
4900
      else
5445
        echo "$as_me:$LINENO: result: yes" >&5
4901
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5446
echo "${ECHO_T}yes" >&6
4902
$as_echo "yes" >&6; }
5447
      fi
4903
      fi
5448
4904
5449
            wx_has_cppflags=""
4905
            wx_has_cppflags=""
Lines 5500-5510 echo "${ECHO_T}yes" >&6 Link Here
5500
    else
4956
    else
5501
4957
5502
       if test "x$WX_VERSION" = x; then
4958
       if test "x$WX_VERSION" = x; then
5503
                    echo "$as_me:$LINENO: result: no" >&5
4959
                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5504
echo "${ECHO_T}no" >&6
4960
$as_echo "no" >&6; }
5505
       else
4961
       else
5506
          echo "$as_me:$LINENO: result: no (version $WX_VERSION is not new enough)" >&5
4962
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
5507
echo "${ECHO_T}no (version $WX_VERSION is not new enough)" >&6
4963
$as_echo "no (version $WX_VERSION is not new enough)" >&6; }
5508
       fi
4964
       fi
5509
4965
5510
       WX_CFLAGS=""
4966
       WX_CFLAGS=""
Lines 5581-5588 echo "${ECHO_T}no (version $WX_VERSION is not new enou Link Here
5581
5037
5582
5038
5583
5039
5584
    echo "$as_me:$LINENO: checking for standard build of wxWidgets" >&5
5040
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for standard build of wxWidgets" >&5
5585
echo $ECHO_N "checking for standard build of wxWidgets... $ECHO_C" >&6
5041
$as_echo_n "checking for standard build of wxWidgets... " >&6; }
5586
5042
5587
5043
5588
    if test x${WX_CONFIG_NAME+set} != xset ; then
5044
    if test x${WX_CONFIG_NAME+set} != xset ; then
Lines 5606-5623 echo $ECHO_N "checking for standard build of wxWidgets Link Here
5606
  fi
5062
  fi
5607
5063
5608
    if test -x "$WX_CONFIG_NAME" ; then
5064
    if test -x "$WX_CONFIG_NAME" ; then
5609
     echo "$as_me:$LINENO: checking for wx-config" >&5
5065
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
5610
echo $ECHO_N "checking for wx-config... $ECHO_C" >&6
5066
$as_echo_n "checking for wx-config... " >&6; }
5611
     WX_CONFIG_PATH="$WX_CONFIG_NAME"
5067
     WX_CONFIG_PATH="$WX_CONFIG_NAME"
5612
     echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
5068
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
5613
echo "${ECHO_T}$WX_CONFIG_PATH" >&6
5069
$as_echo "$WX_CONFIG_PATH" >&6; }
5614
  else
5070
  else
5615
     # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
5071
     # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
5616
set dummy $WX_CONFIG_NAME; ac_word=$2
5072
set dummy $WX_CONFIG_NAME; ac_word=$2
5617
echo "$as_me:$LINENO: checking for $ac_word" >&5
5073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5618
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5074
$as_echo_n "checking for $ac_word... " >&6; }
5619
if test "${ac_cv_path_WX_CONFIG_PATH+set}" = set; then
5075
if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
5620
  echo $ECHO_N "(cached) $ECHO_C" >&6
5076
  $as_echo_n "(cached) " >&6
5621
else
5077
else
5622
  case $WX_CONFIG_PATH in
5078
  case $WX_CONFIG_PATH in
5623
  [\\/]* | ?:[\\/]*)
5079
  [\\/]* | ?:[\\/]*)
Lines 5630-5658 for as_dir in $as_dummy Link Here
5630
do
5086
do
5631
  IFS=$as_save_IFS
5087
  IFS=$as_save_IFS
5632
  test -z "$as_dir" && as_dir=.
5088
  test -z "$as_dir" && as_dir=.
5633
  for ac_exec_ext in '' $ac_executable_extensions; do
5089
    for ac_exec_ext in '' $ac_executable_extensions; do
5634
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5090
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5635
    ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
5091
    ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
5636
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5092
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5637
    break 2
5093
    break 2
5638
  fi
5094
  fi
5639
done
5095
done
5640
done
5096
  done
5097
IFS=$as_save_IFS
5641
5098
5642
  test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
5099
  test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
5643
  ;;
5100
  ;;
5644
esac
5101
esac
5645
fi
5102
fi
5646
WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
5103
WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
5647
5648
if test -n "$WX_CONFIG_PATH"; then
5104
if test -n "$WX_CONFIG_PATH"; then
5649
  echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
5105
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
5650
echo "${ECHO_T}$WX_CONFIG_PATH" >&6
5106
$as_echo "$WX_CONFIG_PATH" >&6; }
5651
else
5107
else
5652
  echo "$as_me:$LINENO: result: no" >&5
5108
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5653
echo "${ECHO_T}no" >&6
5109
$as_echo "no" >&6; }
5654
fi
5110
fi
5655
5111
5112
5656
  fi
5113
  fi
5657
5114
5658
  if test "$WX_CONFIG_PATH" != "no" ; then
5115
  if test "$WX_CONFIG_PATH" != "no" ; then
Lines 5660-5670 fi Link Here
5660
5117
5661
    min_wx_version=$reqwx
5118
    min_wx_version=$reqwx
5662
    if test -z "--unicode --debug=no" ; then
5119
    if test -z "--unicode --debug=no" ; then
5663
      echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version" >&5
5120
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
5664
echo $ECHO_N "checking for wxWidgets version >= $min_wx_version... $ECHO_C" >&6
5121
$as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
5665
    else
5122
    else
5666
      echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version (--unicode --debug=no)" >&5
5123
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version (--unicode --debug=no)" >&5
5667
echo $ECHO_N "checking for wxWidgets version >= $min_wx_version (--unicode --debug=no)... $ECHO_C" >&6
5124
$as_echo_n "checking for wxWidgets version >= $min_wx_version (--unicode --debug=no)... " >&6; }
5668
    fi
5125
    fi
5669
5126
5670
            WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args --unicode --debug=no"
5127
            WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args --unicode --debug=no"
Lines 5706-5724 echo $ECHO_N "checking for wxWidgets version >= $min_w Link Here
5706
5163
5707
5164
5708
    if test -n "$wx_ver_ok"; then
5165
    if test -n "$wx_ver_ok"; then
5709
      echo "$as_me:$LINENO: result: yes (version $WX_VERSION)" >&5
5166
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
5710
echo "${ECHO_T}yes (version $WX_VERSION)" >&6
5167
$as_echo "yes (version $WX_VERSION)" >&6; }
5711
      WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs stc,xrc,html,adv,xml,core,base,gl,aui`
5168
      WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs stc,xrc,html,adv,xml,core,base,gl,aui`
5712
5169
5713
                              echo "$as_me:$LINENO: checking for wxWidgets static library" >&5
5170
                              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
5714
echo $ECHO_N "checking for wxWidgets static library... $ECHO_C" >&6
5171
$as_echo_n "checking for wxWidgets static library... " >&6; }
5715
      WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs stc,xrc,html,adv,xml,core,base,gl,aui 2>/dev/null`
5172
      WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs stc,xrc,html,adv,xml,core,base,gl,aui 2>/dev/null`
5716
      if test "x$WX_LIBS_STATIC" = "x"; then
5173
      if test "x$WX_LIBS_STATIC" = "x"; then
5717
        echo "$as_me:$LINENO: result: no" >&5
5174
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718
echo "${ECHO_T}no" >&6
5175
$as_echo "no" >&6; }
5719
      else
5176
      else
5720
        echo "$as_me:$LINENO: result: yes" >&5
5177
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5721
echo "${ECHO_T}yes" >&6
5178
$as_echo "yes" >&6; }
5722
      fi
5179
      fi
5723
5180
5724
            wx_has_cppflags=""
5181
            wx_has_cppflags=""
Lines 5775-5785 echo "${ECHO_T}yes" >&6 Link Here
5775
    else
5232
    else
5776
5233
5777
       if test "x$WX_VERSION" = x; then
5234
       if test "x$WX_VERSION" = x; then
5778
                    echo "$as_me:$LINENO: result: no" >&5
5235
                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5779
echo "${ECHO_T}no" >&6
5236
$as_echo "no" >&6; }
5780
       else
5237
       else
5781
          echo "$as_me:$LINENO: result: no (version $WX_VERSION is not new enough)" >&5
5238
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
5782
echo "${ECHO_T}no (version $WX_VERSION is not new enough)" >&6
5239
$as_echo "no (version $WX_VERSION is not new enough)" >&6; }
5783
       fi
5240
       fi
5784
5241
5785
       WX_CFLAGS=""
5242
       WX_CFLAGS=""
Lines 5878-5904 echo "${ECHO_T}no (version $WX_VERSION is not new enou Link Here
5878
5335
5879
    if test "$wxWin" != 1; then
5336
    if test "$wxWin" != 1; then
5880
        if test X"$WX_BUILDING_INSIDE_ERLSRC" != X"true" ; then
5337
        if test X"$WX_BUILDING_INSIDE_ERLSRC" != X"true" ; then
5881
	   { { echo "$as_me:$LINENO: error:
5338
	   as_fn_error $? "
5882
                wxWidgets must be installed on your system.
5339
                wxWidgets must be installed on your system.
5883
5340
5884
		Please check that wx-config is in path, the directory
5341
		Please check that wx-config is in path, the directory
5885
		where wxWidgets libraries are installed (returned by
5342
		where wxWidgets libraries are installed (returned by
5886
		'wx-config --libs' or 'wx-config --static --libs' command)
5343
		'wx-config --libs' or 'wx-config --static --libs' command)
5887
		is in LD_LIBRARY_PATH or equivalent variable and
5344
		is in LD_LIBRARY_PATH or equivalent variable and
5888
		wxWidgets version is $reqwx or above." >&5
5345
		wxWidgets version is $reqwx or above." "$LINENO" 5
5889
echo "$as_me: error:
5890
                wxWidgets must be installed on your system.
5891
5892
		Please check that wx-config is in path, the directory
5893
		where wxWidgets libraries are installed (returned by
5894
		'wx-config --libs' or 'wx-config --static --libs' command)
5895
		is in LD_LIBRARY_PATH or equivalent variable and
5896
		wxWidgets version is $reqwx or above." >&2;}
5897
   { (exit 1); exit 1; }; }
5898
	else
5346
	else
5899
	   echo "wxWidgets not found, wx will NOT be usable" > ./CONF_INFO
5347
	   echo "wxWidgets not found, wx will NOT be usable" > ./CONF_INFO
5900
	   WXERL_CAN_BUILD_DRIVER=false
5348
	   WXERL_CAN_BUILD_DRIVER=false
5901
	   { echo "$as_me:$LINENO: WARNING:
5349
	   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
5902
                wxWidgets must be installed on your system.
5350
                wxWidgets must be installed on your system.
5903
5351
5904
		Please check that wx-config is in path, the directory
5352
		Please check that wx-config is in path, the directory
Lines 5906-5912 echo "$as_me: error: Link Here
5906
		'wx-config --libs' or 'wx-config --static --libs' command)
5354
		'wx-config --libs' or 'wx-config --static --libs' command)
5907
		is in LD_LIBRARY_PATH or equivalent variable and
5355
		is in LD_LIBRARY_PATH or equivalent variable and
5908
		wxWidgets version is $reqwx or above." >&5
5356
		wxWidgets version is $reqwx or above." >&5
5909
echo "$as_me: WARNING:
5357
$as_echo "$as_me: WARNING:
5910
                wxWidgets must be installed on your system.
5358
                wxWidgets must be installed on your system.
5911
5359
5912
		Please check that wx-config is in path, the directory
5360
		Please check that wx-config is in path, the directory
Lines 5917-5928 echo "$as_me: WARNING: Link Here
5917
	fi
5365
	fi
5918
    fi
5366
    fi
5919
else
5367
else
5920
    echo "$as_me:$LINENO: checking for wxWidgets in standard locations" >&5
5368
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets in standard locations" >&5
5921
echo $ECHO_N "checking for wxWidgets in standard locations... $ECHO_C" >&6
5369
$as_echo_n "checking for wxWidgets in standard locations... " >&6; }
5922
5370
5923
    # Check whether --with-wxdir was given.
5371
    # Check whether --with-wxdir was given.
5924
    { echo "$as_me:$LINENO: OptionCheck: $with_wxdir $with_wx_prefix" >&5
5372
    { $as_echo "$as_me:${as_lineno-$LINENO}: OptionCheck: $with_wxdir $with_wx_prefix" >&5
5925
echo "$as_me: OptionCheck: $with_wxdir $with_wx_prefix" >&6;}
5373
$as_echo "$as_me: OptionCheck: $with_wxdir $with_wx_prefix" >&6;}
5926
5374
5927
    if test "${with_wxdir+set}" = set; then :
5375
    if test "${with_wxdir+set}" = set; then :
5928
      withval=$with_wxdir;  CWXWIN0=$withval
5376
      withval=$with_wxdir;  CWXWIN0=$withval
Lines 5976-5983 echo "$as_me: OptionCheck: $with_wxdir $with_wx_prefix Link Here
5976
    CWXPATH="$CWXWIN0 $CWXWIN1 $CWXWIN2 $CWX_DOCUMENTED $CWXWIN3 $CWXWIN4"
5424
    CWXPATH="$CWXWIN0 $CWXWIN1 $CWXWIN2 $CWX_DOCUMENTED $CWXWIN3 $CWXWIN4"
5977
5425
5978
    for dir in $CWXPATH; do
5426
    for dir in $CWXPATH; do
5979
        { echo "$as_me:$LINENO: Checking: $dir" >&5
5427
        { $as_echo "$as_me:${as_lineno-$LINENO}: Checking: $dir" >&5
5980
echo "$as_me: Checking: $dir" >&6;}
5428
$as_echo "$as_me: Checking: $dir" >&6;}
5981
	if test -f $dir/include/wx/wx.h; then
5429
	if test -f $dir/include/wx/wx.h; then
5982
	    WXINCLUDE_MSVC=$dir/include/msvc
5430
	    WXINCLUDE_MSVC=$dir/include/msvc
5983
	    WXINCLUDE_PLAIN=$dir/include
5431
	    WXINCLUDE_PLAIN=$dir/include
Lines 6007-6031 echo "$as_me: Checking: $dir" >&6;} Link Here
6007
		for lib in $WX_LIBS0 $WX_LIBS1 $WX_LIBS2 $WX_LIBS3 $WX_SYSLIBS; do
5455
		for lib in $WX_LIBS0 $WX_LIBS1 $WX_LIBS2 $WX_LIBS3 $WX_SYSLIBS; do
6008
		   WX_LIBS_STATIC="$WX_LIBS_STATIC -l$lib"
5456
		   WX_LIBS_STATIC="$WX_LIBS_STATIC -l$lib"
6009
		done
5457
		done
6010
		echo "$as_me:$LINENO: result: $dir" >&5
5458
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dir" >&5
6011
echo "${ECHO_T}$dir" >&6
5459
$as_echo "$dir" >&6; }
6012
		break
5460
		break
6013
	    fi
5461
	    fi
6014
	fi
5462
	fi
6015
    done
5463
    done
6016
5464
6017
    if test -z "$WX_LIBS_STATIC"; then
5465
    if test -z "$WX_LIBS_STATIC"; then
6018
	echo "$as_me:$LINENO: result: failed" >&5
5466
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6019
echo "${ECHO_T}failed" >&6
5467
$as_echo "failed" >&6; }
6020
        if test X"$WX_BUILDING_INSIDE_ERLSRC" != X"true" ; then
5468
        if test X"$WX_BUILDING_INSIDE_ERLSRC" != X"true" ; then
6021
		{ { echo "$as_me:$LINENO: error: Cannot find core lib version for wxWidgets" >&5
5469
		as_fn_error $? "Cannot find core lib version for wxWidgets" "$LINENO" 5
6022
echo "$as_me: error: Cannot find core lib version for wxWidgets" >&2;}
6023
   { (exit 1); exit 1; }; }
6024
	else
5470
	else
6025
		echo "No usable wxWidgets not found, wx will not be useable" > ./CONF_INFO
5471
		echo "No usable wxWidgets not found, wx will not be useable" > ./CONF_INFO
6026
		WXERL_CAN_BUILD_DRIVER=false
5472
		WXERL_CAN_BUILD_DRIVER=false
6027
		{ echo "$as_me:$LINENO: WARNING: Cannot find core lib version for wxWidgets" >&5
5473
		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find core lib version for wxWidgets" >&5
6028
echo "$as_me: WARNING: Cannot find core lib version for wxWidgets" >&2;}
5474
$as_echo "$as_me: WARNING: Cannot find core lib version for wxWidgets" >&2;}
6029
	fi
5475
	fi
6030
    fi
5476
    fi
6031
    WX_HAVE_STATIC_LIBS=true
5477
    WX_HAVE_STATIC_LIBS=true
Lines 6040-6048 if test "$WXERL_CAN_BUILD_DRIVER" != "false"; then Link Here
6040
5486
6041
5487
6042
5488
6043
echo "$as_me:$LINENO: checking if wxwidgets have opengl support" >&5
5489
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxwidgets have opengl support" >&5
6044
echo $ECHO_N "checking if wxwidgets have opengl support... $ECHO_C" >&6
5490
$as_echo_n "checking if wxwidgets have opengl support... " >&6; }
6045
ac_ext=cc
5491
ac_ext=cpp
6046
ac_cpp='$CXXCPP $CPPFLAGS'
5492
ac_cpp='$CXXCPP $CPPFLAGS'
6047
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5493
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6048
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5494
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
Lines 6052-6062 saved_CXXFLAGS=$CXXFLAGS Link Here
6052
CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS"
5498
CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS"
6053
5499
6054
5500
6055
cat >conftest.$ac_ext <<_ACEOF
5501
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6056
/* confdefs.h.  */
6057
_ACEOF
6058
cat confdefs.h >>conftest.$ac_ext
6059
cat >>conftest.$ac_ext <<_ACEOF
6060
/* end confdefs.h.  */
5502
/* end confdefs.h.  */
6061
5503
6062
  #ifdef WIN32
5504
  #ifdef WIN32
Lines 6078-6118 main () Link Here
6078
  return 0;
5520
  return 0;
6079
}
5521
}
6080
_ACEOF
5522
_ACEOF
6081
rm -f conftest.$ac_objext
5523
if ac_fn_cxx_try_compile "$LINENO"; then :
6082
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6083
  (eval $ac_compile) 2>conftest.er1
6084
  ac_status=$?
6085
  grep -v '^ *+' conftest.er1 >conftest.err
6086
  rm -f conftest.er1
6087
  cat conftest.err >&5
6088
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6089
  (exit $ac_status); } &&
6090
	 { ac_try='test -z "$ac_cxx_werror_flag"
6091
			 || test ! -s conftest.err'
6092
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6093
  (eval $ac_try) 2>&5
6094
  ac_status=$?
6095
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6096
  (exit $ac_status); }; } &&
6097
	 { ac_try='test -s conftest.$ac_objext'
6098
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6099
  (eval $ac_try) 2>&5
6100
  ac_status=$?
6101
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6102
  (exit $ac_status); }; }; then
6103
  HAVE_GL_SUPPORT=yes
5524
  HAVE_GL_SUPPORT=yes
6104
5525
6105
cat >>confdefs.h <<\_ACEOF
5526
$as_echo "#define HAVE_GL_SUPPORT 1" >>confdefs.h
6106
#define HAVE_GL_SUPPORT 1
6107
_ACEOF
6108
5527
6109
else
5528
else
6110
  echo "$as_me: failed program was:" >&5
5529
  HAVE_GL_SUPPORT=no
6111
sed 's/^/| /' conftest.$ac_ext >&5
6112
6113
HAVE_GL_SUPPORT=no
6114
fi
5530
fi
6115
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5531
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6116
5532
6117
CXXFLAGS=$saved_CXXFLAGS
5533
CXXFLAGS=$saved_CXXFLAGS
6118
ac_ext=c
5534
ac_ext=c
Lines 6121-6128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext Link Here
6121
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5537
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6122
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5538
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6123
5539
6124
echo "$as_me:$LINENO: result: $HAVE_GL_SUPPORT" >&5
5540
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_GL_SUPPORT" >&5
6125
echo "${ECHO_T}$HAVE_GL_SUPPORT" >&6
5541
$as_echo "$HAVE_GL_SUPPORT" >&6; }
6126
5542
6127
5543
6128
if test X"$HAVE_GL_SUPPORT" != X"yes" ; then
5544
if test X"$HAVE_GL_SUPPORT" != X"yes" ; then
Lines 6131-6148 if test X"$HAVE_GL_SUPPORT" != X"yes" ; then Link Here
6131
fi
5547
fi
6132
5548
6133
5549
6134
echo "$as_me:$LINENO: checking for GLintptr" >&5
5550
ac_fn_c_check_type "$LINENO" "GLintptr" "ac_cv_type_GLintptr" "#ifdef WIN32
6135
echo $ECHO_N "checking for GLintptr... $ECHO_C" >&6
6136
if test "${ac_cv_type_GLintptr+set}" = set; then
6137
  echo $ECHO_N "(cached) $ECHO_C" >&6
6138
else
6139
  cat >conftest.$ac_ext <<_ACEOF
6140
/* confdefs.h.  */
6141
_ACEOF
6142
cat confdefs.h >>conftest.$ac_ext
6143
cat >>conftest.$ac_ext <<_ACEOF
6144
/* end confdefs.h.  */
6145
#ifdef WIN32
6146
		# include <windows.h>
5551
		# include <windows.h>
6147
	        # include <gl/gl.h>
5552
	        # include <gl/gl.h>
6148
	        #elif defined(HAVE_GL_GL_H)
5553
	        #elif defined(HAVE_GL_GL_H)
Lines 6151-6221 cat >>conftest.$ac_ext <<_ACEOF Link Here
6151
		# include <OpenGL/gl.h>
5556
		# include <OpenGL/gl.h>
6152
		#endif
5557
		#endif
6153
5558
5559
"
5560
if test "x$ac_cv_type_GLintptr" = xyes; then :
6154
5561
6155
int
6156
main ()
6157
{
6158
if ((GLintptr *) 0)
6159
  return 0;
6160
if (sizeof (GLintptr))
6161
  return 0;
6162
  ;
6163
  return 0;
6164
}
6165
_ACEOF
6166
rm -f conftest.$ac_objext
6167
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6168
  (eval $ac_compile) 2>conftest.er1
6169
  ac_status=$?
6170
  grep -v '^ *+' conftest.er1 >conftest.err
6171
  rm -f conftest.er1
6172
  cat conftest.err >&5
6173
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6174
  (exit $ac_status); } &&
6175
	 { ac_try='test -z "$ac_c_werror_flag"
6176
			 || test ! -s conftest.err'
6177
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6178
  (eval $ac_try) 2>&5
6179
  ac_status=$?
6180
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181
  (exit $ac_status); }; } &&
6182
	 { ac_try='test -s conftest.$ac_objext'
6183
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6184
  (eval $ac_try) 2>&5
6185
  ac_status=$?
6186
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6187
  (exit $ac_status); }; }; then
6188
  ac_cv_type_GLintptr=yes
6189
else
6190
  echo "$as_me: failed program was:" >&5
6191
sed 's/^/| /' conftest.$ac_ext >&5
6192
6193
ac_cv_type_GLintptr=no
6194
fi
6195
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6196
fi
6197
echo "$as_me:$LINENO: result: $ac_cv_type_GLintptr" >&5
6198
echo "${ECHO_T}$ac_cv_type_GLintptr" >&6
6199
if test $ac_cv_type_GLintptr = yes; then
6200
6201
cat >>confdefs.h <<_ACEOF
5562
cat >>confdefs.h <<_ACEOF
6202
#define HAVE_GLINTPTR 1
5563
#define HAVE_GLINTPTR 1
6203
_ACEOF
5564
_ACEOF
6204
5565
6205
5566
6206
fi
5567
fi
6207
echo "$as_me:$LINENO: checking for GLintptrARB" >&5
5568
ac_fn_c_check_type "$LINENO" "GLintptrARB" "ac_cv_type_GLintptrARB" "#ifdef WIN32
6208
echo $ECHO_N "checking for GLintptrARB... $ECHO_C" >&6
6209
if test "${ac_cv_type_GLintptrARB+set}" = set; then
6210
  echo $ECHO_N "(cached) $ECHO_C" >&6
6211
else
6212
  cat >conftest.$ac_ext <<_ACEOF
6213
/* confdefs.h.  */
6214
_ACEOF
6215
cat confdefs.h >>conftest.$ac_ext
6216
cat >>conftest.$ac_ext <<_ACEOF
6217
/* end confdefs.h.  */
6218
#ifdef WIN32
6219
		# include <windows.h>
5569
		# include <windows.h>
6220
	        # include <gl/gl.h>
5570
	        # include <gl/gl.h>
6221
	        #elif defined(HAVE_GL_GL_H)
5571
	        #elif defined(HAVE_GL_GL_H)
Lines 6224-6294 cat >>conftest.$ac_ext <<_ACEOF Link Here
6224
		# include <OpenGL/gl.h>
5574
		# include <OpenGL/gl.h>
6225
		#endif
5575
		#endif
6226
5576
5577
"
5578
if test "x$ac_cv_type_GLintptrARB" = xyes; then :
6227
5579
6228
int
6229
main ()
6230
{
6231
if ((GLintptrARB *) 0)
6232
  return 0;
6233
if (sizeof (GLintptrARB))
6234
  return 0;
6235
  ;
6236
  return 0;
6237
}
6238
_ACEOF
6239
rm -f conftest.$ac_objext
6240
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6241
  (eval $ac_compile) 2>conftest.er1
6242
  ac_status=$?
6243
  grep -v '^ *+' conftest.er1 >conftest.err
6244
  rm -f conftest.er1
6245
  cat conftest.err >&5
6246
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6247
  (exit $ac_status); } &&
6248
	 { ac_try='test -z "$ac_c_werror_flag"
6249
			 || test ! -s conftest.err'
6250
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6251
  (eval $ac_try) 2>&5
6252
  ac_status=$?
6253
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6254
  (exit $ac_status); }; } &&
6255
	 { ac_try='test -s conftest.$ac_objext'
6256
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6257
  (eval $ac_try) 2>&5
6258
  ac_status=$?
6259
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6260
  (exit $ac_status); }; }; then
6261
  ac_cv_type_GLintptrARB=yes
6262
else
6263
  echo "$as_me: failed program was:" >&5
6264
sed 's/^/| /' conftest.$ac_ext >&5
6265
6266
ac_cv_type_GLintptrARB=no
6267
fi
6268
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6269
fi
6270
echo "$as_me:$LINENO: result: $ac_cv_type_GLintptrARB" >&5
6271
echo "${ECHO_T}$ac_cv_type_GLintptrARB" >&6
6272
if test $ac_cv_type_GLintptrARB = yes; then
6273
6274
cat >>confdefs.h <<_ACEOF
5580
cat >>confdefs.h <<_ACEOF
6275
#define HAVE_GLINTPTRARB 1
5581
#define HAVE_GLINTPTRARB 1
6276
_ACEOF
5582
_ACEOF
6277
5583
6278
5584
6279
fi
5585
fi
6280
echo "$as_me:$LINENO: checking for GLchar" >&5
5586
ac_fn_c_check_type "$LINENO" "GLchar" "ac_cv_type_GLchar" "#ifdef WIN32
6281
echo $ECHO_N "checking for GLchar... $ECHO_C" >&6
6282
if test "${ac_cv_type_GLchar+set}" = set; then
6283
  echo $ECHO_N "(cached) $ECHO_C" >&6
6284
else
6285
  cat >conftest.$ac_ext <<_ACEOF
6286
/* confdefs.h.  */
6287
_ACEOF
6288
cat confdefs.h >>conftest.$ac_ext
6289
cat >>conftest.$ac_ext <<_ACEOF
6290
/* end confdefs.h.  */
6291
#ifdef WIN32
6292
		# include <windows.h>
5587
		# include <windows.h>
6293
	        # include <gl/gl.h>
5588
	        # include <gl/gl.h>
6294
	        #elif defined(HAVE_GL_GL_H)
5589
	        #elif defined(HAVE_GL_GL_H)
Lines 6297-6367 cat >>conftest.$ac_ext <<_ACEOF Link Here
6297
		# include <OpenGL/gl.h>
5592
		# include <OpenGL/gl.h>
6298
		#endif
5593
		#endif
6299
5594
5595
"
5596
if test "x$ac_cv_type_GLchar" = xyes; then :
6300
5597
6301
int
6302
main ()
6303
{
6304
if ((GLchar *) 0)
6305
  return 0;
6306
if (sizeof (GLchar))
6307
  return 0;
6308
  ;
6309
  return 0;
6310
}
6311
_ACEOF
6312
rm -f conftest.$ac_objext
6313
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6314
  (eval $ac_compile) 2>conftest.er1
6315
  ac_status=$?
6316
  grep -v '^ *+' conftest.er1 >conftest.err
6317
  rm -f conftest.er1
6318
  cat conftest.err >&5
6319
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6320
  (exit $ac_status); } &&
6321
	 { ac_try='test -z "$ac_c_werror_flag"
6322
			 || test ! -s conftest.err'
6323
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6324
  (eval $ac_try) 2>&5
6325
  ac_status=$?
6326
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6327
  (exit $ac_status); }; } &&
6328
	 { ac_try='test -s conftest.$ac_objext'
6329
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6330
  (eval $ac_try) 2>&5
6331
  ac_status=$?
6332
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333
  (exit $ac_status); }; }; then
6334
  ac_cv_type_GLchar=yes
6335
else
6336
  echo "$as_me: failed program was:" >&5
6337
sed 's/^/| /' conftest.$ac_ext >&5
6338
6339
ac_cv_type_GLchar=no
6340
fi
6341
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6342
fi
6343
echo "$as_me:$LINENO: result: $ac_cv_type_GLchar" >&5
6344
echo "${ECHO_T}$ac_cv_type_GLchar" >&6
6345
if test $ac_cv_type_GLchar = yes; then
6346
6347
cat >>confdefs.h <<_ACEOF
5598
cat >>confdefs.h <<_ACEOF
6348
#define HAVE_GLCHAR 1
5599
#define HAVE_GLCHAR 1
6349
_ACEOF
5600
_ACEOF
6350
5601
6351
5602
6352
fi
5603
fi
6353
echo "$as_me:$LINENO: checking for GLcharARB" >&5
5604
ac_fn_c_check_type "$LINENO" "GLcharARB" "ac_cv_type_GLcharARB" "#ifdef WIN32
6354
echo $ECHO_N "checking for GLcharARB... $ECHO_C" >&6
6355
if test "${ac_cv_type_GLcharARB+set}" = set; then
6356
  echo $ECHO_N "(cached) $ECHO_C" >&6
6357
else
6358
  cat >conftest.$ac_ext <<_ACEOF
6359
/* confdefs.h.  */
6360
_ACEOF
6361
cat confdefs.h >>conftest.$ac_ext
6362
cat >>conftest.$ac_ext <<_ACEOF
6363
/* end confdefs.h.  */
6364
#ifdef WIN32
6365
		# include <windows.h>
5605
		# include <windows.h>
6366
	        # include <gl/gl.h>
5606
	        # include <gl/gl.h>
6367
	        #elif defined(HAVE_GL_GL_H)
5607
	        #elif defined(HAVE_GL_GL_H)
Lines 6370-6440 cat >>conftest.$ac_ext <<_ACEOF Link Here
6370
		# include <OpenGL/gl.h>
5610
		# include <OpenGL/gl.h>
6371
		#endif
5611
		#endif
6372
5612
5613
"
5614
if test "x$ac_cv_type_GLcharARB" = xyes; then :
6373
5615
6374
int
6375
main ()
6376
{
6377
if ((GLcharARB *) 0)
6378
  return 0;
6379
if (sizeof (GLcharARB))
6380
  return 0;
6381
  ;
6382
  return 0;
6383
}
6384
_ACEOF
6385
rm -f conftest.$ac_objext
6386
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6387
  (eval $ac_compile) 2>conftest.er1
6388
  ac_status=$?
6389
  grep -v '^ *+' conftest.er1 >conftest.err
6390
  rm -f conftest.er1
6391
  cat conftest.err >&5
6392
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6393
  (exit $ac_status); } &&
6394
	 { ac_try='test -z "$ac_c_werror_flag"
6395
			 || test ! -s conftest.err'
6396
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6397
  (eval $ac_try) 2>&5
6398
  ac_status=$?
6399
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400
  (exit $ac_status); }; } &&
6401
	 { ac_try='test -s conftest.$ac_objext'
6402
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6403
  (eval $ac_try) 2>&5
6404
  ac_status=$?
6405
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6406
  (exit $ac_status); }; }; then
6407
  ac_cv_type_GLcharARB=yes
6408
else
6409
  echo "$as_me: failed program was:" >&5
6410
sed 's/^/| /' conftest.$ac_ext >&5
6411
6412
ac_cv_type_GLcharARB=no
6413
fi
6414
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6415
fi
6416
echo "$as_me:$LINENO: result: $ac_cv_type_GLcharARB" >&5
6417
echo "${ECHO_T}$ac_cv_type_GLcharARB" >&6
6418
if test $ac_cv_type_GLcharARB = yes; then
6419
6420
cat >>confdefs.h <<_ACEOF
5616
cat >>confdefs.h <<_ACEOF
6421
#define HAVE_GLCHARARB 1
5617
#define HAVE_GLCHARARB 1
6422
_ACEOF
5618
_ACEOF
6423
5619
6424
5620
6425
fi
5621
fi
6426
echo "$as_me:$LINENO: checking for GLhalfARB" >&5
5622
ac_fn_c_check_type "$LINENO" "GLhalfARB" "ac_cv_type_GLhalfARB" "#ifdef WIN32
6427
echo $ECHO_N "checking for GLhalfARB... $ECHO_C" >&6
6428
if test "${ac_cv_type_GLhalfARB+set}" = set; then
6429
  echo $ECHO_N "(cached) $ECHO_C" >&6
6430
else
6431
  cat >conftest.$ac_ext <<_ACEOF
6432
/* confdefs.h.  */
6433
_ACEOF
6434
cat confdefs.h >>conftest.$ac_ext
6435
cat >>conftest.$ac_ext <<_ACEOF
6436
/* end confdefs.h.  */
6437
#ifdef WIN32
6438
		# include <windows.h>
5623
		# include <windows.h>
6439
	        # include <gl/gl.h>
5624
	        # include <gl/gl.h>
6440
	        #elif defined(HAVE_GL_GL_H)
5625
	        #elif defined(HAVE_GL_GL_H)
Lines 6443-6513 cat >>conftest.$ac_ext <<_ACEOF Link Here
6443
		# include <OpenGL/gl.h>
5628
		# include <OpenGL/gl.h>
6444
		#endif
5629
		#endif
6445
5630
5631
"
5632
if test "x$ac_cv_type_GLhalfARB" = xyes; then :
6446
5633
6447
int
6448
main ()
6449
{
6450
if ((GLhalfARB *) 0)
6451
  return 0;
6452
if (sizeof (GLhalfARB))
6453
  return 0;
6454
  ;
6455
  return 0;
6456
}
6457
_ACEOF
6458
rm -f conftest.$ac_objext
6459
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6460
  (eval $ac_compile) 2>conftest.er1
6461
  ac_status=$?
6462
  grep -v '^ *+' conftest.er1 >conftest.err
6463
  rm -f conftest.er1
6464
  cat conftest.err >&5
6465
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466
  (exit $ac_status); } &&
6467
	 { ac_try='test -z "$ac_c_werror_flag"
6468
			 || test ! -s conftest.err'
6469
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6470
  (eval $ac_try) 2>&5
6471
  ac_status=$?
6472
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6473
  (exit $ac_status); }; } &&
6474
	 { ac_try='test -s conftest.$ac_objext'
6475
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6476
  (eval $ac_try) 2>&5
6477
  ac_status=$?
6478
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6479
  (exit $ac_status); }; }; then
6480
  ac_cv_type_GLhalfARB=yes
6481
else
6482
  echo "$as_me: failed program was:" >&5
6483
sed 's/^/| /' conftest.$ac_ext >&5
6484
6485
ac_cv_type_GLhalfARB=no
6486
fi
6487
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6488
fi
6489
echo "$as_me:$LINENO: result: $ac_cv_type_GLhalfARB" >&5
6490
echo "${ECHO_T}$ac_cv_type_GLhalfARB" >&6
6491
if test $ac_cv_type_GLhalfARB = yes; then
6492
6493
cat >>confdefs.h <<_ACEOF
5634
cat >>confdefs.h <<_ACEOF
6494
#define HAVE_GLHALFARB 1
5635
#define HAVE_GLHALFARB 1
6495
_ACEOF
5636
_ACEOF
6496
5637
6497
5638
6498
fi
5639
fi
6499
echo "$as_me:$LINENO: checking for GLint64EXT" >&5
5640
ac_fn_c_check_type "$LINENO" "GLint64EXT" "ac_cv_type_GLint64EXT" "#ifdef WIN32
6500
echo $ECHO_N "checking for GLint64EXT... $ECHO_C" >&6
6501
if test "${ac_cv_type_GLint64EXT+set}" = set; then
6502
  echo $ECHO_N "(cached) $ECHO_C" >&6
6503
else
6504
  cat >conftest.$ac_ext <<_ACEOF
6505
/* confdefs.h.  */
6506
_ACEOF
6507
cat confdefs.h >>conftest.$ac_ext
6508
cat >>conftest.$ac_ext <<_ACEOF
6509
/* end confdefs.h.  */
6510
#ifdef WIN32
6511
		# include <windows.h>
5641
		# include <windows.h>
6512
	        # include <gl/gl.h>
5642
	        # include <gl/gl.h>
6513
	        #elif defined(HAVE_GL_GL_H)
5643
	        #elif defined(HAVE_GL_GL_H)
Lines 6516-6568 cat >>conftest.$ac_ext <<_ACEOF Link Here
6516
		# include <OpenGL/gl.h>
5646
		# include <OpenGL/gl.h>
6517
		#endif
5647
		#endif
6518
5648
5649
"
5650
if test "x$ac_cv_type_GLint64EXT" = xyes; then :
6519
5651
6520
int
6521
main ()
6522
{
6523
if ((GLint64EXT *) 0)
6524
  return 0;
6525
if (sizeof (GLint64EXT))
6526
  return 0;
6527
  ;
6528
  return 0;
6529
}
6530
_ACEOF
6531
rm -f conftest.$ac_objext
6532
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6533
  (eval $ac_compile) 2>conftest.er1
6534
  ac_status=$?
6535
  grep -v '^ *+' conftest.er1 >conftest.err
6536
  rm -f conftest.er1
6537
  cat conftest.err >&5
6538
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6539
  (exit $ac_status); } &&
6540
	 { ac_try='test -z "$ac_c_werror_flag"
6541
			 || test ! -s conftest.err'
6542
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6543
  (eval $ac_try) 2>&5
6544
  ac_status=$?
6545
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546
  (exit $ac_status); }; } &&
6547
	 { ac_try='test -s conftest.$ac_objext'
6548
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6549
  (eval $ac_try) 2>&5
6550
  ac_status=$?
6551
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6552
  (exit $ac_status); }; }; then
6553
  ac_cv_type_GLint64EXT=yes
6554
else
6555
  echo "$as_me: failed program was:" >&5
6556
sed 's/^/| /' conftest.$ac_ext >&5
6557
6558
ac_cv_type_GLint64EXT=no
6559
fi
6560
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6561
fi
6562
echo "$as_me:$LINENO: result: $ac_cv_type_GLint64EXT" >&5
6563
echo "${ECHO_T}$ac_cv_type_GLint64EXT" >&6
6564
if test $ac_cv_type_GLint64EXT = yes; then
6565
6566
cat >>confdefs.h <<_ACEOF
5652
cat >>confdefs.h <<_ACEOF
6567
#define HAVE_GLINT64EXT 1
5653
#define HAVE_GLINT64EXT 1
6568
_ACEOF
5654
_ACEOF
Lines 6572-6580 fi Link Here
6572
5658
6573
5659
6574
5660
6575
echo "$as_me:$LINENO: checking GLU Callbacks uses Tiger Style" >&5
5661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking GLU Callbacks uses Tiger Style" >&5
6576
echo $ECHO_N "checking GLU Callbacks uses Tiger Style... $ECHO_C" >&6
5662
$as_echo_n "checking GLU Callbacks uses Tiger Style... " >&6; }
6577
ac_ext=cc
5663
ac_ext=cpp
6578
ac_cpp='$CXXCPP $CPPFLAGS'
5664
ac_cpp='$CXXCPP $CPPFLAGS'
6579
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5665
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6580
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5666
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
Lines 6583-6593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu Link Here
6583
saved_CXXFLAGS=$CXXFLAGS
5669
saved_CXXFLAGS=$CXXFLAGS
6584
CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS"
5670
CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS"
6585
5671
6586
cat >conftest.$ac_ext <<_ACEOF
5672
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6587
/* confdefs.h.  */
6588
_ACEOF
6589
cat confdefs.h >>conftest.$ac_ext
6590
cat >>conftest.$ac_ext <<_ACEOF
6591
/* end confdefs.h.  */
5673
/* end confdefs.h.  */
6592
5674
6593
                #ifdef WIN32
5675
                #ifdef WIN32
Lines 6614-6724 main () Link Here
6614
  return 0;
5696
  return 0;
6615
}
5697
}
6616
_ACEOF
5698
_ACEOF
6617
rm -f conftest.$ac_objext
5699
if ac_fn_cxx_try_compile "$LINENO"; then :
6618
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6619
  (eval $ac_compile) 2>conftest.er1
6620
  ac_status=$?
6621
  grep -v '^ *+' conftest.er1 >conftest.err
6622
  rm -f conftest.er1
6623
  cat conftest.err >&5
6624
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625
  (exit $ac_status); } &&
6626
	 { ac_try='test -z "$ac_cxx_werror_flag"
6627
			 || test ! -s conftest.err'
6628
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6629
  (eval $ac_try) 2>&5
6630
  ac_status=$?
6631
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632
  (exit $ac_status); }; } &&
6633
	 { ac_try='test -s conftest.$ac_objext'
6634
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6635
  (eval $ac_try) 2>&5
6636
  ac_status=$?
6637
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638
  (exit $ac_status); }; }; then
6639
  TESS_CB_TIGER_STYLE=yes
5700
  TESS_CB_TIGER_STYLE=yes
6640
5701
6641
cat >>confdefs.h <<\_ACEOF
5702
$as_echo "#define TESS_CB_TIGER_STYLE 1" >>confdefs.h
6642
#define TESS_CB_TIGER_STYLE 1
6643
_ACEOF
6644
5703
6645
else
5704
else
6646
  echo "$as_me: failed program was:" >&5
5705
  TESS_CB_TIGER_STYLE=no
6647
sed 's/^/| /' conftest.$ac_ext >&5
6648
6649
TESS_CB_TIGER_STYLE=no
6650
fi
5706
fi
6651
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5707
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6652
echo "$as_me:$LINENO: result: $TESS_CB_TIGER_STYLE" >&5
5708
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $TESS_CB_TIGER_STYLE" >&5
6653
echo "${ECHO_T}$TESS_CB_TIGER_STYLE" >&6
5709
$as_echo "$TESS_CB_TIGER_STYLE" >&6; }
6654
5710
6655
5711
6656
5712
6657
6658
for ac_header in wx/stc/stc.h
5713
for ac_header in wx/stc/stc.h
6659
do
5714
do :
6660
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5715
  ac_fn_cxx_check_header_compile "$LINENO" "wx/stc/stc.h" "ac_cv_header_wx_stc_stc_h" "#ifdef WIN32
6661
echo "$as_me:$LINENO: checking for $ac_header" >&5
6662
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6663
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6664
  echo $ECHO_N "(cached) $ECHO_C" >&6
6665
else
6666
  cat >conftest.$ac_ext <<_ACEOF
6667
/* confdefs.h.  */
6668
_ACEOF
6669
cat confdefs.h >>conftest.$ac_ext
6670
cat >>conftest.$ac_ext <<_ACEOF
6671
/* end confdefs.h.  */
6672
#ifdef WIN32
6673
	 # include <windows.h>
5716
	 # include <windows.h>
6674
         #endif
5717
         #endif
6675
         #include "wx/wx.h"
5718
         #include \"wx/wx.h\"
6676
5719
"
6677
#include <$ac_header>
5720
if test "x$ac_cv_header_wx_stc_stc_h" = xyes; then :
6678
_ACEOF
6679
rm -f conftest.$ac_objext
6680
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6681
  (eval $ac_compile) 2>conftest.er1
6682
  ac_status=$?
6683
  grep -v '^ *+' conftest.er1 >conftest.err
6684
  rm -f conftest.er1
6685
  cat conftest.err >&5
6686
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687
  (exit $ac_status); } &&
6688
	 { ac_try='test -z "$ac_cxx_werror_flag"
6689
			 || test ! -s conftest.err'
6690
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6691
  (eval $ac_try) 2>&5
6692
  ac_status=$?
6693
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694
  (exit $ac_status); }; } &&
6695
	 { ac_try='test -s conftest.$ac_objext'
6696
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6697
  (eval $ac_try) 2>&5
6698
  ac_status=$?
6699
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6700
  (exit $ac_status); }; }; then
6701
  eval "$as_ac_Header=yes"
6702
else
6703
  echo "$as_me: failed program was:" >&5
6704
sed 's/^/| /' conftest.$ac_ext >&5
6705
6706
eval "$as_ac_Header=no"
6707
fi
6708
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6709
fi
6710
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6711
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6712
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6713
  cat >>confdefs.h <<_ACEOF
5721
  cat >>confdefs.h <<_ACEOF
6714
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5722
#define HAVE_WX_STC_STC_H 1
6715
_ACEOF
5723
_ACEOF
6716
5724
6717
else
5725
else
6718
  WXERL_CAN_BUILD_DRIVER=false
5726
  WXERL_CAN_BUILD_DRIVER=false
6719
	 echo "wxWidgets don't have wxStyledTextControl (stc.h), wx will NOT be useable" > ./CONF_INFO
5727
	 echo "wxWidgets don't have wxStyledTextControl (stc.h), wx will NOT be useable" > ./CONF_INFO
6720
     	 { echo "$as_me:$LINENO: WARNING: Can not find wx/stc/stc.h $CXXFLAGS" >&5
5728
     	 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can not find wx/stc/stc.h $CXXFLAGS" >&5
6721
echo "$as_me: WARNING: Can not find wx/stc/stc.h $CXXFLAGS" >&2;}
5729
$as_echo "$as_me: WARNING: Can not find wx/stc/stc.h $CXXFLAGS" >&2;}
6722
5730
6723
fi
5731
fi
6724
5732
Lines 6726-6744 done Link Here
6726
5734
6727
5735
6728
5736
6729
echo "$as_me:$LINENO: checking if we can link wxwidgets programs" >&5
5737
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can link wxwidgets programs" >&5
6730
echo $ECHO_N "checking if we can link wxwidgets programs... $ECHO_C" >&6
5738
$as_echo_n "checking if we can link wxwidgets programs... " >&6; }
6731
saved_LIBS=$LIBS
5739
saved_LIBS=$LIBS
6732
5740
6733
if test X"$WX_HAVE_STATIC_LIBS" = X"true" ; then
5741
if test X"$WX_HAVE_STATIC_LIBS" = X"true" ; then
6734
   LIBS=$WX_LIBS_STATIC
5742
   LIBS=$WX_LIBS_STATIC
6735
fi
5743
fi
6736
5744
6737
cat >conftest.$ac_ext <<_ACEOF
5745
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6738
/* confdefs.h.  */
6739
_ACEOF
6740
cat confdefs.h >>conftest.$ac_ext
6741
cat >>conftest.$ac_ext <<_ACEOF
6742
/* end confdefs.h.  */
5746
/* end confdefs.h.  */
6743
5747
6744
		#ifdef WIN32
5748
		#ifdef WIN32
Lines 6769-6809 cat >>conftest.$ac_ext <<_ACEOF Link Here
6769
		IMPLEMENT_APP(MyApp)
5773
		IMPLEMENT_APP(MyApp)
6770
5774
6771
_ACEOF
5775
_ACEOF
6772
rm -f conftest.$ac_objext conftest$ac_exeext
5776
if ac_fn_cxx_try_link "$LINENO"; then :
6773
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6774
  (eval $ac_link) 2>conftest.er1
6775
  ac_status=$?
6776
  grep -v '^ *+' conftest.er1 >conftest.err
6777
  rm -f conftest.er1
6778
  cat conftest.err >&5
6779
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6780
  (exit $ac_status); } &&
6781
	 { ac_try='test -z "$ac_cxx_werror_flag"
6782
			 || test ! -s conftest.err'
6783
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6784
  (eval $ac_try) 2>&5
6785
  ac_status=$?
6786
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6787
  (exit $ac_status); }; } &&
6788
	 { ac_try='test -s conftest$ac_exeext'
6789
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6790
  (eval $ac_try) 2>&5
6791
  ac_status=$?
6792
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6793
  (exit $ac_status); }; }; then
6794
5777
6795
		CAN_LINK_WX=yes
5778
		CAN_LINK_WX=yes
6796
5779
6797
else
5780
else
6798
  echo "$as_me: failed program was:" >&5
6799
sed 's/^/| /' conftest.$ac_ext >&5
6800
5781
6801
6802
		CAN_LINK_WX=no
5782
		CAN_LINK_WX=no
6803
5783
6804
fi
5784
fi
6805
rm -f conftest.err conftest.$ac_objext \
5785
rm -f core conftest.err conftest.$ac_objext \
6806
      conftest$ac_exeext conftest.$ac_ext
5786
    conftest$ac_exeext conftest.$ac_ext
6807
5787
6808
CXXFLAGS=$saved_CXXFLAGS
5788
CXXFLAGS=$saved_CXXFLAGS
6809
LIBS=$saved_LIBS
5789
LIBS=$saved_LIBS
Lines 6813-6826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext Link Here
6813
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5793
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6814
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5794
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6815
5795
6816
echo "$as_me:$LINENO: result: $CAN_LINK_WX" >&5
5796
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAN_LINK_WX" >&5
6817
echo "${ECHO_T}$CAN_LINK_WX" >&6
5797
$as_echo "$CAN_LINK_WX" >&6; }
6818
5798
6819
if test X"$CAN_LINK_WX" != X"yes" ; then
5799
if test X"$CAN_LINK_WX" != X"yes" ; then
6820
   		echo "Can not link the wx driver, wx will NOT be useable" > ./CONF_INFO
5800
   		echo "Can not link the wx driver, wx will NOT be useable" > ./CONF_INFO
6821
		WXERL_CAN_BUILD_DRIVER=false
5801
		WXERL_CAN_BUILD_DRIVER=false
6822
		{ echo "$as_me:$LINENO: WARNING: Can not link wx program are all developer packages installed?" >&5
5802
		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can not link wx program are all developer packages installed?" >&5
6823
echo "$as_me: WARNING: Can not link wx program are all developer packages installed?" >&2;}
5803
$as_echo "$as_me: WARNING: Can not link wx program are all developer packages installed?" >&2;}
6824
fi
5804
fi
6825
5805
6826
fi
5806
fi
Lines 6829-6843 fi Link Here
6829
if test "x$GCC" = xyes; then
5809
if test "x$GCC" = xyes; then
6830
    # Treat certain GCC warnings as errors
5810
    # Treat certain GCC warnings as errors
6831
5811
6832
    echo "$as_me:$LINENO: checking if we can add -Werror=return-type to CFLAGS (via CFLAGS)" >&5
5812
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can add -Werror=return-type to CFLAGS (via CFLAGS)" >&5
6833
echo $ECHO_N "checking if we can add -Werror=return-type to CFLAGS (via CFLAGS)... $ECHO_C" >&6
5813
$as_echo_n "checking if we can add -Werror=return-type to CFLAGS (via CFLAGS)... " >&6; }
6834
    saved_CFLAGS=$CFLAGS;
5814
    saved_CFLAGS=$CFLAGS;
6835
    CFLAGS="-Werror=return-type $CFLAGS";
5815
    CFLAGS="-Werror=return-type $CFLAGS";
6836
    cat >conftest.$ac_ext <<_ACEOF
5816
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6837
/* confdefs.h.  */
6838
_ACEOF
6839
cat confdefs.h >>conftest.$ac_ext
6840
cat >>conftest.$ac_ext <<_ACEOF
6841
/* end confdefs.h.  */
5817
/* end confdefs.h.  */
6842
5818
6843
int
5819
int
Lines 6848-6903 return 0; Link Here
6848
  return 0;
5824
  return 0;
6849
}
5825
}
6850
_ACEOF
5826
_ACEOF
6851
rm -f conftest.$ac_objext
5827
if ac_fn_c_try_compile "$LINENO"; then :
6852
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6853
  (eval $ac_compile) 2>conftest.er1
6854
  ac_status=$?
6855
  grep -v '^ *+' conftest.er1 >conftest.err
6856
  rm -f conftest.er1
6857
  cat conftest.err >&5
6858
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6859
  (exit $ac_status); } &&
6860
	 { ac_try='test -z "$ac_c_werror_flag"
6861
			 || test ! -s conftest.err'
6862
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6863
  (eval $ac_try) 2>&5
6864
  ac_status=$?
6865
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6866
  (exit $ac_status); }; } &&
6867
	 { ac_try='test -s conftest.$ac_objext'
6868
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6869
  (eval $ac_try) 2>&5
6870
  ac_status=$?
6871
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6872
  (exit $ac_status); }; }; then
6873
  can_enable_flag=true
5828
  can_enable_flag=true
6874
else
5829
else
6875
  echo "$as_me: failed program was:" >&5
5830
  can_enable_flag=false
6876
sed 's/^/| /' conftest.$ac_ext >&5
6877
6878
can_enable_flag=false
6879
fi
5831
fi
6880
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5832
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6881
    CFLAGS=$saved_CFLAGS;
5833
    CFLAGS=$saved_CFLAGS;
6882
    if test "X$can_enable_flag" = "Xtrue"; then
5834
    if test "X$can_enable_flag" = "Xtrue"; then
6883
        echo "$as_me:$LINENO: result: yes" >&5
5835
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6884
echo "${ECHO_T}yes" >&6
5836
$as_echo "yes" >&6; }
6885
        CFLAGS="-Werror=return-type $CFLAGS"
5837
        CFLAGS="-Werror=return-type $CFLAGS"
6886
    else
5838
    else
6887
        echo "$as_me:$LINENO: result: no" >&5
5839
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6888
echo "${ECHO_T}no" >&6
5840
$as_echo "no" >&6; }
6889
    fi
5841
    fi
6890
5842
6891
5843
6892
    echo "$as_me:$LINENO: checking if we can add -Werror=return-type to CXXFLAGS (via CFLAGS)" >&5
5844
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can add -Werror=return-type to CXXFLAGS (via CFLAGS)" >&5
6893
echo $ECHO_N "checking if we can add -Werror=return-type to CXXFLAGS (via CFLAGS)... $ECHO_C" >&6
5845
$as_echo_n "checking if we can add -Werror=return-type to CXXFLAGS (via CFLAGS)... " >&6; }
6894
    saved_CFLAGS=$CFLAGS;
5846
    saved_CFLAGS=$CFLAGS;
6895
    CFLAGS="-Werror=return-type $CXXFLAGS";
5847
    CFLAGS="-Werror=return-type $CXXFLAGS";
6896
    cat >conftest.$ac_ext <<_ACEOF
5848
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6897
/* confdefs.h.  */
6898
_ACEOF
6899
cat confdefs.h >>conftest.$ac_ext
6900
cat >>conftest.$ac_ext <<_ACEOF
6901
/* end confdefs.h.  */
5849
/* end confdefs.h.  */
6902
5850
6903
int
5851
int
Lines 6908-6961 return 0; Link Here
6908
  return 0;
5856
  return 0;
6909
}
5857
}
6910
_ACEOF
5858
_ACEOF
6911
rm -f conftest.$ac_objext
5859
if ac_fn_c_try_compile "$LINENO"; then :
6912
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6913
  (eval $ac_compile) 2>conftest.er1
6914
  ac_status=$?
6915
  grep -v '^ *+' conftest.er1 >conftest.err
6916
  rm -f conftest.er1
6917
  cat conftest.err >&5
6918
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919
  (exit $ac_status); } &&
6920
	 { ac_try='test -z "$ac_c_werror_flag"
6921
			 || test ! -s conftest.err'
6922
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6923
  (eval $ac_try) 2>&5
6924
  ac_status=$?
6925
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6926
  (exit $ac_status); }; } &&
6927
	 { ac_try='test -s conftest.$ac_objext'
6928
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6929
  (eval $ac_try) 2>&5
6930
  ac_status=$?
6931
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6932
  (exit $ac_status); }; }; then
6933
  can_enable_flag=true
5860
  can_enable_flag=true
6934
else
5861
else
6935
  echo "$as_me: failed program was:" >&5
5862
  can_enable_flag=false
6936
sed 's/^/| /' conftest.$ac_ext >&5
6937
6938
can_enable_flag=false
6939
fi
5863
fi
6940
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5864
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6941
    CFLAGS=$saved_CFLAGS;
5865
    CFLAGS=$saved_CFLAGS;
6942
    if test "X$can_enable_flag" = "Xtrue"; then
5866
    if test "X$can_enable_flag" = "Xtrue"; then
6943
        echo "$as_me:$LINENO: result: yes" >&5
5867
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6944
echo "${ECHO_T}yes" >&6
5868
$as_echo "yes" >&6; }
6945
        CXXFLAGS="-Werror=return-type $CXXFLAGS"
5869
        CXXFLAGS="-Werror=return-type $CXXFLAGS"
6946
    else
5870
    else
6947
        echo "$as_me:$LINENO: result: no" >&5
5871
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6948
echo "${ECHO_T}no" >&6
5872
$as_echo "no" >&6; }
6949
    fi
5873
    fi
6950
5874
6951
fi
5875
fi
6952
5876
6953
5877
6954
5878
6955
# Check whether --enable-sanitizers or --disable-sanitizers was given.
5879
# Check whether --enable-sanitizers was given.
6956
if test "${enable_sanitizers+set}" = set; then
5880
if test "${enable_sanitizers+set}" = set; then :
6957
  enableval="$enable_sanitizers"
5881
  enableval=$enable_sanitizers;
6958
6959
case "$enableval" in
5882
case "$enableval" in
6960
    no) sanitizers= ;;
5883
    no) sanitizers= ;;
6961
    yes) sanitizers="-fsanitize=address,undefined" ;;
5884
    yes) sanitizers="-fsanitize=address,undefined" ;;
Lines 6965-6972 CFLAGS="$CFLAGS $sanitizers" Link Here
6965
CXXFLAGS="$CXXFLAGS $sanitizers"
5888
CXXFLAGS="$CXXFLAGS $sanitizers"
6966
LDFLAGS="$LDFLAGS $sanitizers"
5889
LDFLAGS="$LDFLAGS $sanitizers"
6967
5890
6968
fi;
5891
fi
6969
5892
5893
6970
#############################################################################
5894
#############################################################################
6971
5895
6972
5896
Lines 6997-7009 CONFIG_STATUS=$WXERL_SYS_TYPE/config.status Link Here
6997
5921
6998
if test X"$WX_BUILDING_INSIDE_ERLSRC" != X"true" ; then
5922
if test X"$WX_BUILDING_INSIDE_ERLSRC" != X"true" ; then
6999
   if test X"$WXERL_CAN_BUILD_DRIVER" != X"true" ; then
5923
   if test X"$WXERL_CAN_BUILD_DRIVER" != X"true" ; then
7000
      { { echo "$as_me:$LINENO: error: Cannot build wxErlang driver, see ./CONF_INFO for information" >&5
5924
      as_fn_error $? "Cannot build wxErlang driver, see ./CONF_INFO for information" "$LINENO" 5
7001
echo "$as_me: error: Cannot build wxErlang driver, see ./CONF_INFO for information" >&2;}
7002
   { (exit 1); exit 1; }; }
7003
   fi
5925
   fi
7004
fi
5926
fi
7005
5927
7006
                    ac_config_files="$ac_config_files config.mk c_src/Makefile"
5928
ac_config_files="$ac_config_files config.mk c_src/Makefile"
7007
5929
7008
5930
7009
cat >confcache <<\_ACEOF
5931
cat >confcache <<\_ACEOF
Lines 7024-7062 _ACEOF Link Here
7024
5946
7025
# The following way of writing the cache mishandles newlines in values,
5947
# The following way of writing the cache mishandles newlines in values,
7026
# but we know of no workaround that is simple, portable, and efficient.
5948
# but we know of no workaround that is simple, portable, and efficient.
7027
# So, don't put newlines in cache variables' values.
5949
# So, we kill variables containing newlines.
7028
# Ultrix sh set writes to stderr and can't be redirected directly,
5950
# Ultrix sh set writes to stderr and can't be redirected directly,
7029
# and sets the high bit in the cache file unless we assign to the vars.
5951
# and sets the high bit in the cache file unless we assign to the vars.
7030
{
5952
(
5953
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5954
    eval ac_val=\$$ac_var
5955
    case $ac_val in #(
5956
    *${as_nl}*)
5957
      case $ac_var in #(
5958
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5959
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5960
      esac
5961
      case $ac_var in #(
5962
      _ | IFS | as_nl) ;; #(
5963
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5964
      *) { eval $ac_var=; unset $ac_var;} ;;
5965
      esac ;;
5966
    esac
5967
  done
5968
7031
  (set) 2>&1 |
5969
  (set) 2>&1 |
7032
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
5970
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
7033
    *ac_space=\ *)
5971
    *${as_nl}ac_space=\ *)
7034
      # `set' does not quote correctly, so add quotes (double-quote
5972
      # `set' does not quote correctly, so add quotes: double-quote
7035
      # substitution turns \\\\ into \\, and sed turns \\ into \).
5973
      # substitution turns \\\\ into \\, and sed turns \\ into \.
7036
      sed -n \
5974
      sed -n \
7037
	"s/'/'\\\\''/g;
5975
	"s/'/'\\\\''/g;
7038
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5976
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7039
      ;;
5977
      ;; #(
7040
    *)
5978
    *)
7041
      # `set' quotes correctly as required by POSIX, so do not add quotes.
5979
      # `set' quotes correctly as required by POSIX, so do not add quotes.
7042
      sed -n \
5980
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7043
	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7044
      ;;
5981
      ;;
7045
    esac;
5982
    esac |
7046
} |
5983
    sort
5984
) |
7047
  sed '
5985
  sed '
5986
     /^ac_cv_env_/b end
7048
     t clear
5987
     t clear
7049
     : clear
5988
     :clear
7050
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5989
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7051
     t end
5990
     t end
7052
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5991
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7053
     : end' >>confcache
5992
     :end' >>confcache
7054
if diff $cache_file confcache >/dev/null 2>&1; then :; else
5993
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7055
  if test -w $cache_file; then
5994
  if test -w "$cache_file"; then
7056
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5995
    if test "x$cache_file" != "x/dev/null"; then
7057
    cat confcache >$cache_file
5996
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5997
$as_echo "$as_me: updating cache $cache_file" >&6;}
5998
      if test ! -f "$cache_file" || test -h "$cache_file"; then
5999
	cat confcache >"$cache_file"
6000
      else
6001
        case $cache_file in #(
6002
        */* | ?:*)
6003
	  mv -f confcache "$cache_file"$$ &&
6004
	  mv -f "$cache_file"$$ "$cache_file" ;; #(
6005
        *)
6006
	  mv -f confcache "$cache_file" ;;
6007
	esac
6008
      fi
6009
    fi
7058
  else
6010
  else
7059
    echo "not updating unwritable cache $cache_file"
6011
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6012
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7060
  fi
6013
  fi
7061
fi
6014
fi
7062
rm -f confcache
6015
rm -f confcache
Lines 7065-7127 test "x$prefix" = xNONE && prefix=$ac_default_prefix Link Here
7065
# Let make expand exec_prefix.
6018
# Let make expand exec_prefix.
7066
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6019
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7067
6020
7068
# VPATH may cause trouble with some makes, so we remove $(srcdir),
7069
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7070
# trailing colons and then remove the whole line if VPATH becomes empty
7071
# (actually we leave an empty line to preserve line numbers).
7072
if test "x$srcdir" = x.; then
7073
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
7074
s/:*\$(srcdir):*/:/;
7075
s/:*\${srcdir}:*/:/;
7076
s/:*@srcdir@:*/:/;
7077
s/^\([^=]*=[	 ]*\):*/\1/;
7078
s/:*$//;
7079
s/^[^=]*=[	 ]*$//;
7080
}'
7081
fi
7082
7083
# Transform confdefs.h into DEFS.
6021
# Transform confdefs.h into DEFS.
7084
# Protect against shell expansion while executing Makefile rules.
6022
# Protect against shell expansion while executing Makefile rules.
7085
# Protect against Makefile macro expansion.
6023
# Protect against Makefile macro expansion.
7086
#
6024
#
7087
# If the first sed substitution is executed (which looks for macros that
6025
# If the first sed substitution is executed (which looks for macros that
7088
# take arguments), then we branch to the quote section.  Otherwise,
6026
# take arguments), then branch to the quote section.  Otherwise,
7089
# look for a macro that doesn't take arguments.
6027
# look for a macro that doesn't take arguments.
7090
cat >confdef2opt.sed <<\_ACEOF
6028
ac_script='
6029
:mline
6030
/\\$/{
6031
 N
6032
 s,\\\n,,
6033
 b mline
6034
}
7091
t clear
6035
t clear
7092
: clear
6036
:clear
7093
s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\),-D\1=\2,g
6037
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
7094
t quote
6038
t quote
7095
s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\),-D\1=\2,g
6039
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
7096
t quote
6040
t quote
7097
d
6041
b any
7098
: quote
6042
:quote
7099
s,[	 `~#$^&*(){}\\|;'"<>?],\\&,g
6043
s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
7100
s,\[,\\&,g
6044
s/\[/\\&/g
7101
s,\],\\&,g
6045
s/\]/\\&/g
7102
s,\$,$$,g
6046
s/\$/$$/g
7103
p
6047
H
7104
_ACEOF
6048
:any
7105
# We use echo to avoid assuming a particular line-breaking character.
6049
${
7106
# The extra dot is to prevent the shell from consuming trailing
6050
	g
7107
# line-breaks from the sub-command output.  A line-break within
6051
	s/^\n//
7108
# single-quotes doesn't work because, if this script is created in a
6052
	s/\n/ /g
7109
# platform that uses two characters for line-breaks (e.g., DOS), tr
6053
	p
7110
# would break.
6054
}
7111
ac_LF_and_DOT=`echo; echo .`
6055
'
7112
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
6056
DEFS=`sed -n "$ac_script" confdefs.h`
7113
rm -f confdef2opt.sed
7114
6057
7115
6058
7116
ac_libobjs=
6059
ac_libobjs=
7117
ac_ltlibobjs=
6060
ac_ltlibobjs=
6061
U=
7118
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6062
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7119
  # 1. Remove the extension, and $U if already installed.
6063
  # 1. Remove the extension, and $U if already installed.
7120
  ac_i=`echo "$ac_i" |
6064
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7121
	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6065
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7122
  # 2. Add them.
6066
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
7123
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6067
  #    will be set to the directory where LIBOBJS objects are built.
7124
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6068
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6069
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7125
done
6070
done
7126
LIBOBJS=$ac_libobjs
6071
LIBOBJS=$ac_libobjs
7127
6072
Lines 7129-7140 LTLIBOBJS=$ac_ltlibobjs Link Here
7129
6074
7130
6075
7131
6076
7132
: ${CONFIG_STATUS=./config.status}
6077
: "${CONFIG_STATUS=./config.status}"
6078
ac_write_fail=0
7133
ac_clean_files_save=$ac_clean_files
6079
ac_clean_files_save=$ac_clean_files
7134
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6080
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7135
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6081
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7136
echo "$as_me: creating $CONFIG_STATUS" >&6;}
6082
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7137
cat >$CONFIG_STATUS <<_ACEOF
6083
as_write_fail=0
6084
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7138
#! $SHELL
6085
#! $SHELL
7139
# Generated by $as_me.
6086
# Generated by $as_me.
7140
# Run this file to recreate the current configuration.
6087
# Run this file to recreate the current configuration.
Lines 7144-7224 cat >$CONFIG_STATUS <<_ACEOF Link Here
7144
debug=false
6091
debug=false
7145
ac_cs_recheck=false
6092
ac_cs_recheck=false
7146
ac_cs_silent=false
6093
ac_cs_silent=false
6094
7147
SHELL=\${CONFIG_SHELL-$SHELL}
6095
SHELL=\${CONFIG_SHELL-$SHELL}
7148
_ACEOF
6096
export SHELL
6097
_ASEOF
6098
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6099
## -------------------- ##
6100
## M4sh Initialization. ##
6101
## -------------------- ##
7149
6102
7150
cat >>$CONFIG_STATUS <<\_ACEOF
6103
# Be more Bourne compatible
7151
## --------------------- ##
6104
DUALCASE=1; export DUALCASE # for MKS sh
7152
## M4sh Initialization.  ##
6105
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7153
## --------------------- ##
7154
7155
# Be Bourne compatible
7156
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7157
  emulate sh
6106
  emulate sh
7158
  NULLCMD=:
6107
  NULLCMD=:
7159
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6108
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7160
  # is contrary to our usage.  Disable this feature.
6109
  # is contrary to our usage.  Disable this feature.
7161
  alias -g '${1+"$@"}'='"$@"'
6110
  alias -g '${1+"$@"}'='"$@"'
7162
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6111
  setopt NO_GLOB_SUBST
7163
  set -o posix
6112
else
6113
  case `(set -o) 2>/dev/null` in #(
6114
  *posix*) :
6115
    set -o posix ;; #(
6116
  *) :
6117
     ;;
6118
esac
7164
fi
6119
fi
7165
DUALCASE=1; export DUALCASE # for MKS sh
7166
6120
7167
# Support unset when possible.
6121
7168
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6122
as_nl='
7169
  as_unset=unset
6123
'
6124
export as_nl
6125
# Printing a long string crashes Solaris 7 /usr/bin/printf.
6126
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6127
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6128
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6129
# Prefer a ksh shell builtin over an external printf program on Solaris,
6130
# but without wasting forks for bash or zsh.
6131
if test -z "$BASH_VERSION$ZSH_VERSION" \
6132
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6133
  as_echo='print -r --'
6134
  as_echo_n='print -rn --'
6135
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6136
  as_echo='printf %s\n'
6137
  as_echo_n='printf %s'
7170
else
6138
else
7171
  as_unset=false
6139
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6140
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6141
    as_echo_n='/usr/ucb/echo -n'
6142
  else
6143
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6144
    as_echo_n_body='eval
6145
      arg=$1;
6146
      case $arg in #(
6147
      *"$as_nl"*)
6148
	expr "X$arg" : "X\\(.*\\)$as_nl";
6149
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6150
      esac;
6151
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6152
    '
6153
    export as_echo_n_body
6154
    as_echo_n='sh -c $as_echo_n_body as_echo'
6155
  fi
6156
  export as_echo_body
6157
  as_echo='sh -c $as_echo_body as_echo'
7172
fi
6158
fi
7173
6159
6160
# The user is always right.
6161
if test "${PATH_SEPARATOR+set}" != set; then
6162
  PATH_SEPARATOR=:
6163
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6164
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6165
      PATH_SEPARATOR=';'
6166
  }
6167
fi
7174
6168
7175
# Work around bugs in pre-3.0 UWIN ksh.
6169
7176
$as_unset ENV MAIL MAILPATH
6170
# IFS
6171
# We need space, tab and new line, in precisely that order.  Quoting is
6172
# there to prevent editors from complaining about space-tab.
6173
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6174
# splitting by setting IFS to empty value.)
6175
IFS=" ""	$as_nl"
6176
6177
# Find who we are.  Look in the path if we contain no directory separator.
6178
as_myself=
6179
case $0 in #((
6180
  *[\\/]* ) as_myself=$0 ;;
6181
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6182
for as_dir in $PATH
6183
do
6184
  IFS=$as_save_IFS
6185
  test -z "$as_dir" && as_dir=.
6186
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6187
  done
6188
IFS=$as_save_IFS
6189
6190
     ;;
6191
esac
6192
# We did not find ourselves, most probably we were run as `sh COMMAND'
6193
# in which case we are not to be found in the path.
6194
if test "x$as_myself" = x; then
6195
  as_myself=$0
6196
fi
6197
if test ! -f "$as_myself"; then
6198
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6199
  exit 1
6200
fi
6201
6202
# Unset variables that we do not need and which cause bugs (e.g. in
6203
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
6204
# suppresses any "Segmentation fault" message there.  '((' could
6205
# trigger a bug in pdksh 5.2.14.
6206
for as_var in BASH_ENV ENV MAIL MAILPATH
6207
do eval test x\${$as_var+set} = xset \
6208
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6209
done
7177
PS1='$ '
6210
PS1='$ '
7178
PS2='> '
6211
PS2='> '
7179
PS4='+ '
6212
PS4='+ '
7180
6213
7181
# NLS nuisances.
6214
# NLS nuisances.
7182
for as_var in \
6215
LC_ALL=C
7183
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6216
export LC_ALL
7184
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6217
LANGUAGE=C
7185
  LC_TELEPHONE LC_TIME
6218
export LANGUAGE
7186
do
6219
7187
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6220
# CDPATH.
7188
    eval $as_var=C; export $as_var
6221
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7189
  else
6222
7190
    $as_unset $as_var
6223
6224
# as_fn_error STATUS ERROR [LINENO LOG_FD]
6225
# ----------------------------------------
6226
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6227
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6228
# script with STATUS, using 1 if that was 0.
6229
as_fn_error ()
6230
{
6231
  as_status=$1; test $as_status -eq 0 && as_status=1
6232
  if test "$4"; then
6233
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6234
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7191
  fi
6235
  fi
7192
done
6236
  $as_echo "$as_me: error: $2" >&2
6237
  as_fn_exit $as_status
6238
} # as_fn_error
7193
6239
7194
# Required to use basename.
6240
7195
if expr a : '\(a\)' >/dev/null 2>&1; then
6241
# as_fn_set_status STATUS
6242
# -----------------------
6243
# Set $? to STATUS, without forking.
6244
as_fn_set_status ()
6245
{
6246
  return $1
6247
} # as_fn_set_status
6248
6249
# as_fn_exit STATUS
6250
# -----------------
6251
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6252
as_fn_exit ()
6253
{
6254
  set +e
6255
  as_fn_set_status $1
6256
  exit $1
6257
} # as_fn_exit
6258
6259
# as_fn_unset VAR
6260
# ---------------
6261
# Portably unset VAR.
6262
as_fn_unset ()
6263
{
6264
  { eval $1=; unset $1;}
6265
}
6266
as_unset=as_fn_unset
6267
# as_fn_append VAR VALUE
6268
# ----------------------
6269
# Append the text in VALUE to the end of the definition contained in VAR. Take
6270
# advantage of any shell optimizations that allow amortized linear growth over
6271
# repeated appends, instead of the typical quadratic growth present in naive
6272
# implementations.
6273
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6274
  eval 'as_fn_append ()
6275
  {
6276
    eval $1+=\$2
6277
  }'
6278
else
6279
  as_fn_append ()
6280
  {
6281
    eval $1=\$$1\$2
6282
  }
6283
fi # as_fn_append
6284
6285
# as_fn_arith ARG...
6286
# ------------------
6287
# Perform arithmetic evaluation on the ARGs, and store the result in the
6288
# global $as_val. Take advantage of shells that can avoid forks. The arguments
6289
# must be portable across $(()) and expr.
6290
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6291
  eval 'as_fn_arith ()
6292
  {
6293
    as_val=$(( $* ))
6294
  }'
6295
else
6296
  as_fn_arith ()
6297
  {
6298
    as_val=`expr "$@" || test $? -eq 1`
6299
  }
6300
fi # as_fn_arith
6301
6302
6303
if expr a : '\(a\)' >/dev/null 2>&1 &&
6304
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
7196
  as_expr=expr
6305
  as_expr=expr
7197
else
6306
else
7198
  as_expr=false
6307
  as_expr=false
7199
fi
6308
fi
7200
6309
7201
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6310
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7202
  as_basename=basename
6311
  as_basename=basename
7203
else
6312
else
7204
  as_basename=false
6313
  as_basename=false
7205
fi
6314
fi
7206
6315
6316
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6317
  as_dirname=dirname
6318
else
6319
  as_dirname=false
6320
fi
7207
6321
7208
# Name of the executable.
6322
as_me=`$as_basename -- "$0" ||
7209
as_me=`$as_basename "$0" ||
7210
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6323
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7211
	 X"$0" : 'X\(//\)$' \| \
6324
	 X"$0" : 'X\(//\)$' \| \
7212
	 X"$0" : 'X\(/\)$' \| \
6325
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7213
	 .     : '\(.\)' 2>/dev/null ||
6326
$as_echo X/"$0" |
7214
echo X/"$0" |
6327
    sed '/^.*\/\([^/][^/]*\)\/*$/{
7215
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6328
	    s//\1/
7216
  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
6329
	    q
7217
  	  /^X\/\(\/\).*/{ s//\1/; q; }
6330
	  }
7218
  	  s/.*/./; q'`
6331
	  /^X\/\(\/\/\)$/{
6332
	    s//\1/
6333
	    q
6334
	  }
6335
	  /^X\/\(\/\).*/{
6336
	    s//\1/
6337
	    q
6338
	  }
6339
	  s/.*/./; q'`
7219
6340
7220
7221
# PATH needs CR, and LINENO needs CR and PATH.
7222
# Avoid depending upon Character Ranges.
6341
# Avoid depending upon Character Ranges.
7223
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6342
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7224
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6343
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
Lines 7226-7374 as_cr_Letters=$as_cr_letters$as_cr_LETTERS Link Here
7226
as_cr_digits='0123456789'
6345
as_cr_digits='0123456789'
7227
as_cr_alnum=$as_cr_Letters$as_cr_digits
6346
as_cr_alnum=$as_cr_Letters$as_cr_digits
7228
6347
7229
# The user is always right.
6348
ECHO_C= ECHO_N= ECHO_T=
7230
if test "${PATH_SEPARATOR+set}" != set; then
6349
case `echo -n x` in #(((((
7231
  echo "#! /bin/sh" >conf$$.sh
6350
-n*)
7232
  echo  "exit 0"   >>conf$$.sh
6351
  case `echo 'xy\c'` in
7233
  chmod +x conf$$.sh
6352
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
7234
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6353
  xy)  ECHO_C='\c';;
7235
    PATH_SEPARATOR=';'
6354
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
7236
  else
6355
       ECHO_T='	';;
7237
    PATH_SEPARATOR=:
6356
  esac;;
7238
  fi
6357
*)
7239
  rm -f conf$$.sh
6358
  ECHO_N='-n';;
7240
fi
7241
7242
7243
  as_lineno_1=$LINENO
7244
  as_lineno_2=$LINENO
7245
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7246
  test "x$as_lineno_1" != "x$as_lineno_2" &&
7247
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
7248
  # Find who we are.  Look in the path if we contain no path at all
7249
  # relative or not.
7250
  case $0 in
7251
    *[\\/]* ) as_myself=$0 ;;
7252
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7253
for as_dir in $PATH
7254
do
7255
  IFS=$as_save_IFS
7256
  test -z "$as_dir" && as_dir=.
7257
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7258
done
7259
7260
       ;;
7261
  esac
7262
  # We did not find ourselves, most probably we were run as `sh COMMAND'
7263
  # in which case we are not to be found in the path.
7264
  if test "x$as_myself" = x; then
7265
    as_myself=$0
7266
  fi
7267
  if test ! -f "$as_myself"; then
7268
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7269
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7270
   { (exit 1); exit 1; }; }
7271
  fi
7272
  case $CONFIG_SHELL in
7273
  '')
7274
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7275
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7276
do
7277
  IFS=$as_save_IFS
7278
  test -z "$as_dir" && as_dir=.
7279
  for as_base in sh bash ksh sh5; do
7280
	 case $as_dir in
7281
	 /*)
7282
	   if ("$as_dir/$as_base" -c '
7283
  as_lineno_1=$LINENO
7284
  as_lineno_2=$LINENO
7285
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7286
  test "x$as_lineno_1" != "x$as_lineno_2" &&
7287
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
7288
	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7289
	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7290
	     CONFIG_SHELL=$as_dir/$as_base
7291
	     export CONFIG_SHELL
7292
	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7293
	   fi;;
7294
	 esac
7295
       done
7296
done
7297
;;
7298
  esac
7299
7300
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7301
  # uniformly replaced by the line number.  The first 'sed' inserts a
7302
  # line-number line before each line; the second 'sed' does the real
7303
  # work.  The second script uses 'N' to pair each line-number line
7304
  # with the numbered line, and appends trailing '-' during
7305
  # substitution so that $LINENO is not a special case at line end.
7306
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7307
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
7308
  sed '=' <$as_myself |
7309
    sed '
7310
      N
7311
      s,$,-,
7312
      : loop
7313
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7314
      t loop
7315
      s,-$,,
7316
      s,^['$as_cr_digits']*\n,,
7317
    ' >$as_me.lineno &&
7318
  chmod +x $as_me.lineno ||
7319
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7320
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7321
   { (exit 1); exit 1; }; }
7322
7323
  # Don't try to exec as it changes $[0], causing all sort of problems
7324
  # (the dirname of $[0] is not the place where we might find the
7325
  # original and so on.  Autoconf is especially sensible to this).
7326
  . ./$as_me.lineno
7327
  # Exit status is that of the last command.
7328
  exit
7329
}
7330
7331
7332
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7333
  *c*,-n*) ECHO_N= ECHO_C='
7334
' ECHO_T='	' ;;
7335
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7336
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
7337
esac
6359
esac
7338
6360
7339
if expr a : '\(a\)' >/dev/null 2>&1; then
6361
rm -f conf$$ conf$$.exe conf$$.file
7340
  as_expr=expr
6362
if test -d conf$$.dir; then
6363
  rm -f conf$$.dir/conf$$.file
7341
else
6364
else
7342
  as_expr=false
6365
  rm -f conf$$.dir
6366
  mkdir conf$$.dir 2>/dev/null
7343
fi
6367
fi
7344
6368
if (echo >conf$$.file) 2>/dev/null; then
7345
rm -f conf$$ conf$$.exe conf$$.file
6369
  if ln -s conf$$.file conf$$ 2>/dev/null; then
7346
echo >conf$$.file
7347
if ln -s conf$$.file conf$$ 2>/dev/null; then
7348
  # We could just check for DJGPP; but this test a) works b) is more generic
7349
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7350
  if test -f conf$$.exe; then
7351
    # Don't use ln at all; we don't have any links
7352
    as_ln_s='cp -p'
7353
  else
7354
    as_ln_s='ln -s'
6370
    as_ln_s='ln -s'
6371
    # ... but there are two gotchas:
6372
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6373
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6374
    # In both cases, we have to default to `cp -pR'.
6375
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6376
      as_ln_s='cp -pR'
6377
  elif ln conf$$.file conf$$ 2>/dev/null; then
6378
    as_ln_s=ln
6379
  else
6380
    as_ln_s='cp -pR'
7355
  fi
6381
  fi
7356
elif ln conf$$.file conf$$ 2>/dev/null; then
7357
  as_ln_s=ln
7358
else
6382
else
7359
  as_ln_s='cp -p'
6383
  as_ln_s='cp -pR'
7360
fi
6384
fi
7361
rm -f conf$$ conf$$.exe conf$$.file
6385
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6386
rmdir conf$$.dir 2>/dev/null
7362
6387
6388
6389
# as_fn_mkdir_p
6390
# -------------
6391
# Create "$as_dir" as a directory, including parents if necessary.
6392
as_fn_mkdir_p ()
6393
{
6394
6395
  case $as_dir in #(
6396
  -*) as_dir=./$as_dir;;
6397
  esac
6398
  test -d "$as_dir" || eval $as_mkdir_p || {
6399
    as_dirs=
6400
    while :; do
6401
      case $as_dir in #(
6402
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6403
      *) as_qdir=$as_dir;;
6404
      esac
6405
      as_dirs="'$as_qdir' $as_dirs"
6406
      as_dir=`$as_dirname -- "$as_dir" ||
6407
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6408
	 X"$as_dir" : 'X\(//\)[^/]' \| \
6409
	 X"$as_dir" : 'X\(//\)$' \| \
6410
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6411
$as_echo X"$as_dir" |
6412
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6413
	    s//\1/
6414
	    q
6415
	  }
6416
	  /^X\(\/\/\)[^/].*/{
6417
	    s//\1/
6418
	    q
6419
	  }
6420
	  /^X\(\/\/\)$/{
6421
	    s//\1/
6422
	    q
6423
	  }
6424
	  /^X\(\/\).*/{
6425
	    s//\1/
6426
	    q
6427
	  }
6428
	  s/.*/./; q'`
6429
      test -d "$as_dir" && break
6430
    done
6431
    test -z "$as_dirs" || eval "mkdir $as_dirs"
6432
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6433
6434
6435
} # as_fn_mkdir_p
7363
if mkdir -p . 2>/dev/null; then
6436
if mkdir -p . 2>/dev/null; then
7364
  as_mkdir_p=:
6437
  as_mkdir_p='mkdir -p "$as_dir"'
7365
else
6438
else
7366
  test -d ./-p && rmdir ./-p
6439
  test -d ./-p && rmdir ./-p
7367
  as_mkdir_p=false
6440
  as_mkdir_p=false
7368
fi
6441
fi
7369
6442
7370
as_executable_p="test -f"
7371
6443
6444
# as_fn_executable_p FILE
6445
# -----------------------
6446
# Test if FILE is an executable regular file.
6447
as_fn_executable_p ()
6448
{
6449
  test -f "$1" && test -x "$1"
6450
} # as_fn_executable_p
6451
as_test_x='test -x'
6452
as_executable_p=as_fn_executable_p
6453
7372
# Sed expression to map a string onto a valid CPP name.
6454
# Sed expression to map a string onto a valid CPP name.
7373
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6455
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7374
6456
Lines 7376-7406 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS Link Here
7376
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6458
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7377
6459
7378
6460
7379
# IFS
7380
# We need space, tab and new line, in precisely that order.
7381
as_nl='
7382
'
7383
IFS=" 	$as_nl"
7384
7385
# CDPATH.
7386
$as_unset CDPATH
7387
7388
exec 6>&1
6461
exec 6>&1
6462
## ----------------------------------- ##
6463
## Main body of $CONFIG_STATUS script. ##
6464
## ----------------------------------- ##
6465
_ASEOF
6466
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7389
6467
7390
# Open the log real soon, to keep \$[0] and so on meaningful, and to
6468
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6469
# Save the log message, to keep $0 and so on meaningful, and to
7391
# report actual input values of CONFIG_FILES etc. instead of their
6470
# report actual input values of CONFIG_FILES etc. instead of their
7392
# values after options handling.  Logging --version etc. is OK.
6471
# values after options handling.
7393
exec 5>>config.log
6472
ac_log="
7394
{
7395
  echo
7396
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7397
## Running $as_me. ##
7398
_ASBOX
7399
} >&5
7400
cat >&5 <<_CSEOF
7401
7402
This file was extended by $as_me, which was
6473
This file was extended by $as_me, which was
7403
generated by GNU Autoconf 2.59.  Invocation command line was
6474
generated by GNU Autoconf 2.69.  Invocation command line was
7404
6475
7405
  CONFIG_FILES    = $CONFIG_FILES
6476
  CONFIG_FILES    = $CONFIG_FILES
7406
  CONFIG_HEADERS  = $CONFIG_HEADERS
6477
  CONFIG_HEADERS  = $CONFIG_HEADERS
Lines 7408-7531 generated by GNU Autoconf 2.59. Invocation command li Link Here
7408
  CONFIG_COMMANDS = $CONFIG_COMMANDS
6479
  CONFIG_COMMANDS = $CONFIG_COMMANDS
7409
  $ $0 $@
6480
  $ $0 $@
7410
6481
7411
_CSEOF
6482
on `(hostname || uname -n) 2>/dev/null | sed 1q`
7412
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6483
"
7413
echo >&5
6484
7414
_ACEOF
6485
_ACEOF
7415
6486
7416
# Files that config.status was made for.
6487
case $ac_config_files in *"
7417
if test -n "$ac_config_files"; then
6488
"*) set x $ac_config_files; shift; ac_config_files=$*;;
7418
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6489
esac
7419
fi
7420
6490
7421
if test -n "$ac_config_headers"; then
7422
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7423
fi
7424
6491
7425
if test -n "$ac_config_links"; then
7426
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7427
fi
7428
6492
7429
if test -n "$ac_config_commands"; then
6493
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7430
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6494
# Files that config.status was made for.
7431
fi
6495
config_files="$ac_config_files"
7432
6496
7433
cat >>$CONFIG_STATUS <<\_ACEOF
6497
_ACEOF
7434
6498
6499
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7435
ac_cs_usage="\
6500
ac_cs_usage="\
7436
\`$as_me' instantiates files from templates according to the
6501
\`$as_me' instantiates files and other configuration actions
7437
current configuration.
6502
from templates according to the current configuration.  Unless the files
6503
and actions are specified as TAGs, all are instantiated by default.
7438
6504
7439
Usage: $0 [OPTIONS] [FILE]...
6505
Usage: $0 [OPTION]... [TAG]...
7440
6506
7441
  -h, --help       print this help, then exit
6507
  -h, --help       print this help, then exit
7442
  -V, --version    print version number, then exit
6508
  -V, --version    print version number and configuration settings, then exit
7443
  -q, --quiet      do not print progress messages
6509
      --config     print configuration, then exit
6510
  -q, --quiet, --silent
6511
                   do not print progress messages
7444
  -d, --debug      don't remove temporary files
6512
  -d, --debug      don't remove temporary files
7445
      --recheck    update $as_me by reconfiguring in the same conditions
6513
      --recheck    update $as_me by reconfiguring in the same conditions
7446
  --file=FILE[:TEMPLATE]
6514
      --file=FILE[:TEMPLATE]
7447
		   instantiate the configuration file FILE
6515
                   instantiate the configuration file FILE
7448
6516
7449
Configuration files:
6517
Configuration files:
7450
$config_files
6518
$config_files
7451
6519
7452
Report bugs to <bug-autoconf@gnu.org>."
6520
Report bugs to the package provider."
7453
_ACEOF
7454
6521
7455
cat >>$CONFIG_STATUS <<_ACEOF
6522
_ACEOF
6523
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6524
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7456
ac_cs_version="\\
6525
ac_cs_version="\\
7457
config.status
6526
config.status
7458
configured by $0, generated by GNU Autoconf 2.59,
6527
configured by $0, generated by GNU Autoconf 2.69,
7459
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6528
  with options \\"\$ac_cs_config\\"
7460
6529
7461
Copyright (C) 2003 Free Software Foundation, Inc.
6530
Copyright (C) 2012 Free Software Foundation, Inc.
7462
This config.status script is free software; the Free Software Foundation
6531
This config.status script is free software; the Free Software Foundation
7463
gives unlimited permission to copy, distribute and modify it."
6532
gives unlimited permission to copy, distribute and modify it."
7464
srcdir=$srcdir
6533
6534
ac_pwd='$ac_pwd'
6535
srcdir='$srcdir'
6536
test -n "\$AWK" || AWK=awk
7465
_ACEOF
6537
_ACEOF
7466
6538
7467
cat >>$CONFIG_STATUS <<\_ACEOF
6539
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7468
# If no file are specified by the user, then we need to provide default
6540
# The default lists apply if the user does not specify any file.
7469
# value.  By we need to know if files were specified by the user.
7470
ac_need_defaults=:
6541
ac_need_defaults=:
7471
while test $# != 0
6542
while test $# != 0
7472
do
6543
do
7473
  case $1 in
6544
  case $1 in
7474
  --*=*)
6545
  --*=?*)
7475
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
6546
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
7476
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6547
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7477
    ac_shift=:
6548
    ac_shift=:
7478
    ;;
6549
    ;;
7479
  -*)
6550
  --*=)
6551
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6552
    ac_optarg=
6553
    ac_shift=:
6554
    ;;
6555
  *)
7480
    ac_option=$1
6556
    ac_option=$1
7481
    ac_optarg=$2
6557
    ac_optarg=$2
7482
    ac_shift=shift
6558
    ac_shift=shift
7483
    ;;
6559
    ;;
7484
  *) # This is not an option, so the user has probably given explicit
7485
     # arguments.
7486
     ac_option=$1
7487
     ac_need_defaults=false;;
7488
  esac
6560
  esac
7489
6561
7490
  case $ac_option in
6562
  case $ac_option in
7491
  # Handling of the options.
6563
  # Handling of the options.
7492
_ACEOF
7493
cat >>$CONFIG_STATUS <<\_ACEOF
7494
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6564
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7495
    ac_cs_recheck=: ;;
6565
    ac_cs_recheck=: ;;
7496
  --version | --vers* | -V )
6566
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7497
    echo "$ac_cs_version"; exit 0 ;;
6567
    $as_echo "$ac_cs_version"; exit ;;
7498
  --he | --h)
6568
  --config | --confi | --conf | --con | --co | --c )
7499
    # Conflict between --help and --header
6569
    $as_echo "$ac_cs_config"; exit ;;
7500
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
6570
  --debug | --debu | --deb | --de | --d | -d )
7501
Try \`$0 --help' for more information." >&5
7502
echo "$as_me: error: ambiguous option: $1
7503
Try \`$0 --help' for more information." >&2;}
7504
   { (exit 1); exit 1; }; };;
7505
  --help | --hel | -h )
7506
    echo "$ac_cs_usage"; exit 0 ;;
7507
  --debug | --d* | -d )
7508
    debug=: ;;
6571
    debug=: ;;
7509
  --file | --fil | --fi | --f )
6572
  --file | --fil | --fi | --f )
7510
    $ac_shift
6573
    $ac_shift
7511
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6574
    case $ac_optarg in
6575
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6576
    '') as_fn_error $? "missing file argument" ;;
6577
    esac
6578
    as_fn_append CONFIG_FILES " '$ac_optarg'"
7512
    ac_need_defaults=false;;
6579
    ac_need_defaults=false;;
7513
  --header | --heade | --head | --hea )
6580
  --he | --h |  --help | --hel | -h )
7514
    $ac_shift
6581
    $as_echo "$ac_cs_usage"; exit ;;
7515
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7516
    ac_need_defaults=false;;
7517
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6582
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7518
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
6583
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
7519
    ac_cs_silent=: ;;
6584
    ac_cs_silent=: ;;
7520
6585
7521
  # This is an error.
6586
  # This is an error.
7522
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6587
  -*) as_fn_error $? "unrecognized option: \`$1'
7523
Try \`$0 --help' for more information." >&5
6588
Try \`$0 --help' for more information." ;;
7524
echo "$as_me: error: unrecognized option: $1
7525
Try \`$0 --help' for more information." >&2;}
7526
   { (exit 1); exit 1; }; } ;;
7527
6589
7528
  *) ac_config_targets="$ac_config_targets $1" ;;
6590
  *) as_fn_append ac_config_targets " $1"
6591
     ac_need_defaults=false ;;
7529
6592
7530
  esac
6593
  esac
7531
  shift
6594
  shift
Lines 7539-7569 if $ac_cs_silent; then Link Here
7539
fi
6602
fi
7540
6603
7541
_ACEOF
6604
_ACEOF
7542
cat >>$CONFIG_STATUS <<_ACEOF
6605
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7543
if \$ac_cs_recheck; then
6606
if \$ac_cs_recheck; then
7544
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6607
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7545
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6608
  shift
6609
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6610
  CONFIG_SHELL='$SHELL'
6611
  export CONFIG_SHELL
6612
  exec "\$@"
7546
fi
6613
fi
7547
6614
7548
_ACEOF
6615
_ACEOF
6616
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6617
exec 5>>config.log
6618
{
6619
  echo
6620
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6621
## Running $as_me. ##
6622
_ASBOX
6623
  $as_echo "$ac_log"
6624
} >&5
7549
6625
6626
_ACEOF
6627
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6628
_ACEOF
7550
6629
6630
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7551
6631
7552
6632
# Handling of arguments.
7553
7554
cat >>$CONFIG_STATUS <<\_ACEOF
7555
for ac_config_target in $ac_config_targets
6633
for ac_config_target in $ac_config_targets
7556
do
6634
do
7557
  case "$ac_config_target" in
6635
  case $ac_config_target in
7558
  # Handling of arguments.
6636
    "config.mk") CONFIG_FILES="$CONFIG_FILES config.mk" ;;
7559
  "config.mk" ) CONFIG_FILES="$CONFIG_FILES config.mk" ;;
6637
    "c_src/Makefile") CONFIG_FILES="$CONFIG_FILES c_src/Makefile" ;;
7560
  "c_src/Makefile" ) CONFIG_FILES="$CONFIG_FILES c_src/Makefile" ;;
6638
7561
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6639
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7562
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7563
   { (exit 1); exit 1; }; };;
7564
  esac
6640
  esac
7565
done
6641
done
7566
6642
6643
7567
# If the user did not use the arguments to specify the items to instantiate,
6644
# If the user did not use the arguments to specify the items to instantiate,
7568
# then the envvar interface is used.  Set only those that are not.
6645
# then the envvar interface is used.  Set only those that are not.
7569
# We use the long form for the default assignment because of an extremely
6646
# We use the long form for the default assignment because of an extremely
Lines 7573-7953 if $ac_need_defaults; then Link Here
7573
fi
6650
fi
7574
6651
7575
# Have a temporary directory for convenience.  Make it in the build tree
6652
# Have a temporary directory for convenience.  Make it in the build tree
7576
# simply because there is no reason to put it here, and in addition,
6653
# simply because there is no reason against having it here, and in addition,
7577
# creating and moving files from /tmp can sometimes cause problems.
6654
# creating and moving files from /tmp can sometimes cause problems.
7578
# Create a temporary directory, and hook for its removal unless debugging.
6655
# Hook for its removal unless debugging.
6656
# Note that there is a small window in which the directory will not be cleaned:
6657
# after its creation but before its name has been assigned to `$tmp'.
7579
$debug ||
6658
$debug ||
7580
{
6659
{
7581
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6660
  tmp= ac_tmp=
7582
  trap '{ (exit 1); exit 1; }' 1 2 13 15
6661
  trap 'exit_status=$?
6662
  : "${ac_tmp:=$tmp}"
6663
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6664
' 0
6665
  trap 'as_fn_exit 1' 1 2 13 15
7583
}
6666
}
7584
7585
# Create a (secure) tmp directory for tmp files.
6667
# Create a (secure) tmp directory for tmp files.
7586
6668
7587
{
6669
{
7588
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6670
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7589
  test -n "$tmp" && test -d "$tmp"
6671
  test -d "$tmp"
7590
}  ||
6672
}  ||
7591
{
6673
{
7592
  tmp=./confstat$$-$RANDOM
6674
  tmp=./conf$$-$RANDOM
7593
  (umask 077 && mkdir $tmp)
6675
  (umask 077 && mkdir "$tmp")
7594
} ||
6676
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6677
ac_tmp=$tmp
6678
6679
# Set up the scripts for CONFIG_FILES section.
6680
# No need to generate them if there are no CONFIG_FILES.
6681
# This happens for instance with `./config.status config.h'.
6682
if test -n "$CONFIG_FILES"; then
6683
6684
6685
ac_cr=`echo X | tr X '\015'`
6686
# On cygwin, bash can eat \r inside `` if the user requested igncr.
6687
# But we know of no other shell where ac_cr would be empty at this
6688
# point, so we can use a bashism as a fallback.
6689
if test "x$ac_cr" = x; then
6690
  eval ac_cr=\$\'\\r\'
6691
fi
6692
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6693
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6694
  ac_cs_awk_cr='\\r'
6695
else
6696
  ac_cs_awk_cr=$ac_cr
6697
fi
6698
6699
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6700
_ACEOF
6701
6702
7595
{
6703
{
7596
   echo "$me: cannot create a temporary directory in ." >&2
6704
  echo "cat >conf$$subs.awk <<_ACEOF" &&
7597
   { (exit 1); exit 1; }
6705
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6706
  echo "_ACEOF"
6707
} >conf$$subs.sh ||
6708
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6709
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6710
ac_delim='%!_!# '
6711
for ac_last_try in false false false false false :; do
6712
  . ./conf$$subs.sh ||
6713
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6714
6715
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6716
  if test $ac_delim_n = $ac_delim_num; then
6717
    break
6718
  elif $ac_last_try; then
6719
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6720
  else
6721
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6722
  fi
6723
done
6724
rm -f conf$$subs.sh
6725
6726
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6727
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6728
_ACEOF
6729
sed -n '
6730
h
6731
s/^/S["/; s/!.*/"]=/
6732
p
6733
g
6734
s/^[^!]*!//
6735
:repl
6736
t repl
6737
s/'"$ac_delim"'$//
6738
t delim
6739
:nl
6740
h
6741
s/\(.\{148\}\)..*/\1/
6742
t more1
6743
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6744
p
6745
n
6746
b repl
6747
:more1
6748
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6749
p
6750
g
6751
s/.\{148\}//
6752
t nl
6753
:delim
6754
h
6755
s/\(.\{148\}\)..*/\1/
6756
t more2
6757
s/["\\]/\\&/g; s/^/"/; s/$/"/
6758
p
6759
b
6760
:more2
6761
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6762
p
6763
g
6764
s/.\{148\}//
6765
t delim
6766
' <conf$$subs.awk | sed '
6767
/^[^""]/{
6768
  N
6769
  s/\n//
7598
}
6770
}
6771
' >>$CONFIG_STATUS || ac_write_fail=1
6772
rm -f conf$$subs.awk
6773
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6774
_ACAWK
6775
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6776
  for (key in S) S_is_set[key] = 1
6777
  FS = ""
7599
6778
6779
}
6780
{
6781
  line = $ 0
6782
  nfields = split(line, field, "@")
6783
  substed = 0
6784
  len = length(field[1])
6785
  for (i = 2; i < nfields; i++) {
6786
    key = field[i]
6787
    keylen = length(key)
6788
    if (S_is_set[key]) {
6789
      value = S[key]
6790
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6791
      len += length(value) + length(field[++i])
6792
      substed = 1
6793
    } else
6794
      len += 1 + keylen
6795
  }
6796
6797
  print line
6798
}
6799
6800
_ACAWK
7600
_ACEOF
6801
_ACEOF
6802
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6803
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6804
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6805
else
6806
  cat
6807
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6808
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6809
_ACEOF
7601
6810
7602
cat >>$CONFIG_STATUS <<_ACEOF
6811
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6812
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6813
# trailing colons and then remove the whole line if VPATH becomes empty
6814
# (actually we leave an empty line to preserve line numbers).
6815
if test "x$srcdir" = x.; then
6816
  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
6817
h
6818
s///
6819
s/^/:/
6820
s/[	 ]*$/:/
6821
s/:\$(srcdir):/:/g
6822
s/:\${srcdir}:/:/g
6823
s/:@srcdir@:/:/g
6824
s/^:*//
6825
s/:*$//
6826
x
6827
s/\(=[	 ]*\).*/\1/
6828
G
6829
s/\n//
6830
s/^[^=]*=[	 ]*$//
6831
}'
6832
fi
7603
6833
7604
#
6834
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7605
# CONFIG_FILES section.
6835
fi # test -n "$CONFIG_FILES"
7606
#
7607
6836
7608
# No need to generate the scripts if there are no CONFIG_FILES.
7609
# This happens for instance when ./config.status config.h
7610
if test -n "\$CONFIG_FILES"; then
7611
  # Protect against being on the right side of a sed subst in config.status.
7612
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7613
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7614
s,@SHELL@,$SHELL,;t t
7615
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7616
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7617
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7618
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7619
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7620
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7621
s,@exec_prefix@,$exec_prefix,;t t
7622
s,@prefix@,$prefix,;t t
7623
s,@program_transform_name@,$program_transform_name,;t t
7624
s,@bindir@,$bindir,;t t
7625
s,@sbindir@,$sbindir,;t t
7626
s,@libexecdir@,$libexecdir,;t t
7627
s,@datadir@,$datadir,;t t
7628
s,@sysconfdir@,$sysconfdir,;t t
7629
s,@sharedstatedir@,$sharedstatedir,;t t
7630
s,@localstatedir@,$localstatedir,;t t
7631
s,@libdir@,$libdir,;t t
7632
s,@includedir@,$includedir,;t t
7633
s,@oldincludedir@,$oldincludedir,;t t
7634
s,@infodir@,$infodir,;t t
7635
s,@mandir@,$mandir,;t t
7636
s,@build_alias@,$build_alias,;t t
7637
s,@host_alias@,$host_alias,;t t
7638
s,@target_alias@,$target_alias,;t t
7639
s,@DEFS@,$DEFS,;t t
7640
s,@ECHO_C@,$ECHO_C,;t t
7641
s,@ECHO_N@,$ECHO_N,;t t
7642
s,@ECHO_T@,$ECHO_T,;t t
7643
s,@LIBS@,$LIBS,;t t
7644
s,@build@,$build,;t t
7645
s,@build_cpu@,$build_cpu,;t t
7646
s,@build_vendor@,$build_vendor,;t t
7647
s,@build_os@,$build_os,;t t
7648
s,@host@,$host,;t t
7649
s,@host_cpu@,$host_cpu,;t t
7650
s,@host_vendor@,$host_vendor,;t t
7651
s,@host_os@,$host_os,;t t
7652
s,@TARGET@,$TARGET,;t t
7653
s,@CC@,$CC,;t t
7654
s,@CFLAGS@,$CFLAGS,;t t
7655
s,@LDFLAGS@,$LDFLAGS,;t t
7656
s,@CPPFLAGS@,$CPPFLAGS,;t t
7657
s,@ac_ct_CC@,$ac_ct_CC,;t t
7658
s,@EXEEXT@,$EXEEXT,;t t
7659
s,@OBJEXT@,$OBJEXT,;t t
7660
s,@CXX@,$CXX,;t t
7661
s,@CXXFLAGS@,$CXXFLAGS,;t t
7662
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
7663
s,@RANLIB@,$RANLIB,;t t
7664
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7665
s,@CPP@,$CPP,;t t
7666
s,@MIXED_CYGWIN_VC@,$MIXED_CYGWIN_VC,;t t
7667
s,@MIXED_MSYS_VC@,$MIXED_MSYS_VC,;t t
7668
s,@MIXED_VC@,$MIXED_VC,;t t
7669
s,@MIXED_CYGWIN_MINGW@,$MIXED_CYGWIN_MINGW,;t t
7670
s,@MIXED_CYGWIN@,$MIXED_CYGWIN,;t t
7671
s,@MIXED_MSYS@,$MIXED_MSYS,;t t
7672
s,@EGREP@,$EGREP,;t t
7673
s,@OBJC_CC@,$OBJC_CC,;t t
7674
s,@OBJC_CFLAGS@,$OBJC_CFLAGS,;t t
7675
s,@GL_LIBS@,$GL_LIBS,;t t
7676
s,@DEBUG_CFLAGS@,$DEBUG_CFLAGS,;t t
7677
s,@DEBUG_CXXFLAGS@,$DEBUG_CXXFLAGS,;t t
7678
s,@ERLC@,$ERLC,;t t
7679
s,@WX_BUILDING_INSIDE_ERLSRC@,$WX_BUILDING_INSIDE_ERLSRC,;t t
7680
s,@ERLANG_ROOT_DIR@,$ERLANG_ROOT_DIR,;t t
7681
s,@WX_CONFIG_PATH@,$WX_CONFIG_PATH,;t t
7682
s,@WX_CPPFLAGS@,$WX_CPPFLAGS,;t t
7683
s,@WX_CFLAGS@,$WX_CFLAGS,;t t
7684
s,@WX_CXXFLAGS@,$WX_CXXFLAGS,;t t
7685
s,@WX_CFLAGS_ONLY@,$WX_CFLAGS_ONLY,;t t
7686
s,@WX_CXXFLAGS_ONLY@,$WX_CXXFLAGS_ONLY,;t t
7687
s,@WX_LIBS@,$WX_LIBS,;t t
7688
s,@WX_LIBS_STATIC@,$WX_LIBS_STATIC,;t t
7689
s,@WX_VERSION@,$WX_VERSION,;t t
7690
s,@WX_RESCOMP@,$WX_RESCOMP,;t t
7691
s,@WX_VERSION_MAJOR@,$WX_VERSION_MAJOR,;t t
7692
s,@WX_VERSION_MINOR@,$WX_VERSION_MINOR,;t t
7693
s,@WX_VERSION_MICRO@,$WX_VERSION_MICRO,;t t
7694
s,@DEBUG_WX_CFLAGS@,$DEBUG_WX_CFLAGS,;t t
7695
s,@DEBUG_WX_CXXFLAGS@,$DEBUG_WX_CXXFLAGS,;t t
7696
s,@DEBUG_WX_LIBS@,$DEBUG_WX_LIBS,;t t
7697
s,@DEBUG_WX_LIBS_STATIC@,$DEBUG_WX_LIBS_STATIC,;t t
7698
s,@FORCED_DEBUG_BUILD@,$FORCED_DEBUG_BUILD,;t t
7699
s,@WX_HAVE_STATIC_LIBS@,$WX_HAVE_STATIC_LIBS,;t t
7700
s,@RC_FILE_TYPE@,$RC_FILE_TYPE,;t t
7701
s,@HAVE_GL_SUPPORT@,$HAVE_GL_SUPPORT,;t t
7702
s,@TESS_CB_TIGER_STYLE@,$TESS_CB_TIGER_STYLE,;t t
7703
s,@WXERL_CAN_BUILD_DRIVER@,$WXERL_CAN_BUILD_DRIVER,;t t
7704
s,@SO_EXT@,$SO_EXT,;t t
7705
s,@RUN_ERL@,$RUN_ERL,;t t
7706
s,@WXERL_SYS_TYPE@,$WXERL_SYS_TYPE,;t t
7707
s,@LIBOBJS@,$LIBOBJS,;t t
7708
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7709
CEOF
7710
6837
7711
_ACEOF
6838
eval set X "  :F $CONFIG_FILES      "
6839
shift
6840
for ac_tag
6841
do
6842
  case $ac_tag in
6843
  :[FHLC]) ac_mode=$ac_tag; continue;;
6844
  esac
6845
  case $ac_mode$ac_tag in
6846
  :[FHL]*:*);;
6847
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6848
  :[FH]-) ac_tag=-:-;;
6849
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6850
  esac
6851
  ac_save_IFS=$IFS
6852
  IFS=:
6853
  set x $ac_tag
6854
  IFS=$ac_save_IFS
6855
  shift
6856
  ac_file=$1
6857
  shift
7712
6858
7713
  cat >>$CONFIG_STATUS <<\_ACEOF
6859
  case $ac_mode in
7714
  # Split the substitutions into bite-sized pieces for seds with
6860
  :L) ac_source=$1;;
7715
  # small command number limits, like on Digital OSF/1 and HP-UX.
6861
  :[FH])
7716
  ac_max_sed_lines=48
6862
    ac_file_inputs=
7717
  ac_sed_frag=1 # Number of current file.
6863
    for ac_f
7718
  ac_beg=1 # First line for current file.
6864
    do
7719
  ac_end=$ac_max_sed_lines # Line after last line for current file.
6865
      case $ac_f in
7720
  ac_more_lines=:
6866
      -) ac_f="$ac_tmp/stdin";;
7721
  ac_sed_cmds=
6867
      *) # Look for the file first in the build tree, then in the source tree
7722
  while $ac_more_lines; do
6868
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
7723
    if test $ac_beg -gt 1; then
6869
	 # because $ac_f cannot contain `:'.
7724
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6870
	 test -f "$ac_f" ||
7725
    else
6871
	   case $ac_f in
7726
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6872
	   [\\/$]*) false;;
6873
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6874
	   esac ||
6875
	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6876
      esac
6877
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6878
      as_fn_append ac_file_inputs " '$ac_f'"
6879
    done
6880
6881
    # Let's still pretend it is `configure' which instantiates (i.e., don't
6882
    # use $as_me), people would be surprised to read:
6883
    #    /* config.h.  Generated by config.status.  */
6884
    configure_input='Generated from '`
6885
	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6886
	`' by configure.'
6887
    if test x"$ac_file" != x-; then
6888
      configure_input="$ac_file.  $configure_input"
6889
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6890
$as_echo "$as_me: creating $ac_file" >&6;}
7727
    fi
6891
    fi
7728
    if test ! -s $tmp/subs.frag; then
6892
    # Neutralize special characters interpreted by sed in replacement strings.
7729
      ac_more_lines=false
6893
    case $configure_input in #(
7730
    else
6894
    *\&* | *\|* | *\\* )
7731
      # The purpose of the label and of the branching condition is to
6895
       ac_sed_conf_input=`$as_echo "$configure_input" |
7732
      # speed up the sed processing (if there are no `@' at all, there
6896
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
7733
      # is no need to browse any of the substitutions).
6897
    *) ac_sed_conf_input=$configure_input;;
7734
      # These are the two extra sed commands mentioned above.
6898
    esac
7735
      (echo ':t
7736
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7737
      if test -z "$ac_sed_cmds"; then
7738
	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7739
      else
7740
	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7741
      fi
7742
      ac_sed_frag=`expr $ac_sed_frag + 1`
7743
      ac_beg=$ac_end
7744
      ac_end=`expr $ac_end + $ac_max_sed_lines`
7745
    fi
7746
  done
7747
  if test -z "$ac_sed_cmds"; then
7748
    ac_sed_cmds=cat
7749
  fi
7750
fi # test -n "$CONFIG_FILES"
7751
6899
7752
_ACEOF
6900
    case $ac_tag in
7753
cat >>$CONFIG_STATUS <<\_ACEOF
6901
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
7754
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6902
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7755
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6903
    esac
7756
  case $ac_file in
6904
    ;;
7757
  - | *:- | *:-:* ) # input from stdin
7758
	cat >$tmp/stdin
7759
	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7760
	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7761
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7762
	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7763
  * )   ac_file_in=$ac_file.in ;;
7764
  esac
6905
  esac
7765
6906
7766
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6907
  ac_dir=`$as_dirname -- "$ac_file" ||
7767
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7768
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6908
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7769
	 X"$ac_file" : 'X\(//\)[^/]' \| \
6909
	 X"$ac_file" : 'X\(//\)[^/]' \| \
7770
	 X"$ac_file" : 'X\(//\)$' \| \
6910
	 X"$ac_file" : 'X\(//\)$' \| \
7771
	 X"$ac_file" : 'X\(/\)' \| \
6911
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7772
	 .     : '\(.\)' 2>/dev/null ||
6912
$as_echo X"$ac_file" |
7773
echo X"$ac_file" |
6913
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7774
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6914
	    s//\1/
7775
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6915
	    q
7776
  	  /^X\(\/\/\)$/{ s//\1/; q; }
6916
	  }
7777
  	  /^X\(\/\).*/{ s//\1/; q; }
6917
	  /^X\(\/\/\)[^/].*/{
7778
  	  s/.*/./; q'`
6918
	    s//\1/
7779
  { if $as_mkdir_p; then
6919
	    q
7780
    mkdir -p "$ac_dir"
6920
	  }
7781
  else
6921
	  /^X\(\/\/\)$/{
7782
    as_dir="$ac_dir"
6922
	    s//\1/
7783
    as_dirs=
6923
	    q
7784
    while test ! -d "$as_dir"; do
6924
	  }
7785
      as_dirs="$as_dir $as_dirs"
6925
	  /^X\(\/\).*/{
7786
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
6926
	    s//\1/
7787
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6927
	    q
7788
	 X"$as_dir" : 'X\(//\)[^/]' \| \
6928
	  }
7789
	 X"$as_dir" : 'X\(//\)$' \| \
6929
	  s/.*/./; q'`
7790
	 X"$as_dir" : 'X\(/\)' \| \
6930
  as_dir="$ac_dir"; as_fn_mkdir_p
7791
	 .     : '\(.\)' 2>/dev/null ||
7792
echo X"$as_dir" |
7793
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7794
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7795
  	  /^X\(\/\/\)$/{ s//\1/; q; }
7796
  	  /^X\(\/\).*/{ s//\1/; q; }
7797
  	  s/.*/./; q'`
7798
    done
7799
    test ! -n "$as_dirs" || mkdir $as_dirs
7800
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7801
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7802
   { (exit 1); exit 1; }; }; }
7803
7804
  ac_builddir=.
6931
  ac_builddir=.
7805
6932
7806
if test "$ac_dir" != .; then
6933
case "$ac_dir" in
7807
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6934
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7808
  # A "../" for each directory in $ac_dir_suffix.
6935
*)
7809
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6936
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7810
else
6937
  # A ".." for each directory in $ac_dir_suffix.
7811
  ac_dir_suffix= ac_top_builddir=
6938
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7812
fi
6939
  case $ac_top_builddir_sub in
6940
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6941
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6942
  esac ;;
6943
esac
6944
ac_abs_top_builddir=$ac_pwd
6945
ac_abs_builddir=$ac_pwd$ac_dir_suffix
6946
# for backward compatibility:
6947
ac_top_builddir=$ac_top_build_prefix
7813
6948
7814
case $srcdir in
6949
case $srcdir in
7815
  .)  # No --srcdir option.  We are building in place.
6950
  .)  # We are building in place.
7816
    ac_srcdir=.
6951
    ac_srcdir=.
7817
    if test -z "$ac_top_builddir"; then
6952
    ac_top_srcdir=$ac_top_builddir_sub
7818
       ac_top_srcdir=.
6953
    ac_abs_top_srcdir=$ac_pwd ;;
7819
    else
6954
  [\\/]* | ?:[\\/]* )  # Absolute name.
7820
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7821
    fi ;;
7822
  [\\/]* | ?:[\\/]* )  # Absolute path.
7823
    ac_srcdir=$srcdir$ac_dir_suffix;
6955
    ac_srcdir=$srcdir$ac_dir_suffix;
7824
    ac_top_srcdir=$srcdir ;;
6956
    ac_top_srcdir=$srcdir
7825
  *) # Relative path.
6957
    ac_abs_top_srcdir=$srcdir ;;
7826
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6958
  *) # Relative name.
7827
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
6959
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6960
    ac_top_srcdir=$ac_top_build_prefix$srcdir
6961
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7828
esac
6962
esac
6963
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7829
6964
7830
# Do not use `cd foo && pwd` to compute absolute paths, because
7831
# the directories may not exist.
7832
case `pwd` in
7833
.) ac_abs_builddir="$ac_dir";;
7834
*)
7835
  case "$ac_dir" in
7836
  .) ac_abs_builddir=`pwd`;;
7837
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7838
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
7839
  esac;;
7840
esac
7841
case $ac_abs_builddir in
7842
.) ac_abs_top_builddir=${ac_top_builddir}.;;
7843
*)
7844
  case ${ac_top_builddir}. in
7845
  .) ac_abs_top_builddir=$ac_abs_builddir;;
7846
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7847
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7848
  esac;;
7849
esac
7850
case $ac_abs_builddir in
7851
.) ac_abs_srcdir=$ac_srcdir;;
7852
*)
7853
  case $ac_srcdir in
7854
  .) ac_abs_srcdir=$ac_abs_builddir;;
7855
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7856
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7857
  esac;;
7858
esac
7859
case $ac_abs_builddir in
7860
.) ac_abs_top_srcdir=$ac_top_srcdir;;
7861
*)
7862
  case $ac_top_srcdir in
7863
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
7864
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7865
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7866
  esac;;
7867
esac
7868
6965
6966
  case $ac_mode in
6967
  :F)
6968
  #
6969
  # CONFIG_FILE
6970
  #
7869
6971
6972
_ACEOF
7870
6973
7871
  if test x"$ac_file" != x-; then
6974
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7872
    { echo "$as_me:$LINENO: creating $ac_file" >&5
6975
# If the template does not know about datarootdir, expand it.
7873
echo "$as_me: creating $ac_file" >&6;}
6976
# FIXME: This hack should be removed a few years after 2.60.
7874
    rm -f "$ac_file"
6977
ac_datarootdir_hack=; ac_datarootdir_seen=
7875
  fi
6978
ac_sed_dataroot='
7876
  # Let's still pretend it is `configure' which instantiates (i.e., don't
6979
/datarootdir/ {
7877
  # use $as_me), people would be surprised to read:
6980
  p
7878
  #    /* config.h.  Generated by config.status.  */
6981
  q
7879
  if test x"$ac_file" = x-; then
6982
}
7880
    configure_input=
6983
/@datadir@/p
7881
  else
6984
/@docdir@/p
7882
    configure_input="$ac_file.  "
6985
/@infodir@/p
7883
  fi
6986
/@localedir@/p
7884
  configure_input=$configure_input"Generated from `echo $ac_file_in |
6987
/@mandir@/p'
7885
				     sed 's,.*/,,'` by configure."
6988
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7886
6989
*datarootdir*) ac_datarootdir_seen=yes;;
7887
  # First look for the input files in the build tree, otherwise in the
6990
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7888
  # src tree.
6991
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7889
  ac_file_inputs=`IFS=:
6992
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7890
    for f in $ac_file_in; do
7891
      case $f in
7892
      -) echo $tmp/stdin ;;
7893
      [\\/$]*)
7894
	 # Absolute (can't be DOS-style, as IFS=:)
7895
	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7896
echo "$as_me: error: cannot find input file: $f" >&2;}
7897
   { (exit 1); exit 1; }; }
7898
	 echo "$f";;
7899
      *) # Relative
7900
	 if test -f "$f"; then
7901
	   # Build tree
7902
	   echo "$f"
7903
	 elif test -f "$srcdir/$f"; then
7904
	   # Source tree
7905
	   echo "$srcdir/$f"
7906
	 else
7907
	   # /dev/null tree
7908
	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7909
echo "$as_me: error: cannot find input file: $f" >&2;}
7910
   { (exit 1); exit 1; }; }
7911
	 fi;;
7912
      esac
7913
    done` || { (exit 1); exit 1; }
7914
_ACEOF
6993
_ACEOF
7915
cat >>$CONFIG_STATUS <<_ACEOF
6994
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7916
  sed "$ac_vpsub
6995
  ac_datarootdir_hack='
6996
  s&@datadir@&$datadir&g
6997
  s&@docdir@&$docdir&g
6998
  s&@infodir@&$infodir&g
6999
  s&@localedir@&$localedir&g
7000
  s&@mandir@&$mandir&g
7001
  s&\\\${datarootdir}&$datarootdir&g' ;;
7002
esac
7003
_ACEOF
7004
7005
# Neutralize VPATH when `$srcdir' = `.'.
7006
# Shell code in configure.ac might set extrasub.
7007
# FIXME: do we really want to maintain this feature?
7008
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7009
ac_sed_extra="$ac_vpsub
7917
$extrasub
7010
$extrasub
7918
_ACEOF
7011
_ACEOF
7919
cat >>$CONFIG_STATUS <<\_ACEOF
7012
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7920
:t
7013
:t
7921
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7014
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7922
s,@configure_input@,$configure_input,;t t
7015
s|@configure_input@|$ac_sed_conf_input|;t t
7923
s,@srcdir@,$ac_srcdir,;t t
7016
s&@top_builddir@&$ac_top_builddir_sub&;t t
7924
s,@abs_srcdir@,$ac_abs_srcdir,;t t
7017
s&@top_build_prefix@&$ac_top_build_prefix&;t t
7925
s,@top_srcdir@,$ac_top_srcdir,;t t
7018
s&@srcdir@&$ac_srcdir&;t t
7926
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
7019
s&@abs_srcdir@&$ac_abs_srcdir&;t t
7927
s,@builddir@,$ac_builddir,;t t
7020
s&@top_srcdir@&$ac_top_srcdir&;t t
7928
s,@abs_builddir@,$ac_abs_builddir,;t t
7021
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7929
s,@top_builddir@,$ac_top_builddir,;t t
7022
s&@builddir@&$ac_builddir&;t t
7930
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
7023
s&@abs_builddir@&$ac_abs_builddir&;t t
7931
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7024
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7932
  rm -f $tmp/stdin
7025
$ac_datarootdir_hack
7933
  if test x"$ac_file" != x-; then
7026
"
7934
    mv $tmp/out $ac_file
7027
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7935
  else
7028
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7936
    cat $tmp/out
7937
    rm -f $tmp/out
7938
  fi
7939
7029
7940
done
7030
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7941
_ACEOF
7031
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7032
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
7033
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
7034
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7035
which seems to be undefined.  Please make sure it is defined" >&5
7036
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7037
which seems to be undefined.  Please make sure it is defined" >&2;}
7942
7038
7943
cat >>$CONFIG_STATUS <<\_ACEOF
7039
  rm -f "$ac_tmp/stdin"
7040
  case $ac_file in
7041
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7042
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7043
  esac \
7044
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7045
 ;;
7944
7046
7945
{ (exit 0); exit 0; }
7047
7048
7049
  esac
7050
7051
done # for ac_tag
7052
7053
7054
as_fn_exit 0
7946
_ACEOF
7055
_ACEOF
7947
chmod +x $CONFIG_STATUS
7948
ac_clean_files=$ac_clean_files_save
7056
ac_clean_files=$ac_clean_files_save
7949
7057
7058
test $ac_write_fail = 0 ||
7059
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7950
7060
7061
7951
# configure is writing to config.log, and then calls config.status.
7062
# configure is writing to config.log, and then calls config.status.
7952
# config.status does its own redirection, appending to config.log.
7063
# config.status does its own redirection, appending to config.log.
7953
# Unfortunately, on DOS this fails, as config.log is still kept open
7064
# Unfortunately, on DOS this fails, as config.log is still kept open
Lines 7966-7988 if test "$no_create" != yes; then Link Here
7966
  exec 5>>config.log
7077
  exec 5>>config.log
7967
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7078
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7968
  # would make configure fail if this is the last instruction.
7079
  # would make configure fail if this is the last instruction.
7969
  $ac_cs_success || { (exit 1); exit 1; }
7080
  $ac_cs_success || as_fn_exit 1
7970
fi
7081
fi
7082
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7083
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7084
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7085
fi
7971
7086
7972
7087
7973
if test X"$WX_BUILDING_INSIDE_ERLSRC" != X"true" ; then
7088
if test X"$WX_BUILDING_INSIDE_ERLSRC" != X"true" ; then
7974
   { echo "$as_me:$LINENO: " >&5
7089
   { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
7975
echo "$as_me: " >&6;}
7090
$as_echo "$as_me: " >&6;}
7976
   { echo "$as_me:$LINENO: --------------------------------------------------" >&5
7091
   { $as_echo "$as_me:${as_lineno-$LINENO}: --------------------------------------------------" >&5
7977
echo "$as_me: --------------------------------------------------" >&6;}
7092
$as_echo "$as_me: --------------------------------------------------" >&6;}
7978
   { echo "$as_me:$LINENO: Using erlang compiler: $ERLC" >&5
7093
   { $as_echo "$as_me:${as_lineno-$LINENO}: Using erlang compiler: $ERLC" >&5
7979
echo "$as_me: Using erlang compiler: $ERLC" >&6;}
7094
$as_echo "$as_me: Using erlang compiler: $ERLC" >&6;}
7980
   { echo "$as_me:$LINENO: wxErlang Install in: $ERLANG_ROOT_DIR/lib/wx-$ERLWX_VSN" >&5
7095
   { $as_echo "$as_me:${as_lineno-$LINENO}: wxErlang Install in: $ERLANG_ROOT_DIR/lib/wx-$ERLWX_VSN" >&5
7981
echo "$as_me: wxErlang Install in: $ERLANG_ROOT_DIR/lib/wx-$ERLWX_VSN" >&6;}
7096
$as_echo "$as_me: wxErlang Install in: $ERLANG_ROOT_DIR/lib/wx-$ERLWX_VSN" >&6;}
7982
   { echo "$as_me:$LINENO: Erlang driver in priv/$WXERL_SYS_TYPE/wxe_driver$SO_EXT" >&5
7097
   { $as_echo "$as_me:${as_lineno-$LINENO}: Erlang driver in priv/$WXERL_SYS_TYPE/wxe_driver$SO_EXT" >&5
7983
echo "$as_me: Erlang driver in priv/$WXERL_SYS_TYPE/wxe_driver$SO_EXT" >&6;}
7098
$as_echo "$as_me: Erlang driver in priv/$WXERL_SYS_TYPE/wxe_driver$SO_EXT" >&6;}
7984
   { echo "$as_me:$LINENO: --------------------------------------------------" >&5
7099
   { $as_echo "$as_me:${as_lineno-$LINENO}: --------------------------------------------------" >&5
7985
echo "$as_me: --------------------------------------------------" >&6;}
7100
$as_echo "$as_me: --------------------------------------------------" >&6;}
7986
fi
7101
fi
7987
7102
7988
if test X"$WX_BUILDING_INSIDE_ERLSRC" = X"true" ; then
7103
if test X"$WX_BUILDING_INSIDE_ERLSRC" = X"true" ; then

Return to bug 226241