~ubuntu-branches/ubuntu/natty/gtkboard/natty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Barak A. Pearlmutter
  • Date: 2011-02-28 11:25:02 UTC
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20110228112502-e9aah248wxelm7ao
Tags: 0.11pre0+cvs.2003.11.02-2
autotools tweaks, most notably -lSDL to supplement -lSDL_mixer

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.57.
4
 
#
5
 
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6
 
# Free Software Foundation, Inc.
 
3
# Generated by GNU Autoconf 2.67 for gtkboard 0.11pre0.
 
4
#
 
5
#
 
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
8
# Foundation, Inc.
 
9
#
 
10
#
7
11
# This configure script is free software; the Free Software Foundation
8
12
# gives unlimited permission to copy, distribute and modify it.
9
 
## --------------------- ##
10
 
## M4sh Initialization.  ##
11
 
## --------------------- ##
 
13
## -------------------- ##
 
14
## M4sh Initialization. ##
 
15
## -------------------- ##
12
16
 
13
 
# Be Bourne compatible
14
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
17
# Be more Bourne compatible
 
18
DUALCASE=1; export DUALCASE # for MKS sh
 
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15
20
  emulate sh
16
21
  NULLCMD=:
17
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18
23
  # is contrary to our usage.  Disable this feature.
19
24
  alias -g '${1+"$@"}'='"$@"'
20
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21
 
  set -o posix
22
 
fi
23
 
 
24
 
# Support unset when possible.
25
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
26
 
  as_unset=unset
27
 
else
28
 
  as_unset=false
29
 
fi
30
 
 
31
 
 
32
 
# Work around bugs in pre-3.0 UWIN ksh.
33
 
$as_unset ENV MAIL MAILPATH
 
25
  setopt NO_GLOB_SUBST
 
26
else
 
27
  case `(set -o) 2>/dev/null` in #(
 
28
  *posix*) :
 
29
    set -o posix ;; #(
 
30
  *) :
 
31
     ;;
 
32
esac
 
33
fi
 
34
 
 
35
 
 
36
as_nl='
 
37
'
 
38
export as_nl
 
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
44
# but without wasting forks for bash or zsh.
 
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
47
  as_echo='print -r --'
 
48
  as_echo_n='print -rn --'
 
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
50
  as_echo='printf %s\n'
 
51
  as_echo_n='printf %s'
 
52
else
 
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
55
    as_echo_n='/usr/ucb/echo -n'
 
56
  else
 
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
58
    as_echo_n_body='eval
 
59
      arg=$1;
 
60
      case $arg in #(
 
61
      *"$as_nl"*)
 
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
64
      esac;
 
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
66
    '
 
67
    export as_echo_n_body
 
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
69
  fi
 
70
  export as_echo_body
 
71
  as_echo='sh -c $as_echo_body as_echo'
 
72
fi
 
73
 
 
74
# The user is always right.
 
75
if test "${PATH_SEPARATOR+set}" != set; then
 
76
  PATH_SEPARATOR=:
 
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
79
      PATH_SEPARATOR=';'
 
80
  }
 
81
fi
 
82
 
 
83
 
 
84
# IFS
 
85
# We need space, tab and new line, in precisely that order.  Quoting is
 
86
# there to prevent editors from complaining about space-tab.
 
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
88
# splitting by setting IFS to empty value.)
 
89
IFS=" ""        $as_nl"
 
90
 
 
91
# Find who we are.  Look in the path if we contain no directory separator.
 
92
case $0 in #((
 
93
  *[\\/]* ) as_myself=$0 ;;
 
94
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
95
for as_dir in $PATH
 
96
do
 
97
  IFS=$as_save_IFS
 
98
  test -z "$as_dir" && as_dir=.
 
99
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
100
  done
 
101
IFS=$as_save_IFS
 
102
 
 
103
     ;;
 
104
esac
 
105
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
106
# in which case we are not to be found in the path.
 
107
if test "x$as_myself" = x; then
 
108
  as_myself=$0
 
109
fi
 
110
if test ! -f "$as_myself"; then
 
111
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
112
  exit 1
 
113
fi
 
114
 
 
115
# Unset variables that we do not need and which cause bugs (e.g. in
 
116
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
117
# suppresses any "Segmentation fault" message there.  '((' could
 
118
# trigger a bug in pdksh 5.2.14.
 
119
for as_var in BASH_ENV ENV MAIL MAILPATH
 
120
do eval test x\${$as_var+set} = xset \
 
121
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
122
done
34
123
PS1='$ '
35
124
PS2='> '
36
125
PS4='+ '
37
126
 
38
127
# NLS nuisances.
39
 
for as_var in \
40
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42
 
  LC_TELEPHONE LC_TIME
 
128
LC_ALL=C
 
129
export LC_ALL
 
130
LANGUAGE=C
 
131
export LANGUAGE
 
132
 
 
133
# CDPATH.
 
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
135
 
 
136
if test "x$CONFIG_SHELL" = x; then
 
137
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
138
  emulate sh
 
139
  NULLCMD=:
 
140
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
141
  # is contrary to our usage.  Disable this feature.
 
142
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
143
  setopt NO_GLOB_SUBST
 
144
else
 
145
  case \`(set -o) 2>/dev/null\` in #(
 
146
  *posix*) :
 
147
    set -o posix ;; #(
 
148
  *) :
 
149
     ;;
 
150
esac
 
151
fi
 
152
"
 
153
  as_required="as_fn_return () { (exit \$1); }
 
154
as_fn_success () { as_fn_return 0; }
 
155
as_fn_failure () { as_fn_return 1; }
 
156
as_fn_ret_success () { return 0; }
 
157
as_fn_ret_failure () { return 1; }
 
158
 
 
159
exitcode=0
 
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
165
 
 
166
else
 
167
  exitcode=1; echo positional parameters were not saved.
 
168
fi
 
169
test x\$exitcode = x0 || exit 1"
 
170
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
171
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
172
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
173
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
174
test \$(( 1 + 1 )) = 2 || exit 1"
 
175
  if (eval "$as_required") 2>/dev/null; then :
 
176
  as_have_required=yes
 
177
else
 
178
  as_have_required=no
 
179
fi
 
180
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
181
 
 
182
else
 
183
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
184
as_found=false
 
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
43
186
do
44
 
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
 
    eval $as_var=C; export $as_var
 
187
  IFS=$as_save_IFS
 
188
  test -z "$as_dir" && as_dir=.
 
189
  as_found=:
 
190
  case $as_dir in #(
 
191
         /*)
 
192
           for as_base in sh bash ksh sh5; do
 
193
             # Try only shells that exist, to save several forks.
 
194
             as_shell=$as_dir/$as_base
 
195
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
196
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
197
  CONFIG_SHELL=$as_shell as_have_required=yes
 
198
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
199
  break 2
 
200
fi
 
201
fi
 
202
           done;;
 
203
       esac
 
204
  as_found=false
 
205
done
 
206
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
207
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
208
  CONFIG_SHELL=$SHELL as_have_required=yes
 
209
fi; }
 
210
IFS=$as_save_IFS
 
211
 
 
212
 
 
213
      if test "x$CONFIG_SHELL" != x; then :
 
214
  # We cannot yet assume a decent shell, so we have to provide a
 
215
        # neutralization value for shells without unset; and this also
 
216
        # works around shells that cannot unset nonexistent variables.
 
217
        BASH_ENV=/dev/null
 
218
        ENV=/dev/null
 
219
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
220
        export CONFIG_SHELL
 
221
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
222
fi
 
223
 
 
224
    if test x$as_have_required = xno; then :
 
225
  $as_echo "$0: This script requires a shell more modern than all"
 
226
  $as_echo "$0: the shells that I found on your system."
 
227
  if test x${ZSH_VERSION+set} = xset ; then
 
228
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
229
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
46
230
  else
47
 
    $as_unset $as_var
48
 
  fi
49
 
done
50
 
 
51
 
# Required to use basename.
52
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
231
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
232
$0: including any error possibly output before this
 
233
$0: message. Then install a modern shell, or manually run
 
234
$0: the script under such a shell if you do have one."
 
235
  fi
 
236
  exit 1
 
237
fi
 
238
fi
 
239
fi
 
240
SHELL=${CONFIG_SHELL-/bin/sh}
 
241
export SHELL
 
242
# Unset more variables known to interfere with behavior of common tools.
 
243
CLICOLOR_FORCE= GREP_OPTIONS=
 
244
unset CLICOLOR_FORCE GREP_OPTIONS
 
245
 
 
246
## --------------------- ##
 
247
## M4sh Shell Functions. ##
 
248
## --------------------- ##
 
249
# as_fn_unset VAR
 
250
# ---------------
 
251
# Portably unset VAR.
 
252
as_fn_unset ()
 
253
{
 
254
  { eval $1=; unset $1;}
 
255
}
 
256
as_unset=as_fn_unset
 
257
 
 
258
# as_fn_set_status STATUS
 
259
# -----------------------
 
260
# Set $? to STATUS, without forking.
 
261
as_fn_set_status ()
 
262
{
 
263
  return $1
 
264
} # as_fn_set_status
 
265
 
 
266
# as_fn_exit STATUS
 
267
# -----------------
 
268
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
269
as_fn_exit ()
 
270
{
 
271
  set +e
 
272
  as_fn_set_status $1
 
273
  exit $1
 
274
} # as_fn_exit
 
275
 
 
276
# as_fn_mkdir_p
 
277
# -------------
 
278
# Create "$as_dir" as a directory, including parents if necessary.
 
279
as_fn_mkdir_p ()
 
280
{
 
281
 
 
282
  case $as_dir in #(
 
283
  -*) as_dir=./$as_dir;;
 
284
  esac
 
285
  test -d "$as_dir" || eval $as_mkdir_p || {
 
286
    as_dirs=
 
287
    while :; do
 
288
      case $as_dir in #(
 
289
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
290
      *) as_qdir=$as_dir;;
 
291
      esac
 
292
      as_dirs="'$as_qdir' $as_dirs"
 
293
      as_dir=`$as_dirname -- "$as_dir" ||
 
294
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
295
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
296
         X"$as_dir" : 'X\(//\)$' \| \
 
297
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
298
$as_echo X"$as_dir" |
 
299
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
300
            s//\1/
 
301
            q
 
302
          }
 
303
          /^X\(\/\/\)[^/].*/{
 
304
            s//\1/
 
305
            q
 
306
          }
 
307
          /^X\(\/\/\)$/{
 
308
            s//\1/
 
309
            q
 
310
          }
 
311
          /^X\(\/\).*/{
 
312
            s//\1/
 
313
            q
 
314
          }
 
315
          s/.*/./; q'`
 
316
      test -d "$as_dir" && break
 
317
    done
 
318
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
319
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
320
 
 
321
 
 
322
} # as_fn_mkdir_p
 
323
# as_fn_append VAR VALUE
 
324
# ----------------------
 
325
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
326
# advantage of any shell optimizations that allow amortized linear growth over
 
327
# repeated appends, instead of the typical quadratic growth present in naive
 
328
# implementations.
 
329
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
330
  eval 'as_fn_append ()
 
331
  {
 
332
    eval $1+=\$2
 
333
  }'
 
334
else
 
335
  as_fn_append ()
 
336
  {
 
337
    eval $1=\$$1\$2
 
338
  }
 
339
fi # as_fn_append
 
340
 
 
341
# as_fn_arith ARG...
 
342
# ------------------
 
343
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
344
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
345
# must be portable across $(()) and expr.
 
346
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
347
  eval 'as_fn_arith ()
 
348
  {
 
349
    as_val=$(( $* ))
 
350
  }'
 
351
else
 
352
  as_fn_arith ()
 
353
  {
 
354
    as_val=`expr "$@" || test $? -eq 1`
 
355
  }
 
356
fi # as_fn_arith
 
357
 
 
358
 
 
359
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
360
# ----------------------------------------
 
361
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
362
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
363
# script with STATUS, using 1 if that was 0.
 
364
as_fn_error ()
 
365
{
 
366
  as_status=$1; test $as_status -eq 0 && as_status=1
 
367
  if test "$4"; then
 
368
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
369
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
370
  fi
 
371
  $as_echo "$as_me: error: $2" >&2
 
372
  as_fn_exit $as_status
 
373
} # as_fn_error
 
374
 
 
375
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
376
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
53
377
  as_expr=expr
54
378
else
55
379
  as_expr=false
56
380
fi
57
381
 
58
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
382
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59
383
  as_basename=basename
60
384
else
61
385
  as_basename=false
62
386
fi
63
387
 
 
388
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
389
  as_dirname=dirname
 
390
else
 
391
  as_dirname=false
 
392
fi
64
393
 
65
 
# Name of the executable.
66
 
as_me=`$as_basename "$0" ||
 
394
as_me=`$as_basename -- "$0" ||
67
395
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
396
         X"$0" : 'X\(//\)$' \| \
69
 
         X"$0" : 'X\(/\)$' \| \
70
 
         .     : '\(.\)' 2>/dev/null ||
71
 
echo X/"$0" |
72
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
74
 
          /^X\/\(\/\).*/{ s//\1/; q; }
75
 
          s/.*/./; q'`
76
 
 
77
 
 
78
 
# PATH needs CR, and LINENO needs CR and PATH.
 
397
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
398
$as_echo X/"$0" |
 
399
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
400
            s//\1/
 
401
            q
 
402
          }
 
403
          /^X\/\(\/\/\)$/{
 
404
            s//\1/
 
405
            q
 
406
          }
 
407
          /^X\/\(\/\).*/{
 
408
            s//\1/
 
409
            q
 
410
          }
 
411
          s/.*/./; q'`
 
412
 
79
413
# Avoid depending upon Character Ranges.
80
414
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
415
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83
417
as_cr_digits='0123456789'
84
418
as_cr_alnum=$as_cr_Letters$as_cr_digits
85
419
 
86
 
# The user is always right.
87
 
if test "${PATH_SEPARATOR+set}" != set; then
88
 
  echo "#! /bin/sh" >conf$$.sh
89
 
  echo  "exit 0"   >>conf$$.sh
90
 
  chmod +x conf$$.sh
91
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92
 
    PATH_SEPARATOR=';'
93
 
  else
94
 
    PATH_SEPARATOR=:
95
 
  fi
96
 
  rm -f conf$$.sh
97
 
fi
98
 
 
99
 
 
100
 
  as_lineno_1=$LINENO
101
 
  as_lineno_2=$LINENO
102
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
104
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105
 
  # Find who we are.  Look in the path if we contain no path at all
106
 
  # relative or not.
107
 
  case $0 in
108
 
    *[\\/]* ) as_myself=$0 ;;
109
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110
 
for as_dir in $PATH
111
 
do
112
 
  IFS=$as_save_IFS
113
 
  test -z "$as_dir" && as_dir=.
114
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115
 
done
116
 
 
117
 
       ;;
118
 
  esac
119
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
120
 
  # in which case we are not to be found in the path.
121
 
  if test "x$as_myself" = x; then
122
 
    as_myself=$0
123
 
  fi
124
 
  if test ! -f "$as_myself"; then
125
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
 
   { (exit 1); exit 1; }; }
127
 
  fi
128
 
  case $CONFIG_SHELL in
129
 
  '')
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 |
 
420
 
 
421
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
422
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
423
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
424
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
425
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
426
  sed -n '
 
427
    p
 
428
    /[$]LINENO/=
 
429
  ' <$as_myself |
165
430
    sed '
 
431
      s/[$]LINENO.*/&-/
 
432
      t lineno
 
433
      b
 
434
      :lineno
166
435
      N
167
 
      s,$,-,
168
 
      : loop
169
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
436
      :loop
 
437
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
170
438
      t loop
171
 
      s,-$,,
172
 
      s,^['$as_cr_digits']*\n,,
 
439
      s/-\n.*//
173
440
    ' >$as_me.lineno &&
174
 
  chmod +x $as_me.lineno ||
175
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
 
   { (exit 1); exit 1; }; }
 
441
  chmod +x "$as_me.lineno" ||
 
442
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
177
443
 
178
444
  # Don't try to exec as it changes $[0], causing all sort of problems
179
445
  # (the dirname of $[0] is not the place where we might find the
180
 
  # original and so on.  Autoconf is especially sensible to this).
181
 
  . ./$as_me.lineno
 
446
  # original and so on.  Autoconf is especially sensitive to this).
 
447
  . "./$as_me.lineno"
182
448
  # Exit status is that of the last command.
183
449
  exit
184
450
}
185
451
 
186
 
 
187
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
 
  *c*,-n*) ECHO_N= ECHO_C='
189
 
' ECHO_T='      ' ;;
190
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
452
ECHO_C= ECHO_N= ECHO_T=
 
453
case `echo -n x` in #(((((
 
454
-n*)
 
455
  case `echo 'xy\c'` in
 
456
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
457
  xy)  ECHO_C='\c';;
 
458
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
459
       ECHO_T=' ';;
 
460
  esac;;
 
461
*)
 
462
  ECHO_N='-n';;
192
463
esac
193
464
 
194
 
if expr a : '\(a\)' >/dev/null 2>&1; then
195
 
  as_expr=expr
 
465
rm -f conf$$ conf$$.exe conf$$.file
 
466
if test -d conf$$.dir; then
 
467
  rm -f conf$$.dir/conf$$.file
196
468
else
197
 
  as_expr=false
 
469
  rm -f conf$$.dir
 
470
  mkdir conf$$.dir 2>/dev/null
198
471
fi
199
 
 
200
 
rm -f conf$$ conf$$.exe conf$$.file
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
 
472
if (echo >conf$$.file) 2>/dev/null; then
 
473
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
474
    as_ln_s='ln -s'
 
475
    # ... but there are two gotchas:
 
476
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
477
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
478
    # In both cases, we have to default to `cp -p'.
 
479
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
480
      as_ln_s='cp -p'
 
481
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
482
    as_ln_s=ln
 
483
  else
207
484
    as_ln_s='cp -p'
208
 
  else
209
 
    as_ln_s='ln -s'
210
485
  fi
211
 
elif ln conf$$.file conf$$ 2>/dev/null; then
212
 
  as_ln_s=ln
213
486
else
214
487
  as_ln_s='cp -p'
215
488
fi
216
 
rm -f conf$$ conf$$.exe conf$$.file
 
489
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
490
rmdir conf$$.dir 2>/dev/null
217
491
 
218
492
if mkdir -p . 2>/dev/null; then
219
 
  as_mkdir_p=:
 
493
  as_mkdir_p='mkdir -p "$as_dir"'
220
494
else
 
495
  test -d ./-p && rmdir ./-p
221
496
  as_mkdir_p=false
222
497
fi
223
498
 
224
 
as_executable_p="test -f"
 
499
if test -x / >/dev/null 2>&1; then
 
500
  as_test_x='test -x'
 
501
else
 
502
  if ls -dL / >/dev/null 2>&1; then
 
503
    as_ls_L_option=L
 
504
  else
 
505
    as_ls_L_option=
 
506
  fi
 
507
  as_test_x='
 
508
    eval sh -c '\''
 
509
      if test -d "$1"; then
 
510
        test -d "$1/.";
 
511
      else
 
512
        case $1 in #(
 
513
        -*)set "./$1";;
 
514
        esac;
 
515
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
516
        ???[sx]*):;;*)false;;esac;fi
 
517
    '\'' sh
 
518
  '
 
519
fi
 
520
as_executable_p=$as_test_x
225
521
 
226
522
# Sed expression to map a string onto a valid CPP name.
227
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
523
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
228
524
 
229
525
# Sed expression to map a string onto a valid variable name.
230
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
231
 
 
232
 
 
233
 
# IFS
234
 
# We need space, tab and new line, in precisely that order.
235
 
as_nl='
236
 
'
237
 
IFS="   $as_nl"
238
 
 
239
 
# CDPATH.
240
 
$as_unset CDPATH
241
 
 
 
526
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
527
 
 
528
 
 
529
test -n "$DJDIR" || exec 7<&0 </dev/null
 
530
exec 6>&1
242
531
 
243
532
# Name of the host.
244
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
533
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
245
534
# so uname gets run too.
246
535
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
247
536
 
248
 
exec 6>&1
249
 
 
250
537
#
251
538
# Initializations.
252
539
#
253
540
ac_default_prefix=/usr/local
 
541
ac_clean_files=
254
542
ac_config_libobj_dir=.
 
543
LIBOBJS=
255
544
cross_compiling=no
256
545
subdirs=
257
546
MFLAGS=
258
547
MAKEFLAGS=
259
 
SHELL=${CONFIG_SHELL-/bin/sh}
260
 
 
261
 
# Maximum number of lines to put in a shell here document.
262
 
# This variable seems obsolete.  It should probably be removed, and
263
 
# only ac_max_sed_lines should be used.
264
 
: ${ac_max_here_lines=38}
265
548
 
266
549
# Identity of this package.
267
 
PACKAGE_NAME=
268
 
PACKAGE_TARNAME=
269
 
PACKAGE_VERSION=
270
 
PACKAGE_STRING=
271
 
PACKAGE_BUGREPORT=
 
550
PACKAGE_NAME='gtkboard'
 
551
PACKAGE_TARNAME='gtkboard'
 
552
PACKAGE_VERSION='0.11pre0'
 
553
PACKAGE_STRING='gtkboard 0.11pre0'
 
554
PACKAGE_BUGREPORT=''
 
555
PACKAGE_URL=''
272
556
 
273
557
ac_unique_file="src/"
274
558
# Factoring default headers for most tests.
275
559
ac_includes_default="\
276
560
#include <stdio.h>
277
 
#if HAVE_SYS_TYPES_H
 
561
#ifdef HAVE_SYS_TYPES_H
278
562
# include <sys/types.h>
279
563
#endif
280
 
#if HAVE_SYS_STAT_H
 
564
#ifdef HAVE_SYS_STAT_H
281
565
# include <sys/stat.h>
282
566
#endif
283
 
#if STDC_HEADERS
 
567
#ifdef STDC_HEADERS
284
568
# include <stdlib.h>
285
569
# include <stddef.h>
286
570
#else
287
 
# if HAVE_STDLIB_H
 
571
# ifdef HAVE_STDLIB_H
288
572
#  include <stdlib.h>
289
573
# endif
290
574
#endif
291
 
#if HAVE_STRING_H
292
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
575
#ifdef HAVE_STRING_H
 
576
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
293
577
#  include <memory.h>
294
578
# endif
295
579
# include <string.h>
296
580
#endif
297
 
#if HAVE_STRINGS_H
 
581
#ifdef HAVE_STRINGS_H
298
582
# include <strings.h>
299
583
#endif
300
 
#if HAVE_INTTYPES_H
 
584
#ifdef HAVE_INTTYPES_H
301
585
# include <inttypes.h>
302
 
#else
303
 
# if HAVE_STDINT_H
304
 
#  include <stdint.h>
305
 
# endif
306
 
#endif
307
 
#if HAVE_UNISTD_H
 
586
#endif
 
587
#ifdef HAVE_STDINT_H
 
588
# include <stdint.h>
 
589
#endif
 
590
#ifdef HAVE_UNISTD_H
308
591
# include <unistd.h>
309
592
#endif"
310
593
 
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 target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG GNOME_CFLAGS GNOME_LIBS WITH_GNOME_TRUE WITH_GNOME_FALSE CPP EGREP LIBOBJS LTLIBOBJS'
 
594
ac_subst_vars='am__EXEEXT_FALSE
 
595
am__EXEEXT_TRUE
 
596
LTLIBOBJS
 
597
LIBOBJS
 
598
EGREP
 
599
GREP
 
600
CPP
 
601
WITH_GNOME_FALSE
 
602
WITH_GNOME_TRUE
 
603
GNOME_LIBS
 
604
GNOME_CFLAGS
 
605
GTK_LIBS
 
606
GTK_CFLAGS
 
607
PKG_CONFIG_LIBDIR
 
608
PKG_CONFIG_PATH
 
609
PKG_CONFIG
 
610
am__fastdepCC_FALSE
 
611
am__fastdepCC_TRUE
 
612
CCDEPMODE
 
613
AMDEPBACKSLASH
 
614
AMDEP_FALSE
 
615
AMDEP_TRUE
 
616
am__quote
 
617
am__include
 
618
DEPDIR
 
619
OBJEXT
 
620
EXEEXT
 
621
ac_ct_CC
 
622
CPPFLAGS
 
623
LDFLAGS
 
624
CFLAGS
 
625
CC
 
626
am__untar
 
627
am__tar
 
628
AMTAR
 
629
am__leading_dot
 
630
SET_MAKE
 
631
AWK
 
632
mkdir_p
 
633
MKDIR_P
 
634
INSTALL_STRIP_PROGRAM
 
635
STRIP
 
636
install_sh
 
637
MAKEINFO
 
638
AUTOHEADER
 
639
AUTOMAKE
 
640
AUTOCONF
 
641
ACLOCAL
 
642
VERSION
 
643
PACKAGE
 
644
CYGPATH_W
 
645
am__isrc
 
646
INSTALL_DATA
 
647
INSTALL_SCRIPT
 
648
INSTALL_PROGRAM
 
649
target_os
 
650
target_vendor
 
651
target_cpu
 
652
target
 
653
host_os
 
654
host_vendor
 
655
host_cpu
 
656
host
 
657
build_os
 
658
build_vendor
 
659
build_cpu
 
660
build
 
661
target_alias
 
662
host_alias
 
663
build_alias
 
664
LIBS
 
665
ECHO_T
 
666
ECHO_N
 
667
ECHO_C
 
668
DEFS
 
669
mandir
 
670
localedir
 
671
libdir
 
672
psdir
 
673
pdfdir
 
674
dvidir
 
675
htmldir
 
676
infodir
 
677
docdir
 
678
oldincludedir
 
679
includedir
 
680
localstatedir
 
681
sharedstatedir
 
682
sysconfdir
 
683
datadir
 
684
datarootdir
 
685
libexecdir
 
686
sbindir
 
687
bindir
 
688
program_transform_name
 
689
prefix
 
690
exec_prefix
 
691
PACKAGE_URL
 
692
PACKAGE_BUGREPORT
 
693
PACKAGE_STRING
 
694
PACKAGE_VERSION
 
695
PACKAGE_TARNAME
 
696
PACKAGE_NAME
 
697
PATH_SEPARATOR
 
698
SHELL'
312
699
ac_subst_files=''
 
700
ac_user_opts='
 
701
enable_option_checking
 
702
enable_dependency_tracking
 
703
enable_gtk2
 
704
enable_sdl
 
705
enable_gnome
 
706
'
 
707
      ac_precious_vars='build_alias
 
708
host_alias
 
709
target_alias
 
710
CC
 
711
CFLAGS
 
712
LDFLAGS
 
713
LIBS
 
714
CPPFLAGS
 
715
PKG_CONFIG
 
716
PKG_CONFIG_PATH
 
717
PKG_CONFIG_LIBDIR
 
718
GTK_CFLAGS
 
719
GTK_LIBS
 
720
GNOME_CFLAGS
 
721
GNOME_LIBS
 
722
CPP'
 
723
 
313
724
 
314
725
# Initialize some variables set by options.
315
726
ac_init_help=
316
727
ac_init_version=false
 
728
ac_unrecognized_opts=
 
729
ac_unrecognized_sep=
317
730
# The variables have the same names as the options, with
318
731
# dashes changed to underlines.
319
732
cache_file=/dev/null
336
749
# and all the variables that are supposed to be based on exec_prefix
337
750
# by default will actually change.
338
751
# Use braces instead of parens because sh, perl, etc. also accept them.
 
752
# (The list follows the same order as the GNU Coding Standards.)
339
753
bindir='${exec_prefix}/bin'
340
754
sbindir='${exec_prefix}/sbin'
341
755
libexecdir='${exec_prefix}/libexec'
342
 
datadir='${prefix}/share'
 
756
datarootdir='${prefix}/share'
 
757
datadir='${datarootdir}'
343
758
sysconfdir='${prefix}/etc'
344
759
sharedstatedir='${prefix}/com'
345
760
localstatedir='${prefix}/var'
346
 
libdir='${exec_prefix}/lib'
347
761
includedir='${prefix}/include'
348
762
oldincludedir='/usr/include'
349
 
infodir='${prefix}/info'
350
 
mandir='${prefix}/man'
 
763
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
764
infodir='${datarootdir}/info'
 
765
htmldir='${docdir}'
 
766
dvidir='${docdir}'
 
767
pdfdir='${docdir}'
 
768
psdir='${docdir}'
 
769
libdir='${exec_prefix}/lib'
 
770
localedir='${datarootdir}/locale'
 
771
mandir='${datarootdir}/man'
351
772
 
352
773
ac_prev=
 
774
ac_dashdash=
353
775
for ac_option
354
776
do
355
777
  # If the previous option needs an argument, assign it.
356
778
  if test -n "$ac_prev"; then
357
 
    eval "$ac_prev=\$ac_option"
 
779
    eval $ac_prev=\$ac_option
358
780
    ac_prev=
359
781
    continue
360
782
  fi
361
783
 
362
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
784
  case $ac_option in
 
785
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
786
  *=)   ac_optarg= ;;
 
787
  *)    ac_optarg=yes ;;
 
788
  esac
363
789
 
364
790
  # Accept the important Cygnus configure options, so we can diagnose typos.
365
791
 
366
 
  case $ac_option in
 
792
  case $ac_dashdash$ac_option in
 
793
  --)
 
794
    ac_dashdash=yes ;;
367
795
 
368
796
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
369
797
    ac_prev=bindir ;;
385
813
  --config-cache | -C)
386
814
    cache_file=config.cache ;;
387
815
 
388
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
816
  -datadir | --datadir | --datadi | --datad)
389
817
    ac_prev=datadir ;;
390
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391
 
  | --da=*)
 
818
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
392
819
    datadir=$ac_optarg ;;
393
820
 
 
821
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
822
  | --dataroo | --dataro | --datar)
 
823
    ac_prev=datarootdir ;;
 
824
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
825
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
826
    datarootdir=$ac_optarg ;;
 
827
 
394
828
  -disable-* | --disable-*)
395
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
829
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396
830
    # Reject names that are not valid shell variable names.
397
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399
 
   { (exit 1); exit 1; }; }
400
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401
 
    eval "enable_$ac_feature=no" ;;
 
831
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
832
      as_fn_error $? "invalid feature name: $ac_useropt"
 
833
    ac_useropt_orig=$ac_useropt
 
834
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
835
    case $ac_user_opts in
 
836
      *"
 
837
"enable_$ac_useropt"
 
838
"*) ;;
 
839
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
840
         ac_unrecognized_sep=', ';;
 
841
    esac
 
842
    eval enable_$ac_useropt=no ;;
 
843
 
 
844
  -docdir | --docdir | --docdi | --doc | --do)
 
845
    ac_prev=docdir ;;
 
846
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
847
    docdir=$ac_optarg ;;
 
848
 
 
849
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
850
    ac_prev=dvidir ;;
 
851
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
852
    dvidir=$ac_optarg ;;
402
853
 
403
854
  -enable-* | --enable-*)
404
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
855
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405
856
    # Reject names that are not valid shell variable names.
406
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408
 
   { (exit 1); exit 1; }; }
409
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
410
 
    case $ac_option in
411
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
412
 
      *) ac_optarg=yes ;;
 
857
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
858
      as_fn_error $? "invalid feature name: $ac_useropt"
 
859
    ac_useropt_orig=$ac_useropt
 
860
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
861
    case $ac_user_opts in
 
862
      *"
 
863
"enable_$ac_useropt"
 
864
"*) ;;
 
865
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
866
         ac_unrecognized_sep=', ';;
413
867
    esac
414
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
868
    eval enable_$ac_useropt=\$ac_optarg ;;
415
869
 
416
870
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417
871
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
438
892
  -host=* | --host=* | --hos=* | --ho=*)
439
893
    host_alias=$ac_optarg ;;
440
894
 
 
895
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
896
    ac_prev=htmldir ;;
 
897
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
898
  | --ht=*)
 
899
    htmldir=$ac_optarg ;;
 
900
 
441
901
  -includedir | --includedir | --includedi | --included | --include \
442
902
  | --includ | --inclu | --incl | --inc)
443
903
    ac_prev=includedir ;;
462
922
  | --libexe=* | --libex=* | --libe=*)
463
923
    libexecdir=$ac_optarg ;;
464
924
 
 
925
  -localedir | --localedir | --localedi | --localed | --locale)
 
926
    ac_prev=localedir ;;
 
927
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
928
    localedir=$ac_optarg ;;
 
929
 
465
930
  -localstatedir | --localstatedir | --localstatedi | --localstated \
466
 
  | --localstate | --localstat | --localsta | --localst \
467
 
  | --locals | --local | --loca | --loc | --lo)
 
931
  | --localstate | --localstat | --localsta | --localst | --locals)
468
932
    ac_prev=localstatedir ;;
469
933
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
934
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
472
935
    localstatedir=$ac_optarg ;;
473
936
 
474
937
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
533
996
  | --progr-tra=* | --program-tr=* | --program-t=*)
534
997
    program_transform_name=$ac_optarg ;;
535
998
 
 
999
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1000
    ac_prev=pdfdir ;;
 
1001
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1002
    pdfdir=$ac_optarg ;;
 
1003
 
 
1004
  -psdir | --psdir | --psdi | --psd | --ps)
 
1005
    ac_prev=psdir ;;
 
1006
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1007
    psdir=$ac_optarg ;;
 
1008
 
536
1009
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537
1010
  | -silent | --silent | --silen | --sile | --sil)
538
1011
    silent=yes ;;
583
1056
    ac_init_version=: ;;
584
1057
 
585
1058
  -with-* | --with-*)
586
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1059
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587
1060
    # Reject names that are not valid shell variable names.
588
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
590
 
   { (exit 1); exit 1; }; }
591
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
592
 
    case $ac_option in
593
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
594
 
      *) ac_optarg=yes ;;
 
1061
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1062
      as_fn_error $? "invalid package name: $ac_useropt"
 
1063
    ac_useropt_orig=$ac_useropt
 
1064
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1065
    case $ac_user_opts in
 
1066
      *"
 
1067
"with_$ac_useropt"
 
1068
"*) ;;
 
1069
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1070
         ac_unrecognized_sep=', ';;
595
1071
    esac
596
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1072
    eval with_$ac_useropt=\$ac_optarg ;;
597
1073
 
598
1074
  -without-* | --without-*)
599
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1075
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600
1076
    # Reject names that are not valid shell variable names.
601
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
603
 
   { (exit 1); exit 1; }; }
604
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
605
 
    eval "with_$ac_package=no" ;;
 
1077
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1078
      as_fn_error $? "invalid package name: $ac_useropt"
 
1079
    ac_useropt_orig=$ac_useropt
 
1080
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1081
    case $ac_user_opts in
 
1082
      *"
 
1083
"with_$ac_useropt"
 
1084
"*) ;;
 
1085
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1086
         ac_unrecognized_sep=', ';;
 
1087
    esac
 
1088
    eval with_$ac_useropt=no ;;
606
1089
 
607
1090
  --x)
608
1091
    # Obsolete; use --with-x.
622
1105
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623
1106
    x_libraries=$ac_optarg ;;
624
1107
 
625
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
626
 
Try \`$0 --help' for more information." >&2
627
 
   { (exit 1); exit 1; }; }
 
1108
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1109
Try \`$0 --help' for more information"
628
1110
    ;;
629
1111
 
630
1112
  *=*)
631
1113
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632
1114
    # Reject names that are not valid shell variable names.
633
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635
 
   { (exit 1); exit 1; }; }
636
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637
 
    eval "$ac_envvar='$ac_optarg'"
 
1115
    case $ac_envvar in #(
 
1116
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1117
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1118
    esac
 
1119
    eval $ac_envvar=\$ac_optarg
638
1120
    export $ac_envvar ;;
639
1121
 
640
1122
  *)
641
1123
    # FIXME: should be removed in autoconf 3.0.
642
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1124
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643
1125
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1126
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645
1127
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
646
1128
    ;;
647
1129
 
650
1132
 
651
1133
if test -n "$ac_prev"; then
652
1134
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
654
 
   { (exit 1); exit 1; }; }
655
 
fi
656
 
 
657
 
# Be sure to have absolute paths.
658
 
for ac_var in exec_prefix prefix
659
 
do
660
 
  eval ac_val=$`echo $ac_var`
661
 
  case $ac_val in
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
666
 
done
667
 
 
668
 
# Be sure to have absolute paths.
669
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670
 
              localstatedir libdir includedir oldincludedir infodir mandir
671
 
do
672
 
  eval ac_val=$`echo $ac_var`
673
 
  case $ac_val in
674
 
    [\\/$]* | ?:[\\/]* ) ;;
675
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676
 
   { (exit 1); exit 1; }; };;
677
 
  esac
 
1135
  as_fn_error $? "missing argument to $ac_option"
 
1136
fi
 
1137
 
 
1138
if test -n "$ac_unrecognized_opts"; then
 
1139
  case $enable_option_checking in
 
1140
    no) ;;
 
1141
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1142
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1143
  esac
 
1144
fi
 
1145
 
 
1146
# Check all directory arguments for consistency.
 
1147
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1148
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1149
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1150
                libdir localedir mandir
 
1151
do
 
1152
  eval ac_val=\$$ac_var
 
1153
  # Remove trailing slashes.
 
1154
  case $ac_val in
 
1155
    */ )
 
1156
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1157
      eval $ac_var=\$ac_val;;
 
1158
  esac
 
1159
  # Be sure to have absolute directory names.
 
1160
  case $ac_val in
 
1161
    [\\/$]* | ?:[\\/]* )  continue;;
 
1162
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1163
  esac
 
1164
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
678
1165
done
679
1166
 
680
1167
# There might be people who depend on the old broken behavior: `$host'
688
1175
if test "x$host_alias" != x; then
689
1176
  if test "x$build_alias" = x; then
690
1177
    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
 
1178
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1179
    If a cross compiler is detected then cross compile mode will be used" >&2
693
1180
  elif test "x$build_alias" != "x$host_alias"; then
694
1181
    cross_compiling=yes
695
1182
  fi
701
1188
test "$silent" = yes && exec 6>/dev/null
702
1189
 
703
1190
 
 
1191
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1192
ac_ls_di=`ls -di .` &&
 
1193
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1194
  as_fn_error $? "working directory cannot be determined"
 
1195
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1196
  as_fn_error $? "pwd does not report name of working directory"
 
1197
 
 
1198
 
704
1199
# Find the source files, if location was not specified.
705
1200
if test -z "$srcdir"; then
706
1201
  ac_srcdir_defaulted=yes
707
 
  # Try the directory containing this script, then its parent.
708
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
709
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710
 
         X"$0" : 'X\(//\)[^/]' \| \
711
 
         X"$0" : 'X\(//\)$' \| \
712
 
         X"$0" : 'X\(/\)' \| \
713
 
         .     : '\(.\)' 2>/dev/null ||
714
 
echo X"$0" |
715
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717
 
          /^X\(\/\/\)$/{ s//\1/; q; }
718
 
          /^X\(\/\).*/{ s//\1/; q; }
719
 
          s/.*/./; q'`
 
1202
  # Try the directory containing this script, then the parent directory.
 
1203
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1204
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1205
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1206
         X"$as_myself" : 'X\(//\)$' \| \
 
1207
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1208
$as_echo X"$as_myself" |
 
1209
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1210
            s//\1/
 
1211
            q
 
1212
          }
 
1213
          /^X\(\/\/\)[^/].*/{
 
1214
            s//\1/
 
1215
            q
 
1216
          }
 
1217
          /^X\(\/\/\)$/{
 
1218
            s//\1/
 
1219
            q
 
1220
          }
 
1221
          /^X\(\/\).*/{
 
1222
            s//\1/
 
1223
            q
 
1224
          }
 
1225
          s/.*/./; q'`
720
1226
  srcdir=$ac_confdir
721
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1227
  if test ! -r "$srcdir/$ac_unique_file"; then
722
1228
    srcdir=..
723
1229
  fi
724
1230
else
725
1231
  ac_srcdir_defaulted=no
726
1232
fi
727
 
if test ! -r $srcdir/$ac_unique_file; then
728
 
  if test "$ac_srcdir_defaulted" = yes; then
729
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
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
736
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738
 
   { (exit 1); exit 1; }; }
739
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740
 
ac_env_build_alias_set=${build_alias+set}
741
 
ac_env_build_alias_value=$build_alias
742
 
ac_cv_env_build_alias_set=${build_alias+set}
743
 
ac_cv_env_build_alias_value=$build_alias
744
 
ac_env_host_alias_set=${host_alias+set}
745
 
ac_env_host_alias_value=$host_alias
746
 
ac_cv_env_host_alias_set=${host_alias+set}
747
 
ac_cv_env_host_alias_value=$host_alias
748
 
ac_env_target_alias_set=${target_alias+set}
749
 
ac_env_target_alias_value=$target_alias
750
 
ac_cv_env_target_alias_set=${target_alias+set}
751
 
ac_cv_env_target_alias_value=$target_alias
752
 
ac_env_CC_set=${CC+set}
753
 
ac_env_CC_value=$CC
754
 
ac_cv_env_CC_set=${CC+set}
755
 
ac_cv_env_CC_value=$CC
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_CPP_set=${CPP+set}
769
 
ac_env_CPP_value=$CPP
770
 
ac_cv_env_CPP_set=${CPP+set}
771
 
ac_cv_env_CPP_value=$CPP
 
1233
if test ! -r "$srcdir/$ac_unique_file"; then
 
1234
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1235
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
1236
fi
 
1237
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1238
ac_abs_confdir=`(
 
1239
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 
1240
        pwd)`
 
1241
# When building in place, set srcdir=.
 
1242
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1243
  srcdir=.
 
1244
fi
 
1245
# Remove unnecessary trailing slashes from srcdir.
 
1246
# Double slashes in file names in object file debugging info
 
1247
# mess up M-x gdb in Emacs.
 
1248
case $srcdir in
 
1249
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1250
esac
 
1251
for ac_var in $ac_precious_vars; do
 
1252
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1253
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1254
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1255
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1256
done
772
1257
 
773
1258
#
774
1259
# Report the --help message.
777
1262
  # Omit some internal or obsolete options to make the list less imposing.
778
1263
  # This message is too long to be a string in the A/UX 3.1 sh.
779
1264
  cat <<_ACEOF
780
 
\`configure' configures this package to adapt to many kinds of systems.
 
1265
\`configure' configures gtkboard 0.11pre0 to adapt to many kinds of systems.
781
1266
 
782
1267
Usage: $0 [OPTION]... [VAR=VALUE]...
783
1268
 
791
1276
      --help=short        display options specific to this package
792
1277
      --help=recursive    display the short help of all the included packages
793
1278
  -V, --version           display version information and exit
794
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1279
  -q, --quiet, --silent   do not print \`checking ...' messages
795
1280
      --cache-file=FILE   cache test results in FILE [disabled]
796
1281
  -C, --config-cache      alias for \`--cache-file=config.cache'
797
1282
  -n, --no-create         do not create output files
798
1283
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
799
1284
 
800
 
_ACEOF
801
 
 
802
 
  cat <<_ACEOF
803
1285
Installation directories:
804
1286
  --prefix=PREFIX         install architecture-independent files in PREFIX
805
1287
                          [$ac_default_prefix]
814
1296
For better control, use the options below.
815
1297
 
816
1298
Fine tuning of the installation directories:
817
 
  --bindir=DIR           user executables [EPREFIX/bin]
818
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
819
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
820
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
821
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
822
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
823
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
824
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
825
 
  --includedir=DIR       C header files [PREFIX/include]
826
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
827
 
  --infodir=DIR          info documentation [PREFIX/info]
828
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1299
  --bindir=DIR            user executables [EPREFIX/bin]
 
1300
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1301
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1302
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1303
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1304
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1305
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1306
  --includedir=DIR        C header files [PREFIX/include]
 
1307
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1308
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1309
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1310
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1311
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1312
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1313
  --docdir=DIR            documentation root [DATAROOTDIR/doc/gtkboard]
 
1314
  --htmldir=DIR           html documentation [DOCDIR]
 
1315
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1316
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1317
  --psdir=DIR             ps documentation [DOCDIR]
829
1318
_ACEOF
830
1319
 
831
1320
  cat <<\_ACEOF
843
1332
fi
844
1333
 
845
1334
if test -n "$ac_init_help"; then
846
 
 
 
1335
  case $ac_init_help in
 
1336
     short | recursive ) echo "Configuration of gtkboard 0.11pre0:";;
 
1337
   esac
847
1338
  cat <<\_ACEOF
848
1339
 
849
1340
Optional Features:
 
1341
  --disable-option-checking  ignore unrecognized --enable/--with options
850
1342
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
851
1343
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
852
 
  --disable-dependency-tracking Speeds up one-time builds
853
 
  --enable-dependency-tracking  Do not reject slow dependency extractors
 
1344
  --disable-dependency-tracking  speeds up one-time build
 
1345
  --enable-dependency-tracking   do not reject slow dependency extractors
854
1346
  --disable-gtk2      Don't look for GTK2 libraries
855
 
  --disable-gtktest       Do not try to compile and run a test GTK program
856
1347
  --disable-sdl      Don't look for the SDL library
857
1348
  --enable-gnome    Turn on gnome
858
1349
 
859
 
Optional Packages:
860
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
861
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
862
 
  --with-gtk-prefix=PFX   Prefix where GTK is installed (optional)
863
 
  --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
864
 
 
865
1350
Some influential environment variables:
866
1351
  CC          C compiler command
867
1352
  CFLAGS      C compiler flags
868
1353
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
869
1354
              nonstandard directory <lib dir>
870
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
871
 
              headers in a nonstandard directory <include dir>
 
1355
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1356
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1357
              you have headers in a nonstandard directory <include dir>
 
1358
  PKG_CONFIG  path to pkg-config utility
 
1359
  PKG_CONFIG_PATH
 
1360
              directories to add to pkg-config's search path
 
1361
  PKG_CONFIG_LIBDIR
 
1362
              path overriding pkg-config's built-in search path
 
1363
  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
 
1364
  GTK_LIBS    linker flags for GTK, overriding pkg-config
 
1365
  GNOME_CFLAGS
 
1366
              C compiler flags for GNOME, overriding pkg-config
 
1367
  GNOME_LIBS  linker flags for GNOME, overriding pkg-config
872
1368
  CPP         C preprocessor
873
1369
 
874
1370
Use these variables to override the choices made by `configure' or to help
875
1371
it to find libraries and programs with nonstandard names/locations.
876
1372
 
 
1373
Report bugs to the package provider.
877
1374
_ACEOF
 
1375
ac_status=$?
878
1376
fi
879
1377
 
880
1378
if test "$ac_init_help" = "recursive"; then
881
1379
  # If there are subdirs, report their specific --help.
882
 
  ac_popdir=`pwd`
883
1380
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
884
 
    test -d $ac_dir || continue
 
1381
    test -d "$ac_dir" ||
 
1382
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1383
      continue
885
1384
    ac_builddir=.
886
1385
 
887
 
if test "$ac_dir" != .; then
888
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
889
 
  # A "../" for each directory in $ac_dir_suffix.
890
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
891
 
else
892
 
  ac_dir_suffix= ac_top_builddir=
893
 
fi
 
1386
case "$ac_dir" in
 
1387
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1388
*)
 
1389
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1390
  # A ".." for each directory in $ac_dir_suffix.
 
1391
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1392
  case $ac_top_builddir_sub in
 
1393
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1394
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1395
  esac ;;
 
1396
esac
 
1397
ac_abs_top_builddir=$ac_pwd
 
1398
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1399
# for backward compatibility:
 
1400
ac_top_builddir=$ac_top_build_prefix
894
1401
 
895
1402
case $srcdir in
896
 
  .)  # No --srcdir option.  We are building in place.
 
1403
  .)  # We are building in place.
897
1404
    ac_srcdir=.
898
 
    if test -z "$ac_top_builddir"; then
899
 
       ac_top_srcdir=.
900
 
    else
901
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
902
 
    fi ;;
903
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1405
    ac_top_srcdir=$ac_top_builddir_sub
 
1406
    ac_abs_top_srcdir=$ac_pwd ;;
 
1407
  [\\/]* | ?:[\\/]* )  # Absolute name.
904
1408
    ac_srcdir=$srcdir$ac_dir_suffix;
905
 
    ac_top_srcdir=$srcdir ;;
906
 
  *) # Relative path.
907
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
908
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
1409
    ac_top_srcdir=$srcdir
 
1410
    ac_abs_top_srcdir=$srcdir ;;
 
1411
  *) # Relative name.
 
1412
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1413
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1414
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
909
1415
esac
910
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
911
 
# absolute.
912
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
913
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
914
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
915
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
1416
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
916
1417
 
917
 
    cd $ac_dir
918
 
    # Check for guested configure; otherwise get Cygnus style configure.
919
 
    if test -f $ac_srcdir/configure.gnu; then
920
 
      echo
921
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
922
 
    elif test -f $ac_srcdir/configure; then
923
 
      echo
924
 
      $SHELL $ac_srcdir/configure  --help=recursive
925
 
    elif test -f $ac_srcdir/configure.ac ||
926
 
           test -f $ac_srcdir/configure.in; then
927
 
      echo
928
 
      $ac_configure --help
 
1418
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1419
    # Check for guested configure.
 
1420
    if test -f "$ac_srcdir/configure.gnu"; then
 
1421
      echo &&
 
1422
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1423
    elif test -f "$ac_srcdir/configure"; then
 
1424
      echo &&
 
1425
      $SHELL "$ac_srcdir/configure" --help=recursive
929
1426
    else
930
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
931
 
    fi
932
 
    cd $ac_popdir
 
1427
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1428
    fi || ac_status=$?
 
1429
    cd "$ac_pwd" || { ac_status=$?; break; }
933
1430
  done
934
1431
fi
935
1432
 
936
 
test -n "$ac_init_help" && exit 0
 
1433
test -n "$ac_init_help" && exit $ac_status
937
1434
if $ac_init_version; then
938
1435
  cat <<\_ACEOF
 
1436
gtkboard configure 0.11pre0
 
1437
generated by GNU Autoconf 2.67
939
1438
 
940
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
941
 
Free Software Foundation, Inc.
 
1439
Copyright (C) 2010 Free Software Foundation, Inc.
942
1440
This configure script is free software; the Free Software Foundation
943
1441
gives unlimited permission to copy, distribute and modify it.
944
1442
_ACEOF
945
 
  exit 0
946
 
fi
947
 
exec 5>config.log
948
 
cat >&5 <<_ACEOF
 
1443
  exit
 
1444
fi
 
1445
 
 
1446
## ------------------------ ##
 
1447
## Autoconf initialization. ##
 
1448
## ------------------------ ##
 
1449
 
 
1450
# ac_fn_c_try_compile LINENO
 
1451
# --------------------------
 
1452
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1453
ac_fn_c_try_compile ()
 
1454
{
 
1455
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1456
  rm -f conftest.$ac_objext
 
1457
  if { { ac_try="$ac_compile"
 
1458
case "(($ac_try" in
 
1459
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1460
  *) ac_try_echo=$ac_try;;
 
1461
esac
 
1462
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1463
$as_echo "$ac_try_echo"; } >&5
 
1464
  (eval "$ac_compile") 2>conftest.err
 
1465
  ac_status=$?
 
1466
  if test -s conftest.err; then
 
1467
    grep -v '^ *+' conftest.err >conftest.er1
 
1468
    cat conftest.er1 >&5
 
1469
    mv -f conftest.er1 conftest.err
 
1470
  fi
 
1471
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1472
  test $ac_status = 0; } && {
 
1473
         test -z "$ac_c_werror_flag" ||
 
1474
         test ! -s conftest.err
 
1475
       } && test -s conftest.$ac_objext; then :
 
1476
  ac_retval=0
 
1477
else
 
1478
  $as_echo "$as_me: failed program was:" >&5
 
1479
sed 's/^/| /' conftest.$ac_ext >&5
 
1480
 
 
1481
        ac_retval=1
 
1482
fi
 
1483
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1484
  as_fn_set_status $ac_retval
 
1485
 
 
1486
} # ac_fn_c_try_compile
 
1487
 
 
1488
# ac_fn_c_try_link LINENO
 
1489
# -----------------------
 
1490
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1491
ac_fn_c_try_link ()
 
1492
{
 
1493
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1494
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1495
  if { { ac_try="$ac_link"
 
1496
case "(($ac_try" in
 
1497
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1498
  *) ac_try_echo=$ac_try;;
 
1499
esac
 
1500
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1501
$as_echo "$ac_try_echo"; } >&5
 
1502
  (eval "$ac_link") 2>conftest.err
 
1503
  ac_status=$?
 
1504
  if test -s conftest.err; then
 
1505
    grep -v '^ *+' conftest.err >conftest.er1
 
1506
    cat conftest.er1 >&5
 
1507
    mv -f conftest.er1 conftest.err
 
1508
  fi
 
1509
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1510
  test $ac_status = 0; } && {
 
1511
         test -z "$ac_c_werror_flag" ||
 
1512
         test ! -s conftest.err
 
1513
       } && test -s conftest$ac_exeext && {
 
1514
         test "$cross_compiling" = yes ||
 
1515
         $as_test_x conftest$ac_exeext
 
1516
       }; then :
 
1517
  ac_retval=0
 
1518
else
 
1519
  $as_echo "$as_me: failed program was:" >&5
 
1520
sed 's/^/| /' conftest.$ac_ext >&5
 
1521
 
 
1522
        ac_retval=1
 
1523
fi
 
1524
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1525
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1526
  # interfere with the next link command; also delete a directory that is
 
1527
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1528
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1529
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1530
  as_fn_set_status $ac_retval
 
1531
 
 
1532
} # ac_fn_c_try_link
 
1533
 
 
1534
# ac_fn_c_try_cpp LINENO
 
1535
# ----------------------
 
1536
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1537
ac_fn_c_try_cpp ()
 
1538
{
 
1539
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1540
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1541
case "(($ac_try" in
 
1542
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1543
  *) ac_try_echo=$ac_try;;
 
1544
esac
 
1545
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1546
$as_echo "$ac_try_echo"; } >&5
 
1547
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1548
  ac_status=$?
 
1549
  if test -s conftest.err; then
 
1550
    grep -v '^ *+' conftest.err >conftest.er1
 
1551
    cat conftest.er1 >&5
 
1552
    mv -f conftest.er1 conftest.err
 
1553
  fi
 
1554
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1555
  test $ac_status = 0; } > conftest.i && {
 
1556
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1557
         test ! -s conftest.err
 
1558
       }; then :
 
1559
  ac_retval=0
 
1560
else
 
1561
  $as_echo "$as_me: failed program was:" >&5
 
1562
sed 's/^/| /' conftest.$ac_ext >&5
 
1563
 
 
1564
    ac_retval=1
 
1565
fi
 
1566
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1567
  as_fn_set_status $ac_retval
 
1568
 
 
1569
} # ac_fn_c_try_cpp
 
1570
 
 
1571
# ac_fn_c_try_run LINENO
 
1572
# ----------------------
 
1573
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1574
# that executables *can* be run.
 
1575
ac_fn_c_try_run ()
 
1576
{
 
1577
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1578
  if { { ac_try="$ac_link"
 
1579
case "(($ac_try" in
 
1580
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1581
  *) ac_try_echo=$ac_try;;
 
1582
esac
 
1583
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1584
$as_echo "$ac_try_echo"; } >&5
 
1585
  (eval "$ac_link") 2>&5
 
1586
  ac_status=$?
 
1587
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1588
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1589
  { { case "(($ac_try" in
 
1590
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1591
  *) ac_try_echo=$ac_try;;
 
1592
esac
 
1593
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1594
$as_echo "$ac_try_echo"; } >&5
 
1595
  (eval "$ac_try") 2>&5
 
1596
  ac_status=$?
 
1597
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1598
  test $ac_status = 0; }; }; then :
 
1599
  ac_retval=0
 
1600
else
 
1601
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1602
       $as_echo "$as_me: failed program was:" >&5
 
1603
sed 's/^/| /' conftest.$ac_ext >&5
 
1604
 
 
1605
       ac_retval=$ac_status
 
1606
fi
 
1607
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1608
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1609
  as_fn_set_status $ac_retval
 
1610
 
 
1611
} # ac_fn_c_try_run
 
1612
 
 
1613
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1614
# -------------------------------------------------------
 
1615
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1616
# the include files in INCLUDES and setting the cache variable VAR
 
1617
# accordingly.
 
1618
ac_fn_c_check_header_mongrel ()
 
1619
{
 
1620
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1621
  if eval "test \"\${$3+set}\"" = set; then :
 
1622
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1623
$as_echo_n "checking for $2... " >&6; }
 
1624
if eval "test \"\${$3+set}\"" = set; then :
 
1625
  $as_echo_n "(cached) " >&6
 
1626
fi
 
1627
eval ac_res=\$$3
 
1628
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1629
$as_echo "$ac_res" >&6; }
 
1630
else
 
1631
  # Is the header compilable?
 
1632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1633
$as_echo_n "checking $2 usability... " >&6; }
 
1634
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1635
/* end confdefs.h.  */
 
1636
$4
 
1637
#include <$2>
 
1638
_ACEOF
 
1639
if ac_fn_c_try_compile "$LINENO"; then :
 
1640
  ac_header_compiler=yes
 
1641
else
 
1642
  ac_header_compiler=no
 
1643
fi
 
1644
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1646
$as_echo "$ac_header_compiler" >&6; }
 
1647
 
 
1648
# Is the header present?
 
1649
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1650
$as_echo_n "checking $2 presence... " >&6; }
 
1651
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1652
/* end confdefs.h.  */
 
1653
#include <$2>
 
1654
_ACEOF
 
1655
if ac_fn_c_try_cpp "$LINENO"; then :
 
1656
  ac_header_preproc=yes
 
1657
else
 
1658
  ac_header_preproc=no
 
1659
fi
 
1660
rm -f conftest.err conftest.i conftest.$ac_ext
 
1661
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1662
$as_echo "$ac_header_preproc" >&6; }
 
1663
 
 
1664
# So?  What about this header?
 
1665
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1666
  yes:no: )
 
1667
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1668
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1669
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1670
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1671
    ;;
 
1672
  no:yes:* )
 
1673
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1674
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1675
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1676
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1677
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1678
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1679
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1680
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1681
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1682
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1683
    ;;
 
1684
esac
 
1685
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1686
$as_echo_n "checking for $2... " >&6; }
 
1687
if eval "test \"\${$3+set}\"" = set; then :
 
1688
  $as_echo_n "(cached) " >&6
 
1689
else
 
1690
  eval "$3=\$ac_header_compiler"
 
1691
fi
 
1692
eval ac_res=\$$3
 
1693
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1694
$as_echo "$ac_res" >&6; }
 
1695
fi
 
1696
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1697
 
 
1698
} # ac_fn_c_check_header_mongrel
 
1699
 
 
1700
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1701
# -------------------------------------------------------
 
1702
# Tests whether HEADER exists and can be compiled using the include files in
 
1703
# INCLUDES, setting the cache variable VAR accordingly.
 
1704
ac_fn_c_check_header_compile ()
 
1705
{
 
1706
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1707
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1708
$as_echo_n "checking for $2... " >&6; }
 
1709
if eval "test \"\${$3+set}\"" = set; then :
 
1710
  $as_echo_n "(cached) " >&6
 
1711
else
 
1712
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1713
/* end confdefs.h.  */
 
1714
$4
 
1715
#include <$2>
 
1716
_ACEOF
 
1717
if ac_fn_c_try_compile "$LINENO"; then :
 
1718
  eval "$3=yes"
 
1719
else
 
1720
  eval "$3=no"
 
1721
fi
 
1722
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1723
fi
 
1724
eval ac_res=\$$3
 
1725
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1726
$as_echo "$ac_res" >&6; }
 
1727
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1728
 
 
1729
} # ac_fn_c_check_header_compile
 
1730
 
 
1731
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 
1732
# -------------------------------------------
 
1733
# Tests whether TYPE exists after having included INCLUDES, setting cache
 
1734
# variable VAR accordingly.
 
1735
ac_fn_c_check_type ()
 
1736
{
 
1737
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1738
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1739
$as_echo_n "checking for $2... " >&6; }
 
1740
if eval "test \"\${$3+set}\"" = set; then :
 
1741
  $as_echo_n "(cached) " >&6
 
1742
else
 
1743
  eval "$3=no"
 
1744
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1745
/* end confdefs.h.  */
 
1746
$4
 
1747
int
 
1748
main ()
 
1749
{
 
1750
if (sizeof ($2))
 
1751
         return 0;
 
1752
  ;
 
1753
  return 0;
 
1754
}
 
1755
_ACEOF
 
1756
if ac_fn_c_try_compile "$LINENO"; then :
 
1757
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1758
/* end confdefs.h.  */
 
1759
$4
 
1760
int
 
1761
main ()
 
1762
{
 
1763
if (sizeof (($2)))
 
1764
            return 0;
 
1765
  ;
 
1766
  return 0;
 
1767
}
 
1768
_ACEOF
 
1769
if ac_fn_c_try_compile "$LINENO"; then :
 
1770
 
 
1771
else
 
1772
  eval "$3=yes"
 
1773
fi
 
1774
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1775
fi
 
1776
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1777
fi
 
1778
eval ac_res=\$$3
 
1779
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1780
$as_echo "$ac_res" >&6; }
 
1781
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1782
 
 
1783
} # ac_fn_c_check_type
 
1784
 
 
1785
# ac_fn_c_check_func LINENO FUNC VAR
 
1786
# ----------------------------------
 
1787
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1788
ac_fn_c_check_func ()
 
1789
{
 
1790
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1791
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1792
$as_echo_n "checking for $2... " >&6; }
 
1793
if eval "test \"\${$3+set}\"" = set; then :
 
1794
  $as_echo_n "(cached) " >&6
 
1795
else
 
1796
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1797
/* end confdefs.h.  */
 
1798
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1799
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1800
#define $2 innocuous_$2
 
1801
 
 
1802
/* System header to define __stub macros and hopefully few prototypes,
 
1803
    which can conflict with char $2 (); below.
 
1804
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1805
    <limits.h> exists even on freestanding compilers.  */
 
1806
 
 
1807
#ifdef __STDC__
 
1808
# include <limits.h>
 
1809
#else
 
1810
# include <assert.h>
 
1811
#endif
 
1812
 
 
1813
#undef $2
 
1814
 
 
1815
/* Override any GCC internal prototype to avoid an error.
 
1816
   Use char because int might match the return type of a GCC
 
1817
   builtin and then its argument prototype would still apply.  */
 
1818
#ifdef __cplusplus
 
1819
extern "C"
 
1820
#endif
 
1821
char $2 ();
 
1822
/* The GNU C library defines this for functions which it implements
 
1823
    to always fail with ENOSYS.  Some functions are actually named
 
1824
    something starting with __ and the normal name is an alias.  */
 
1825
#if defined __stub_$2 || defined __stub___$2
 
1826
choke me
 
1827
#endif
 
1828
 
 
1829
int
 
1830
main ()
 
1831
{
 
1832
return $2 ();
 
1833
  ;
 
1834
  return 0;
 
1835
}
 
1836
_ACEOF
 
1837
if ac_fn_c_try_link "$LINENO"; then :
 
1838
  eval "$3=yes"
 
1839
else
 
1840
  eval "$3=no"
 
1841
fi
 
1842
rm -f core conftest.err conftest.$ac_objext \
 
1843
    conftest$ac_exeext conftest.$ac_ext
 
1844
fi
 
1845
eval ac_res=\$$3
 
1846
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1847
$as_echo "$ac_res" >&6; }
 
1848
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1849
 
 
1850
} # ac_fn_c_check_func
 
1851
cat >config.log <<_ACEOF
949
1852
This file contains any messages produced by compilers while
950
1853
running configure, to aid debugging if configure makes a mistake.
951
1854
 
952
 
It was created by $as_me, which was
953
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
1855
It was created by gtkboard $as_me 0.11pre0, which was
 
1856
generated by GNU Autoconf 2.67.  Invocation command line was
954
1857
 
955
1858
  $ $0 $@
956
1859
 
957
1860
_ACEOF
 
1861
exec 5>>config.log
958
1862
{
959
1863
cat <<_ASUNAME
960
1864
## --------- ##
973
1877
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
974
1878
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
975
1879
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
976
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1880
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
977
1881
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
978
1882
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
979
1883
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
985
1889
do
986
1890
  IFS=$as_save_IFS
987
1891
  test -z "$as_dir" && as_dir=.
988
 
  echo "PATH: $as_dir"
989
 
done
 
1892
    $as_echo "PATH: $as_dir"
 
1893
  done
 
1894
IFS=$as_save_IFS
990
1895
 
991
1896
} >&5
992
1897
 
1008
1913
ac_configure_args=
1009
1914
ac_configure_args0=
1010
1915
ac_configure_args1=
1011
 
ac_sep=
1012
1916
ac_must_keep_next=false
1013
1917
for ac_pass in 1 2
1014
1918
do
1019
1923
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1020
1924
    | -silent | --silent | --silen | --sile | --sil)
1021
1925
      continue ;;
1022
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1023
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1926
    *\'*)
 
1927
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1024
1928
    esac
1025
1929
    case $ac_pass in
1026
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1930
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1027
1931
    2)
1028
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1932
      as_fn_append ac_configure_args1 " '$ac_arg'"
1029
1933
      if test $ac_must_keep_next = true; then
1030
 
        ac_must_keep_next=false # Got value, back to normal.
 
1934
        ac_must_keep_next=false # Got value, back to normal.
1031
1935
      else
1032
 
        case $ac_arg in
1033
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1034
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1035
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1036
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1037
 
            case "$ac_configure_args0 " in
1038
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1039
 
            esac
1040
 
            ;;
1041
 
          -* ) ac_must_keep_next=true ;;
1042
 
        esac
 
1936
        case $ac_arg in
 
1937
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1938
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1939
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1940
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1941
            case "$ac_configure_args0 " in
 
1942
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1943
            esac
 
1944
            ;;
 
1945
          -* ) ac_must_keep_next=true ;;
 
1946
        esac
1043
1947
      fi
1044
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1045
 
      # Get rid of the leading space.
1046
 
      ac_sep=" "
 
1948
      as_fn_append ac_configure_args " '$ac_arg'"
1047
1949
      ;;
1048
1950
    esac
1049
1951
  done
1050
1952
done
1051
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1052
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1953
{ ac_configure_args0=; unset ac_configure_args0;}
 
1954
{ ac_configure_args1=; unset ac_configure_args1;}
1053
1955
 
1054
1956
# When interrupted or exit'd, cleanup temporary files, and complete
1055
1957
# config.log.  We remove comments because anyway the quotes in there
1056
1958
# would cause problems or look ugly.
1057
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1058
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1959
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1960
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1059
1961
trap 'exit_status=$?
1060
1962
  # Save into config.log some information that might help in debugging.
1061
1963
  {
1062
1964
    echo
1063
1965
 
1064
 
    cat <<\_ASBOX
1065
 
## ---------------- ##
 
1966
    $as_echo "## ---------------- ##
1066
1967
## Cache variables. ##
1067
 
## ---------------- ##
1068
 
_ASBOX
 
1968
## ---------------- ##"
1069
1969
    echo
1070
1970
    # The following way of writing the cache mishandles newlines in values,
1071
 
{
 
1971
(
 
1972
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1973
    eval ac_val=\$$ac_var
 
1974
    case $ac_val in #(
 
1975
    *${as_nl}*)
 
1976
      case $ac_var in #(
 
1977
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
1978
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
1979
      esac
 
1980
      case $ac_var in #(
 
1981
      _ | IFS | as_nl) ;; #(
 
1982
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
1983
      *) { eval $ac_var=; unset $ac_var;} ;;
 
1984
      esac ;;
 
1985
    esac
 
1986
  done
1072
1987
  (set) 2>&1 |
1073
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1074
 
    *ac_space=\ *)
 
1988
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1989
    *${as_nl}ac_space=\ *)
1075
1990
      sed -n \
1076
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1077
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1078
 
      ;;
 
1991
        "s/'\''/'\''\\\\'\'''\''/g;
 
1992
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1993
      ;; #(
1079
1994
    *)
1080
 
      sed -n \
1081
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1995
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1082
1996
      ;;
1083
 
    esac;
1084
 
}
 
1997
    esac |
 
1998
    sort
 
1999
)
1085
2000
    echo
1086
2001
 
1087
 
    cat <<\_ASBOX
1088
 
## ----------------- ##
 
2002
    $as_echo "## ----------------- ##
1089
2003
## Output variables. ##
1090
 
## ----------------- ##
1091
 
_ASBOX
 
2004
## ----------------- ##"
1092
2005
    echo
1093
2006
    for ac_var in $ac_subst_vars
1094
2007
    do
1095
 
      eval ac_val=$`echo $ac_var`
1096
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
2008
      eval ac_val=\$$ac_var
 
2009
      case $ac_val in
 
2010
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2011
      esac
 
2012
      $as_echo "$ac_var='\''$ac_val'\''"
1097
2013
    done | sort
1098
2014
    echo
1099
2015
 
1100
2016
    if test -n "$ac_subst_files"; then
1101
 
      cat <<\_ASBOX
1102
 
## ------------- ##
1103
 
## Output files. ##
1104
 
## ------------- ##
1105
 
_ASBOX
 
2017
      $as_echo "## ------------------- ##
 
2018
## File substitutions. ##
 
2019
## ------------------- ##"
1106
2020
      echo
1107
2021
      for ac_var in $ac_subst_files
1108
2022
      do
1109
 
        eval ac_val=$`echo $ac_var`
1110
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
2023
        eval ac_val=\$$ac_var
 
2024
        case $ac_val in
 
2025
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2026
        esac
 
2027
        $as_echo "$ac_var='\''$ac_val'\''"
1111
2028
      done | sort
1112
2029
      echo
1113
2030
    fi
1114
2031
 
1115
2032
    if test -s confdefs.h; then
1116
 
      cat <<\_ASBOX
1117
 
## ----------- ##
 
2033
      $as_echo "## ----------- ##
1118
2034
## confdefs.h. ##
1119
 
## ----------- ##
1120
 
_ASBOX
 
2035
## ----------- ##"
1121
2036
      echo
1122
 
      sed "/^$/d" confdefs.h | sort
 
2037
      cat confdefs.h
1123
2038
      echo
1124
2039
    fi
1125
2040
    test "$ac_signal" != 0 &&
1126
 
      echo "$as_me: caught signal $ac_signal"
1127
 
    echo "$as_me: exit $exit_status"
 
2041
      $as_echo "$as_me: caught signal $ac_signal"
 
2042
    $as_echo "$as_me: exit $exit_status"
1128
2043
  } >&5
1129
 
  rm -f core core.* *.core &&
1130
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
2044
  rm -f core *.core core.conftest.* &&
 
2045
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1131
2046
    exit $exit_status
1132
 
     ' 0
 
2047
' 0
1133
2048
for ac_signal in 1 2 13 15; do
1134
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2049
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1135
2050
done
1136
2051
ac_signal=0
1137
2052
 
1138
2053
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1139
 
rm -rf conftest* confdefs.h
1140
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1141
 
echo >confdefs.h
 
2054
rm -f -r conftest* confdefs.h
 
2055
 
 
2056
$as_echo "/* confdefs.h */" > confdefs.h
1142
2057
 
1143
2058
# Predefined preprocessor variables.
1144
2059
 
1146
2061
#define PACKAGE_NAME "$PACKAGE_NAME"
1147
2062
_ACEOF
1148
2063
 
1149
 
 
1150
2064
cat >>confdefs.h <<_ACEOF
1151
2065
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1152
2066
_ACEOF
1153
2067
 
1154
 
 
1155
2068
cat >>confdefs.h <<_ACEOF
1156
2069
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1157
2070
_ACEOF
1158
2071
 
1159
 
 
1160
2072
cat >>confdefs.h <<_ACEOF
1161
2073
#define PACKAGE_STRING "$PACKAGE_STRING"
1162
2074
_ACEOF
1163
2075
 
1164
 
 
1165
2076
cat >>confdefs.h <<_ACEOF
1166
2077
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1167
2078
_ACEOF
1168
2079
 
 
2080
cat >>confdefs.h <<_ACEOF
 
2081
#define PACKAGE_URL "$PACKAGE_URL"
 
2082
_ACEOF
 
2083
 
1169
2084
 
1170
2085
# Let the site file select an alternate cache file if it wants to.
1171
 
# Prefer explicitly selected file to automatically selected ones.
1172
 
if test -z "$CONFIG_SITE"; then
1173
 
  if test "x$prefix" != xNONE; then
1174
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1175
 
  else
1176
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1177
 
  fi
 
2086
# Prefer an explicitly selected file to automatically selected ones.
 
2087
ac_site_file1=NONE
 
2088
ac_site_file2=NONE
 
2089
if test -n "$CONFIG_SITE"; then
 
2090
  # We do not want a PATH search for config.site.
 
2091
  case $CONFIG_SITE in #((
 
2092
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2093
    */*) ac_site_file1=$CONFIG_SITE;;
 
2094
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2095
  esac
 
2096
elif test "x$prefix" != xNONE; then
 
2097
  ac_site_file1=$prefix/share/config.site
 
2098
  ac_site_file2=$prefix/etc/config.site
 
2099
else
 
2100
  ac_site_file1=$ac_default_prefix/share/config.site
 
2101
  ac_site_file2=$ac_default_prefix/etc/config.site
1178
2102
fi
1179
 
for ac_site_file in $CONFIG_SITE; do
1180
 
  if test -r "$ac_site_file"; then
1181
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1182
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
2103
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2104
do
 
2105
  test "x$ac_site_file" = xNONE && continue
 
2106
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2107
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2108
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1183
2109
    sed 's/^/| /' "$ac_site_file" >&5
1184
 
    . "$ac_site_file"
 
2110
    . "$ac_site_file" \
 
2111
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2112
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2113
as_fn_error $? "failed to load site script $ac_site_file
 
2114
See \`config.log' for more details" "$LINENO" 5 ; }
1185
2115
  fi
1186
2116
done
1187
2117
 
1188
2118
if test -r "$cache_file"; then
1189
 
  # Some versions of bash will fail to source /dev/null (special
1190
 
  # files actually), so we avoid doing that.
1191
 
  if test -f "$cache_file"; then
1192
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1193
 
echo "$as_me: loading cache $cache_file" >&6;}
 
2119
  # Some versions of bash will fail to source /dev/null (special files
 
2120
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2121
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2122
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2123
$as_echo "$as_me: loading cache $cache_file" >&6;}
1194
2124
    case $cache_file in
1195
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1196
 
      *)                      . ./$cache_file;;
 
2125
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2126
      *)                      . "./$cache_file";;
1197
2127
    esac
1198
2128
  fi
1199
2129
else
1200
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1201
 
echo "$as_me: creating cache $cache_file" >&6;}
 
2130
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2131
$as_echo "$as_me: creating cache $cache_file" >&6;}
1202
2132
  >$cache_file
1203
2133
fi
1204
2134
 
1205
2135
# Check that the precious variables saved in the cache have kept the same
1206
2136
# value.
1207
2137
ac_cache_corrupted=false
1208
 
for ac_var in `(set) 2>&1 |
1209
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
2138
for ac_var in $ac_precious_vars; do
1210
2139
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1211
2140
  eval ac_new_set=\$ac_env_${ac_var}_set
1212
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1213
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
2141
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2142
  eval ac_new_val=\$ac_env_${ac_var}_value
1214
2143
  case $ac_old_set,$ac_new_set in
1215
2144
    set,)
1216
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1217
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2145
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2146
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1218
2147
      ac_cache_corrupted=: ;;
1219
2148
    ,set)
1220
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1221
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2149
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2150
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1222
2151
      ac_cache_corrupted=: ;;
1223
2152
    ,);;
1224
2153
    *)
1225
2154
      if test "x$ac_old_val" != "x$ac_new_val"; then
1226
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1227
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1228
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1229
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1230
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1231
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1232
 
        ac_cache_corrupted=:
 
2155
        # differences in whitespace do not lead to failure.
 
2156
        ac_old_val_w=`echo x $ac_old_val`
 
2157
        ac_new_val_w=`echo x $ac_new_val`
 
2158
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2159
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2160
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2161
          ac_cache_corrupted=:
 
2162
        else
 
2163
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2164
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2165
          eval $ac_var=\$ac_old_val
 
2166
        fi
 
2167
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2168
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2169
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2170
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1233
2171
      fi;;
1234
2172
  esac
1235
2173
  # Pass precious variables to config.status.
1236
2174
  if test "$ac_new_set" = set; then
1237
2175
    case $ac_new_val in
1238
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1239
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2176
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1240
2177
    *) ac_arg=$ac_var=$ac_new_val ;;
1241
2178
    esac
1242
2179
    case " $ac_configure_args " in
1243
2180
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1244
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2181
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1245
2182
    esac
1246
2183
  fi
1247
2184
done
1248
2185
if $ac_cache_corrupted; then
1249
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1250
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1251
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1252
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1253
 
   { (exit 1); exit 1; }; }
 
2186
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2187
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2188
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2189
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2190
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1254
2191
fi
 
2192
## -------------------- ##
 
2193
## Main body of script. ##
 
2194
## -------------------- ##
1255
2195
 
1256
2196
ac_ext=c
1257
2197
ac_cpp='$CPP $CPPFLAGS'
1261
2201
 
1262
2202
 
1263
2203
 
1264
 
 
1265
 
 
1266
 
 
1267
 
 
1268
 
 
1269
 
 
1270
 
 
1271
 
 
1272
 
 
1273
 
 
1274
 
 
1275
 
 
1276
 
 
1277
 
 
1278
 
 
 
2204
ac_config_headers="$ac_config_headers config.h"
1279
2205
 
1280
2206
 
1281
2207
ac_aux_dir=
1282
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1283
 
  if test -f $ac_dir/install-sh; then
 
2208
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2209
  if test -f "$ac_dir/install-sh"; then
1284
2210
    ac_aux_dir=$ac_dir
1285
2211
    ac_install_sh="$ac_aux_dir/install-sh -c"
1286
2212
    break
1287
 
  elif test -f $ac_dir/install.sh; then
 
2213
  elif test -f "$ac_dir/install.sh"; then
1288
2214
    ac_aux_dir=$ac_dir
1289
2215
    ac_install_sh="$ac_aux_dir/install.sh -c"
1290
2216
    break
1291
 
  elif test -f $ac_dir/shtool; then
 
2217
  elif test -f "$ac_dir/shtool"; then
1292
2218
    ac_aux_dir=$ac_dir
1293
2219
    ac_install_sh="$ac_aux_dir/shtool install -c"
1294
2220
    break
1295
2221
  fi
1296
2222
done
1297
2223
if test -z "$ac_aux_dir"; then
1298
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1299
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1300
 
   { (exit 1); exit 1; }; }
 
2224
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1301
2225
fi
1302
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1303
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1304
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2226
 
 
2227
# These three variables are undocumented and unsupported,
 
2228
# and are intended to be withdrawn in a future Autoconf release.
 
2229
# They can cause serious problems if a builder's source tree is in a directory
 
2230
# whose full name contains unusual characters.
 
2231
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2232
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2233
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2234
 
1305
2235
 
1306
2236
# Make sure we can run config.sub.
1307
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
1308
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1309
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1310
 
   { (exit 1); exit 1; }; }
 
2237
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2238
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1311
2239
 
1312
 
echo "$as_me:$LINENO: checking build system type" >&5
1313
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
1314
 
if test "${ac_cv_build+set}" = set; then
1315
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2240
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
2241
$as_echo_n "checking build system type... " >&6; }
 
2242
if test "${ac_cv_build+set}" = set; then :
 
2243
  $as_echo_n "(cached) " >&6
1316
2244
else
1317
 
  ac_cv_build_alias=$build_alias
1318
 
test -z "$ac_cv_build_alias" &&
1319
 
  ac_cv_build_alias=`$ac_config_guess`
1320
 
test -z "$ac_cv_build_alias" &&
1321
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1322
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1323
 
   { (exit 1); exit 1; }; }
1324
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1325
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1326
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1327
 
   { (exit 1); exit 1; }; }
 
2245
  ac_build_alias=$build_alias
 
2246
test "x$ac_build_alias" = x &&
 
2247
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2248
test "x$ac_build_alias" = x &&
 
2249
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 
2250
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2251
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1328
2252
 
1329
2253
fi
1330
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1331
 
echo "${ECHO_T}$ac_cv_build" >&6
 
2254
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
2255
$as_echo "$ac_cv_build" >&6; }
 
2256
case $ac_cv_build in
 
2257
*-*-*) ;;
 
2258
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 
2259
esac
1332
2260
build=$ac_cv_build
1333
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1334
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1335
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1336
 
 
1337
 
 
1338
 
echo "$as_me:$LINENO: checking host system type" >&5
1339
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
1340
 
if test "${ac_cv_host+set}" = set; then
1341
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1342
 
else
1343
 
  ac_cv_host_alias=$host_alias
1344
 
test -z "$ac_cv_host_alias" &&
1345
 
  ac_cv_host_alias=$ac_cv_build_alias
1346
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1347
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1348
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1349
 
   { (exit 1); exit 1; }; }
1350
 
 
1351
 
fi
1352
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1353
 
echo "${ECHO_T}$ac_cv_host" >&6
 
2261
ac_save_IFS=$IFS; IFS='-'
 
2262
set x $ac_cv_build
 
2263
shift
 
2264
build_cpu=$1
 
2265
build_vendor=$2
 
2266
shift; shift
 
2267
# Remember, the first character of IFS is used to create $*,
 
2268
# except with old shells:
 
2269
build_os=$*
 
2270
IFS=$ac_save_IFS
 
2271
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2272
 
 
2273
 
 
2274
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
2275
$as_echo_n "checking host system type... " >&6; }
 
2276
if test "${ac_cv_host+set}" = set; then :
 
2277
  $as_echo_n "(cached) " >&6
 
2278
else
 
2279
  if test "x$host_alias" = x; then
 
2280
  ac_cv_host=$ac_cv_build
 
2281
else
 
2282
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2283
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
2284
fi
 
2285
 
 
2286
fi
 
2287
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
2288
$as_echo "$ac_cv_host" >&6; }
 
2289
case $ac_cv_host in
 
2290
*-*-*) ;;
 
2291
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 
2292
esac
1354
2293
host=$ac_cv_host
1355
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1356
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1357
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1358
 
 
1359
 
 
1360
 
echo "$as_me:$LINENO: checking target system type" >&5
1361
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6
1362
 
if test "${ac_cv_target+set}" = set; then
1363
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1364
 
else
1365
 
  ac_cv_target_alias=$target_alias
1366
 
test "x$ac_cv_target_alias" = "x" &&
1367
 
  ac_cv_target_alias=$ac_cv_host_alias
1368
 
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1369
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1370
 
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1371
 
   { (exit 1); exit 1; }; }
1372
 
 
1373
 
fi
1374
 
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1375
 
echo "${ECHO_T}$ac_cv_target" >&6
 
2294
ac_save_IFS=$IFS; IFS='-'
 
2295
set x $ac_cv_host
 
2296
shift
 
2297
host_cpu=$1
 
2298
host_vendor=$2
 
2299
shift; shift
 
2300
# Remember, the first character of IFS is used to create $*,
 
2301
# except with old shells:
 
2302
host_os=$*
 
2303
IFS=$ac_save_IFS
 
2304
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
2305
 
 
2306
 
 
2307
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 
2308
$as_echo_n "checking target system type... " >&6; }
 
2309
if test "${ac_cv_target+set}" = set; then :
 
2310
  $as_echo_n "(cached) " >&6
 
2311
else
 
2312
  if test "x$target_alias" = x; then
 
2313
  ac_cv_target=$ac_cv_host
 
2314
else
 
2315
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 
2316
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 
2317
fi
 
2318
 
 
2319
fi
 
2320
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
 
2321
$as_echo "$ac_cv_target" >&6; }
 
2322
case $ac_cv_target in
 
2323
*-*-*) ;;
 
2324
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
 
2325
esac
1376
2326
target=$ac_cv_target
1377
 
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1378
 
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1379
 
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
2327
ac_save_IFS=$IFS; IFS='-'
 
2328
set x $ac_cv_target
 
2329
shift
 
2330
target_cpu=$1
 
2331
target_vendor=$2
 
2332
shift; shift
 
2333
# Remember, the first character of IFS is used to create $*,
 
2334
# except with old shells:
 
2335
target_os=$*
 
2336
IFS=$ac_save_IFS
 
2337
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1380
2338
 
1381
2339
 
1382
2340
# The aliases save the names the user supplied, while $host etc.
1386
2344
    NONENONEs,x,x, &&
1387
2345
  program_prefix=${target_alias}-
1388
2346
 
1389
 
# Add the stamp file to the list of files AC keeps track of,
1390
 
# along with our hook.
1391
 
          ac_config_headers="$ac_config_headers config.h"
1392
 
 
1393
 
 
1394
 
 
1395
 
am__api_version="1.6"
 
2347
am__api_version='1.11'
 
2348
 
1396
2349
# Find a good install program.  We prefer a C program (faster),
1397
2350
# so one script is as good as another.  But avoid the broken or
1398
2351
# incompatible versions:
1404
2357
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1405
2358
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1406
2359
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2360
# OS/2's system install, which has a completely different semantic
1407
2361
# ./install, which can be erroneously created by make from ./install.sh.
1408
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1409
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2362
# Reject install programs that cannot install multiple files.
 
2363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2364
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1410
2365
if test -z "$INSTALL"; then
1411
 
if test "${ac_cv_path_install+set}" = set; then
1412
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2366
if test "${ac_cv_path_install+set}" = set; then :
 
2367
  $as_echo_n "(cached) " >&6
1413
2368
else
1414
2369
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1415
2370
for as_dir in $PATH
1416
2371
do
1417
2372
  IFS=$as_save_IFS
1418
2373
  test -z "$as_dir" && as_dir=.
1419
 
  # Account for people who put trailing slashes in PATH elements.
1420
 
case $as_dir/ in
1421
 
  ./ | .// | /cC/* | \
 
2374
    # Account for people who put trailing slashes in PATH elements.
 
2375
case $as_dir/ in #((
 
2376
  ./ | .// | /[cC]/* | \
1422
2377
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2378
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1423
2379
  /usr/ucb/* ) ;;
1424
2380
  *)
1425
2381
    # OSF1 and SCO ODT 3.0 have their own names for install.
1427
2383
    # by default.
1428
2384
    for ac_prog in ginstall scoinst install; do
1429
2385
      for ac_exec_ext in '' $ac_executable_extensions; do
1430
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1431
 
          if test $ac_prog = install &&
1432
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1433
 
            # AIX install.  It has an incompatible calling convention.
1434
 
            :
1435
 
          elif test $ac_prog = install &&
1436
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1437
 
            # program-specific install script used by HP pwplus--don't use.
1438
 
            :
1439
 
          else
1440
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1441
 
            break 3
1442
 
          fi
1443
 
        fi
 
2386
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2387
          if test $ac_prog = install &&
 
2388
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2389
            # AIX install.  It has an incompatible calling convention.
 
2390
            :
 
2391
          elif test $ac_prog = install &&
 
2392
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2393
            # program-specific install script used by HP pwplus--don't use.
 
2394
            :
 
2395
          else
 
2396
            rm -rf conftest.one conftest.two conftest.dir
 
2397
            echo one > conftest.one
 
2398
            echo two > conftest.two
 
2399
            mkdir conftest.dir
 
2400
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2401
              test -s conftest.one && test -s conftest.two &&
 
2402
              test -s conftest.dir/conftest.one &&
 
2403
              test -s conftest.dir/conftest.two
 
2404
            then
 
2405
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2406
              break 3
 
2407
            fi
 
2408
          fi
 
2409
        fi
1444
2410
      done
1445
2411
    done
1446
2412
    ;;
1447
2413
esac
1448
 
done
1449
 
 
 
2414
 
 
2415
  done
 
2416
IFS=$as_save_IFS
 
2417
 
 
2418
rm -rf conftest.one conftest.two conftest.dir
1450
2419
 
1451
2420
fi
1452
2421
  if test "${ac_cv_path_install+set}" = set; then
1453
2422
    INSTALL=$ac_cv_path_install
1454
2423
  else
1455
 
    # As a last resort, use the slow shell script.  We don't cache a
1456
 
    # path for INSTALL within a source directory, because that will
 
2424
    # As a last resort, use the slow shell script.  Don't cache a
 
2425
    # value for INSTALL within a source directory, because that will
1457
2426
    # break other packages using the cache if that directory is
1458
 
    # removed, or if the path is relative.
 
2427
    # removed, or if the value is a relative name.
1459
2428
    INSTALL=$ac_install_sh
1460
2429
  fi
1461
2430
fi
1462
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1463
 
echo "${ECHO_T}$INSTALL" >&6
 
2431
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2432
$as_echo "$INSTALL" >&6; }
1464
2433
 
1465
2434
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1466
2435
# It thinks the first close brace ends the variable substitution.
1470
2439
 
1471
2440
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1472
2441
 
1473
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1474
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2442
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2443
$as_echo_n "checking whether build environment is sane... " >&6; }
1475
2444
# Just in case
1476
2445
sleep 1
1477
2446
echo timestamp > conftest.file
 
2447
# Reject unsafe characters in $srcdir or the absolute working directory
 
2448
# name.  Accept space and tab only in the latter.
 
2449
am_lf='
 
2450
'
 
2451
case `pwd` in
 
2452
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2453
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 
2454
esac
 
2455
case $srcdir in
 
2456
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2457
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 
2458
esac
 
2459
 
1478
2460
# Do `set' in a subshell so we don't clobber the current shell's
1479
2461
# arguments.  Must try -L first in case configure is actually a
1480
2462
# symlink; some systems play weird games with the mod time of symlinks
1481
2463
# (eg FreeBSD returns the mod time of the symlink's containing
1482
2464
# directory).
1483
2465
if (
1484
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2466
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1485
2467
   if test "$*" = "X"; then
1486
2468
      # -L didn't work.
1487
 
      set X `ls -t $srcdir/configure conftest.file`
 
2469
      set X `ls -t "$srcdir/configure" conftest.file`
1488
2470
   fi
1489
2471
   rm -f conftest.file
1490
2472
   if test "$*" != "X $srcdir/configure conftest.file" \
1494
2476
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1495
2477
      # broken ls alias from the environment.  This has actually
1496
2478
      # happened.  Such a system could not be considered "sane".
1497
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1498
 
alias in your environment" >&5
1499
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1500
 
alias in your environment" >&2;}
1501
 
   { (exit 1); exit 1; }; }
 
2479
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2480
alias in your environment" "$LINENO" 5
1502
2481
   fi
1503
2482
 
1504
2483
   test "$2" = conftest.file
1507
2486
   # Ok.
1508
2487
   :
1509
2488
else
1510
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1511
 
Check your system clock" >&5
1512
 
echo "$as_me: error: newly created file is older than distributed files!
1513
 
Check your system clock" >&2;}
1514
 
   { (exit 1); exit 1; }; }
 
2489
   as_fn_error $? "newly created file is older than distributed files!
 
2490
Check your system clock" "$LINENO" 5
1515
2491
fi
1516
 
echo "$as_me:$LINENO: result: yes" >&5
1517
 
echo "${ECHO_T}yes" >&6
 
2492
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2493
$as_echo "yes" >&6; }
1518
2494
test "$program_prefix" != NONE &&
1519
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2495
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1520
2496
# Use a double $ so make ignores it.
1521
2497
test "$program_suffix" != NONE &&
1522
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1523
 
# Double any \ or $.  echo might interpret backslashes.
 
2498
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2499
# Double any \ or $.
1524
2500
# By default was `s,x,x', remove it if useless.
1525
 
cat <<\_ACEOF >conftest.sed
1526
 
s/[\\$]/&&/g;s/;s,x,x,$//
1527
 
_ACEOF
1528
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1529
 
rm conftest.sed
1530
 
 
 
2501
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2502
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1531
2503
 
1532
2504
# expand $ac_aux_dir to an absolute path
1533
2505
am_aux_dir=`cd $ac_aux_dir && pwd`
1534
2506
 
1535
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2507
if test x"${MISSING+set}" != xset; then
 
2508
  case $am_aux_dir in
 
2509
  *\ * | *\     *)
 
2510
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2511
  *)
 
2512
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2513
  esac
 
2514
fi
1536
2515
# Use eval to expand $SHELL
1537
2516
if eval "$MISSING --run true"; then
1538
2517
  am_missing_run="$MISSING --run "
1539
2518
else
1540
2519
  am_missing_run=
1541
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1542
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1543
 
fi
 
2520
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2521
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2522
fi
 
2523
 
 
2524
if test x"${install_sh}" != xset; then
 
2525
  case $am_aux_dir in
 
2526
  *\ * | *\     *)
 
2527
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2528
  *)
 
2529
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2530
  esac
 
2531
fi
 
2532
 
 
2533
# Installed binaries are usually stripped using `strip' when the user
 
2534
# run `make install-strip'.  However `strip' might not be the right
 
2535
# tool to use in cross-compilation environments, therefore Automake
 
2536
# will honor the `STRIP' environment variable to overrule this program.
 
2537
if test "$cross_compiling" != no; then
 
2538
  if test -n "$ac_tool_prefix"; then
 
2539
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2540
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2541
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2542
$as_echo_n "checking for $ac_word... " >&6; }
 
2543
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2544
  $as_echo_n "(cached) " >&6
 
2545
else
 
2546
  if test -n "$STRIP"; then
 
2547
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2548
else
 
2549
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2550
for as_dir in $PATH
 
2551
do
 
2552
  IFS=$as_save_IFS
 
2553
  test -z "$as_dir" && as_dir=.
 
2554
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2555
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2556
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2557
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2558
    break 2
 
2559
  fi
 
2560
done
 
2561
  done
 
2562
IFS=$as_save_IFS
 
2563
 
 
2564
fi
 
2565
fi
 
2566
STRIP=$ac_cv_prog_STRIP
 
2567
if test -n "$STRIP"; then
 
2568
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2569
$as_echo "$STRIP" >&6; }
 
2570
else
 
2571
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2572
$as_echo "no" >&6; }
 
2573
fi
 
2574
 
 
2575
 
 
2576
fi
 
2577
if test -z "$ac_cv_prog_STRIP"; then
 
2578
  ac_ct_STRIP=$STRIP
 
2579
  # Extract the first word of "strip", so it can be a program name with args.
 
2580
set dummy strip; ac_word=$2
 
2581
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2582
$as_echo_n "checking for $ac_word... " >&6; }
 
2583
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2584
  $as_echo_n "(cached) " >&6
 
2585
else
 
2586
  if test -n "$ac_ct_STRIP"; then
 
2587
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2588
else
 
2589
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2590
for as_dir in $PATH
 
2591
do
 
2592
  IFS=$as_save_IFS
 
2593
  test -z "$as_dir" && as_dir=.
 
2594
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2595
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2596
    ac_cv_prog_ac_ct_STRIP="strip"
 
2597
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2598
    break 2
 
2599
  fi
 
2600
done
 
2601
  done
 
2602
IFS=$as_save_IFS
 
2603
 
 
2604
fi
 
2605
fi
 
2606
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2607
if test -n "$ac_ct_STRIP"; then
 
2608
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2609
$as_echo "$ac_ct_STRIP" >&6; }
 
2610
else
 
2611
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2612
$as_echo "no" >&6; }
 
2613
fi
 
2614
 
 
2615
  if test "x$ac_ct_STRIP" = x; then
 
2616
    STRIP=":"
 
2617
  else
 
2618
    case $cross_compiling:$ac_tool_warned in
 
2619
yes:)
 
2620
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2621
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2622
ac_tool_warned=yes ;;
 
2623
esac
 
2624
    STRIP=$ac_ct_STRIP
 
2625
  fi
 
2626
else
 
2627
  STRIP="$ac_cv_prog_STRIP"
 
2628
fi
 
2629
 
 
2630
fi
 
2631
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2632
 
 
2633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2634
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2635
if test -z "$MKDIR_P"; then
 
2636
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2637
  $as_echo_n "(cached) " >&6
 
2638
else
 
2639
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2640
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2641
do
 
2642
  IFS=$as_save_IFS
 
2643
  test -z "$as_dir" && as_dir=.
 
2644
    for ac_prog in mkdir gmkdir; do
 
2645
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2646
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2647
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2648
             'mkdir (GNU coreutils) '* | \
 
2649
             'mkdir (coreutils) '* | \
 
2650
             'mkdir (fileutils) '4.1*)
 
2651
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2652
               break 3;;
 
2653
           esac
 
2654
         done
 
2655
       done
 
2656
  done
 
2657
IFS=$as_save_IFS
 
2658
 
 
2659
fi
 
2660
 
 
2661
  test -d ./--version && rmdir ./--version
 
2662
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2663
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2664
  else
 
2665
    # As a last resort, use the slow shell script.  Don't cache a
 
2666
    # value for MKDIR_P within a source directory, because that will
 
2667
    # break other packages using the cache if that directory is
 
2668
    # removed, or if the value is a relative name.
 
2669
    MKDIR_P="$ac_install_sh -d"
 
2670
  fi
 
2671
fi
 
2672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2673
$as_echo "$MKDIR_P" >&6; }
 
2674
 
 
2675
mkdir_p="$MKDIR_P"
 
2676
case $mkdir_p in
 
2677
  [\\/$]* | ?:[\\/]*) ;;
 
2678
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2679
esac
1544
2680
 
1545
2681
for ac_prog in gawk mawk nawk awk
1546
2682
do
1547
2683
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1548
2684
set dummy $ac_prog; ac_word=$2
1549
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1550
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1551
 
if test "${ac_cv_prog_AWK+set}" = set; then
1552
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2685
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2686
$as_echo_n "checking for $ac_word... " >&6; }
 
2687
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2688
  $as_echo_n "(cached) " >&6
1553
2689
else
1554
2690
  if test -n "$AWK"; then
1555
2691
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1559
2695
do
1560
2696
  IFS=$as_save_IFS
1561
2697
  test -z "$as_dir" && as_dir=.
1562
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1563
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2698
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2699
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1564
2700
    ac_cv_prog_AWK="$ac_prog"
1565
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2701
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1566
2702
    break 2
1567
2703
  fi
1568
2704
done
1569
 
done
 
2705
  done
 
2706
IFS=$as_save_IFS
1570
2707
 
1571
2708
fi
1572
2709
fi
1573
2710
AWK=$ac_cv_prog_AWK
1574
2711
if test -n "$AWK"; then
1575
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1576
 
echo "${ECHO_T}$AWK" >&6
 
2712
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2713
$as_echo "$AWK" >&6; }
1577
2714
else
1578
 
  echo "$as_me:$LINENO: result: no" >&5
1579
 
echo "${ECHO_T}no" >&6
 
2715
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2716
$as_echo "no" >&6; }
1580
2717
fi
1581
2718
 
 
2719
 
1582
2720
  test -n "$AWK" && break
1583
2721
done
1584
2722
 
1585
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1586
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1587
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1588
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1589
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2723
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2724
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2725
set x ${MAKE-make}
 
2726
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2727
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
2728
  $as_echo_n "(cached) " >&6
1590
2729
else
1591
2730
  cat >conftest.make <<\_ACEOF
 
2731
SHELL = /bin/sh
1592
2732
all:
1593
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2733
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1594
2734
_ACEOF
1595
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1596
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1597
 
if test -n "$ac_maketemp"; then
1598
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1599
 
else
1600
 
  eval ac_cv_prog_make_${ac_make}_set=no
1601
 
fi
 
2735
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
2736
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2737
  *@@@%%%=?*=@@@%%%*)
 
2738
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2739
  *)
 
2740
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2741
esac
1602
2742
rm -f conftest.make
1603
2743
fi
1604
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1605
 
  echo "$as_me:$LINENO: result: yes" >&5
1606
 
echo "${ECHO_T}yes" >&6
 
2744
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2745
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2746
$as_echo "yes" >&6; }
1607
2747
  SET_MAKE=
1608
2748
else
1609
 
  echo "$as_me:$LINENO: result: no" >&5
1610
 
echo "${ECHO_T}no" >&6
 
2749
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2750
$as_echo "no" >&6; }
1611
2751
  SET_MAKE="MAKE=${MAKE-make}"
1612
2752
fi
1613
2753
 
1614
 
 # test to see if srcdir already configured
1615
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1616
 
   test -f $srcdir/config.status; then
1617
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1618
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1619
 
   { (exit 1); exit 1; }; }
1620
 
fi
 
2754
rm -rf .tst 2>/dev/null
 
2755
mkdir .tst 2>/dev/null
 
2756
if test -d .tst; then
 
2757
  am__leading_dot=.
 
2758
else
 
2759
  am__leading_dot=_
 
2760
fi
 
2761
rmdir .tst 2>/dev/null
 
2762
 
 
2763
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2764
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2765
  # is not polluted with repeated "-I."
 
2766
  am__isrc=' -I$(srcdir)'
 
2767
  # test to see if srcdir already configured
 
2768
  if test -f $srcdir/config.status; then
 
2769
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2770
  fi
 
2771
fi
 
2772
 
 
2773
# test whether we have cygpath
 
2774
if test -z "$CYGPATH_W"; then
 
2775
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
2776
    CYGPATH_W='cygpath -w'
 
2777
  else
 
2778
    CYGPATH_W=echo
 
2779
  fi
 
2780
fi
 
2781
 
1621
2782
 
1622
2783
# Define the identity of the package.
1623
2784
 PACKAGE=gtkboard
1649
2810
 
1650
2811
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1651
2812
 
1652
 
 
1653
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
1654
 
 
1655
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1656
 
 
1657
 
# Installed binaries are usually stripped using `strip' when the user
1658
 
# run `make install-strip'.  However `strip' might not be the right
1659
 
# tool to use in cross-compilation environments, therefore Automake
1660
 
# will honor the `STRIP' environment variable to overrule this program.
1661
 
if test "$cross_compiling" != no; then
1662
 
  if test -n "$ac_tool_prefix"; then
1663
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1664
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
1665
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1666
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1667
 
if test "${ac_cv_prog_STRIP+set}" = set; then
1668
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1669
 
else
1670
 
  if test -n "$STRIP"; then
1671
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1672
 
else
1673
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1674
 
for as_dir in $PATH
1675
 
do
1676
 
  IFS=$as_save_IFS
1677
 
  test -z "$as_dir" && as_dir=.
1678
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1679
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1680
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1681
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1682
 
    break 2
1683
 
  fi
1684
 
done
1685
 
done
1686
 
 
1687
 
fi
1688
 
fi
1689
 
STRIP=$ac_cv_prog_STRIP
1690
 
if test -n "$STRIP"; then
1691
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1692
 
echo "${ECHO_T}$STRIP" >&6
1693
 
else
1694
 
  echo "$as_me:$LINENO: result: no" >&5
1695
 
echo "${ECHO_T}no" >&6
1696
 
fi
1697
 
 
1698
 
fi
1699
 
if test -z "$ac_cv_prog_STRIP"; then
1700
 
  ac_ct_STRIP=$STRIP
1701
 
  # Extract the first word of "strip", so it can be a program name with args.
1702
 
set dummy strip; ac_word=$2
1703
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1704
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1705
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1706
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1707
 
else
1708
 
  if test -n "$ac_ct_STRIP"; then
1709
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1710
 
else
1711
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1712
 
for as_dir in $PATH
1713
 
do
1714
 
  IFS=$as_save_IFS
1715
 
  test -z "$as_dir" && as_dir=.
1716
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1717
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1718
 
    ac_cv_prog_ac_ct_STRIP="strip"
1719
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1720
 
    break 2
1721
 
  fi
1722
 
done
1723
 
done
1724
 
 
1725
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1726
 
fi
1727
 
fi
1728
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1729
 
if test -n "$ac_ct_STRIP"; then
1730
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1731
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
1732
 
else
1733
 
  echo "$as_me:$LINENO: result: no" >&5
1734
 
echo "${ECHO_T}no" >&6
1735
 
fi
1736
 
 
1737
 
  STRIP=$ac_ct_STRIP
1738
 
else
1739
 
  STRIP="$ac_cv_prog_STRIP"
1740
 
fi
1741
 
 
1742
 
fi
1743
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1744
 
 
1745
2813
# We need awk for the "check" target.  The system "awk" is bad on
1746
2814
# some platforms.
1747
 
 
1748
 
 
1749
 
 
 
2815
# Always define AMTAR for backward compatibility.
 
2816
 
 
2817
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2818
 
 
2819
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2820
 
 
2821
 
 
2822
 
 
2823
 
 
2824
 
 
2825
 
 
2826
# Checks for programs.
1750
2827
ac_ext=c
1751
2828
ac_cpp='$CPP $CPPFLAGS'
1752
2829
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1755
2832
if test -n "$ac_tool_prefix"; then
1756
2833
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1757
2834
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1758
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1759
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1760
 
if test "${ac_cv_prog_CC+set}" = set; then
1761
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2835
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2836
$as_echo_n "checking for $ac_word... " >&6; }
 
2837
if test "${ac_cv_prog_CC+set}" = set; then :
 
2838
  $as_echo_n "(cached) " >&6
1762
2839
else
1763
2840
  if test -n "$CC"; then
1764
2841
  ac_cv_prog_CC="$CC" # Let the user override the test.
1768
2845
do
1769
2846
  IFS=$as_save_IFS
1770
2847
  test -z "$as_dir" && as_dir=.
1771
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1772
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2848
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2849
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1773
2850
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1774
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2851
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1775
2852
    break 2
1776
2853
  fi
1777
2854
done
1778
 
done
 
2855
  done
 
2856
IFS=$as_save_IFS
1779
2857
 
1780
2858
fi
1781
2859
fi
1782
2860
CC=$ac_cv_prog_CC
1783
2861
if test -n "$CC"; then
1784
 
  echo "$as_me:$LINENO: result: $CC" >&5
1785
 
echo "${ECHO_T}$CC" >&6
 
2862
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2863
$as_echo "$CC" >&6; }
1786
2864
else
1787
 
  echo "$as_me:$LINENO: result: no" >&5
1788
 
echo "${ECHO_T}no" >&6
 
2865
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2866
$as_echo "no" >&6; }
1789
2867
fi
 
2868
 
1790
2869
 
1791
2870
fi
1792
2871
if test -z "$ac_cv_prog_CC"; then
1793
2872
  ac_ct_CC=$CC
1794
2873
  # Extract the first word of "gcc", so it can be a program name with args.
1795
2874
set dummy gcc; ac_word=$2
1796
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1797
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1798
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1799
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2875
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2876
$as_echo_n "checking for $ac_word... " >&6; }
 
2877
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2878
  $as_echo_n "(cached) " >&6
1800
2879
else
1801
2880
  if test -n "$ac_ct_CC"; then
1802
2881
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1806
2885
do
1807
2886
  IFS=$as_save_IFS
1808
2887
  test -z "$as_dir" && as_dir=.
1809
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1810
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2888
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2889
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1811
2890
    ac_cv_prog_ac_ct_CC="gcc"
1812
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2891
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1813
2892
    break 2
1814
2893
  fi
1815
2894
done
1816
 
done
 
2895
  done
 
2896
IFS=$as_save_IFS
1817
2897
 
1818
2898
fi
1819
2899
fi
1820
2900
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1821
2901
if test -n "$ac_ct_CC"; then
1822
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1823
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2902
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
2903
$as_echo "$ac_ct_CC" >&6; }
1824
2904
else
1825
 
  echo "$as_me:$LINENO: result: no" >&5
1826
 
echo "${ECHO_T}no" >&6
 
2905
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2906
$as_echo "no" >&6; }
1827
2907
fi
1828
2908
 
1829
 
  CC=$ac_ct_CC
 
2909
  if test "x$ac_ct_CC" = x; then
 
2910
    CC=""
 
2911
  else
 
2912
    case $cross_compiling:$ac_tool_warned in
 
2913
yes:)
 
2914
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2915
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2916
ac_tool_warned=yes ;;
 
2917
esac
 
2918
    CC=$ac_ct_CC
 
2919
  fi
1830
2920
else
1831
2921
  CC="$ac_cv_prog_CC"
1832
2922
fi
1833
2923
 
1834
2924
if test -z "$CC"; then
1835
 
  if test -n "$ac_tool_prefix"; then
1836
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2925
          if test -n "$ac_tool_prefix"; then
 
2926
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1837
2927
set dummy ${ac_tool_prefix}cc; ac_word=$2
1838
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1839
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1840
 
if test "${ac_cv_prog_CC+set}" = set; then
1841
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2928
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2929
$as_echo_n "checking for $ac_word... " >&6; }
 
2930
if test "${ac_cv_prog_CC+set}" = set; then :
 
2931
  $as_echo_n "(cached) " >&6
1842
2932
else
1843
2933
  if test -n "$CC"; then
1844
2934
  ac_cv_prog_CC="$CC" # Let the user override the test.
1848
2938
do
1849
2939
  IFS=$as_save_IFS
1850
2940
  test -z "$as_dir" && as_dir=.
1851
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1852
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2941
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2942
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1853
2943
    ac_cv_prog_CC="${ac_tool_prefix}cc"
1854
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2944
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1855
2945
    break 2
1856
2946
  fi
1857
2947
done
1858
 
done
 
2948
  done
 
2949
IFS=$as_save_IFS
1859
2950
 
1860
2951
fi
1861
2952
fi
1862
2953
CC=$ac_cv_prog_CC
1863
2954
if test -n "$CC"; then
1864
 
  echo "$as_me:$LINENO: result: $CC" >&5
1865
 
echo "${ECHO_T}$CC" >&6
1866
 
else
1867
 
  echo "$as_me:$LINENO: result: no" >&5
1868
 
echo "${ECHO_T}no" >&6
1869
 
fi
1870
 
 
1871
 
fi
1872
 
if test -z "$ac_cv_prog_CC"; then
1873
 
  ac_ct_CC=$CC
1874
 
  # Extract the first word of "cc", so it can be a program name with args.
1875
 
set dummy cc; ac_word=$2
1876
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1877
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1878
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1879
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1880
 
else
1881
 
  if test -n "$ac_ct_CC"; then
1882
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1883
 
else
1884
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1885
 
for as_dir in $PATH
1886
 
do
1887
 
  IFS=$as_save_IFS
1888
 
  test -z "$as_dir" && as_dir=.
1889
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1890
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1891
 
    ac_cv_prog_ac_ct_CC="cc"
1892
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1893
 
    break 2
 
2955
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2956
$as_echo "$CC" >&6; }
 
2957
else
 
2958
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2959
$as_echo "no" >&6; }
 
2960
fi
 
2961
 
 
2962
 
1894
2963
  fi
1895
 
done
1896
 
done
1897
 
 
1898
 
fi
1899
 
fi
1900
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1901
 
if test -n "$ac_ct_CC"; then
1902
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1903
 
echo "${ECHO_T}$ac_ct_CC" >&6
1904
 
else
1905
 
  echo "$as_me:$LINENO: result: no" >&5
1906
 
echo "${ECHO_T}no" >&6
1907
 
fi
1908
 
 
1909
 
  CC=$ac_ct_CC
1910
 
else
1911
 
  CC="$ac_cv_prog_CC"
1912
 
fi
1913
 
 
1914
2964
fi
1915
2965
if test -z "$CC"; then
1916
2966
  # Extract the first word of "cc", so it can be a program name with args.
1917
2967
set dummy cc; ac_word=$2
1918
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1919
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1920
 
if test "${ac_cv_prog_CC+set}" = set; then
1921
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2968
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2969
$as_echo_n "checking for $ac_word... " >&6; }
 
2970
if test "${ac_cv_prog_CC+set}" = set; then :
 
2971
  $as_echo_n "(cached) " >&6
1922
2972
else
1923
2973
  if test -n "$CC"; then
1924
2974
  ac_cv_prog_CC="$CC" # Let the user override the test.
1929
2979
do
1930
2980
  IFS=$as_save_IFS
1931
2981
  test -z "$as_dir" && as_dir=.
1932
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1933
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2982
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2983
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1934
2984
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1935
2985
       ac_prog_rejected=yes
1936
2986
       continue
1937
2987
     fi
1938
2988
    ac_cv_prog_CC="cc"
1939
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2989
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1940
2990
    break 2
1941
2991
  fi
1942
2992
done
1943
 
done
 
2993
  done
 
2994
IFS=$as_save_IFS
1944
2995
 
1945
2996
if test $ac_prog_rejected = yes; then
1946
2997
  # We found a bogon in the path, so make sure we never use it.
1958
3009
fi
1959
3010
CC=$ac_cv_prog_CC
1960
3011
if test -n "$CC"; then
1961
 
  echo "$as_me:$LINENO: result: $CC" >&5
1962
 
echo "${ECHO_T}$CC" >&6
 
3012
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3013
$as_echo "$CC" >&6; }
1963
3014
else
1964
 
  echo "$as_me:$LINENO: result: no" >&5
1965
 
echo "${ECHO_T}no" >&6
 
3015
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3016
$as_echo "no" >&6; }
1966
3017
fi
 
3018
 
1967
3019
 
1968
3020
fi
1969
3021
if test -z "$CC"; then
1970
3022
  if test -n "$ac_tool_prefix"; then
1971
 
  for ac_prog in cl
 
3023
  for ac_prog in cl.exe
1972
3024
  do
1973
3025
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1974
3026
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1975
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1976
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1977
 
if test "${ac_cv_prog_CC+set}" = set; then
1978
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3027
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3028
$as_echo_n "checking for $ac_word... " >&6; }
 
3029
if test "${ac_cv_prog_CC+set}" = set; then :
 
3030
  $as_echo_n "(cached) " >&6
1979
3031
else
1980
3032
  if test -n "$CC"; then
1981
3033
  ac_cv_prog_CC="$CC" # Let the user override the test.
1985
3037
do
1986
3038
  IFS=$as_save_IFS
1987
3039
  test -z "$as_dir" && as_dir=.
1988
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1989
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3040
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3041
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1990
3042
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1991
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3043
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1992
3044
    break 2
1993
3045
  fi
1994
3046
done
1995
 
done
 
3047
  done
 
3048
IFS=$as_save_IFS
1996
3049
 
1997
3050
fi
1998
3051
fi
1999
3052
CC=$ac_cv_prog_CC
2000
3053
if test -n "$CC"; then
2001
 
  echo "$as_me:$LINENO: result: $CC" >&5
2002
 
echo "${ECHO_T}$CC" >&6
 
3054
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3055
$as_echo "$CC" >&6; }
2003
3056
else
2004
 
  echo "$as_me:$LINENO: result: no" >&5
2005
 
echo "${ECHO_T}no" >&6
 
3057
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3058
$as_echo "no" >&6; }
2006
3059
fi
2007
3060
 
 
3061
 
2008
3062
    test -n "$CC" && break
2009
3063
  done
2010
3064
fi
2011
3065
if test -z "$CC"; then
2012
3066
  ac_ct_CC=$CC
2013
 
  for ac_prog in cl
 
3067
  for ac_prog in cl.exe
2014
3068
do
2015
3069
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2016
3070
set dummy $ac_prog; ac_word=$2
2017
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2018
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2019
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2020
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3071
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3072
$as_echo_n "checking for $ac_word... " >&6; }
 
3073
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3074
  $as_echo_n "(cached) " >&6
2021
3075
else
2022
3076
  if test -n "$ac_ct_CC"; then
2023
3077
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2027
3081
do
2028
3082
  IFS=$as_save_IFS
2029
3083
  test -z "$as_dir" && as_dir=.
2030
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2031
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3084
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3085
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2032
3086
    ac_cv_prog_ac_ct_CC="$ac_prog"
2033
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3087
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2034
3088
    break 2
2035
3089
  fi
2036
3090
done
2037
 
done
 
3091
  done
 
3092
IFS=$as_save_IFS
2038
3093
 
2039
3094
fi
2040
3095
fi
2041
3096
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2042
3097
if test -n "$ac_ct_CC"; then
2043
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2044
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
3098
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3099
$as_echo "$ac_ct_CC" >&6; }
2045
3100
else
2046
 
  echo "$as_me:$LINENO: result: no" >&5
2047
 
echo "${ECHO_T}no" >&6
 
3101
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3102
$as_echo "no" >&6; }
2048
3103
fi
2049
3104
 
 
3105
 
2050
3106
  test -n "$ac_ct_CC" && break
2051
3107
done
2052
3108
 
2053
 
  CC=$ac_ct_CC
2054
 
fi
2055
 
 
2056
 
fi
2057
 
 
2058
 
 
2059
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2060
 
See \`config.log' for more details." >&5
2061
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
2062
 
See \`config.log' for more details." >&2;}
2063
 
   { (exit 1); exit 1; }; }
 
3109
  if test "x$ac_ct_CC" = x; then
 
3110
    CC=""
 
3111
  else
 
3112
    case $cross_compiling:$ac_tool_warned in
 
3113
yes:)
 
3114
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3115
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3116
ac_tool_warned=yes ;;
 
3117
esac
 
3118
    CC=$ac_ct_CC
 
3119
  fi
 
3120
fi
 
3121
 
 
3122
fi
 
3123
 
 
3124
 
 
3125
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3126
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3127
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3128
See \`config.log' for more details" "$LINENO" 5 ; }
2064
3129
 
2065
3130
# Provide some information about the compiler.
2066
 
echo "$as_me:$LINENO:" \
2067
 
     "checking for C compiler version" >&5
2068
 
ac_compiler=`set X $ac_compile; echo $2`
2069
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2070
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2071
 
  ac_status=$?
2072
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2073
 
  (exit $ac_status); }
2074
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2075
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2076
 
  ac_status=$?
2077
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2078
 
  (exit $ac_status); }
2079
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2080
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
2081
 
  ac_status=$?
2082
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083
 
  (exit $ac_status); }
 
3131
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3132
set X $ac_compile
 
3133
ac_compiler=$2
 
3134
for ac_option in --version -v -V -qversion; do
 
3135
  { { ac_try="$ac_compiler $ac_option >&5"
 
3136
case "(($ac_try" in
 
3137
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3138
  *) ac_try_echo=$ac_try;;
 
3139
esac
 
3140
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3141
$as_echo "$ac_try_echo"; } >&5
 
3142
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3143
  ac_status=$?
 
3144
  if test -s conftest.err; then
 
3145
    sed '10a\
 
3146
... rest of stderr output deleted ...
 
3147
         10q' conftest.err >conftest.er1
 
3148
    cat conftest.er1 >&5
 
3149
  fi
 
3150
  rm -f conftest.er1 conftest.err
 
3151
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3152
  test $ac_status = 0; }
 
3153
done
2084
3154
 
2085
 
cat >conftest.$ac_ext <<_ACEOF
2086
 
#line $LINENO "configure"
2087
 
/* confdefs.h.  */
2088
 
_ACEOF
2089
 
cat confdefs.h >>conftest.$ac_ext
2090
 
cat >>conftest.$ac_ext <<_ACEOF
 
3155
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2091
3156
/* end confdefs.h.  */
2092
3157
 
2093
3158
int
2099
3164
}
2100
3165
_ACEOF
2101
3166
ac_clean_files_save=$ac_clean_files
2102
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3167
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2103
3168
# Try to create an executable without -o first, disregard a.out.
2104
3169
# It will help us diagnose broken compilers, and finding out an intuition
2105
3170
# of exeext.
2106
 
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2107
 
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2108
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2109
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2110
 
  (eval $ac_link_default) 2>&5
 
3171
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3172
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3173
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3174
 
 
3175
# The possible output files:
 
3176
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3177
 
 
3178
ac_rmfiles=
 
3179
for ac_file in $ac_files
 
3180
do
 
3181
  case $ac_file in
 
3182
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3183
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3184
  esac
 
3185
done
 
3186
rm -f $ac_rmfiles
 
3187
 
 
3188
if { { ac_try="$ac_link_default"
 
3189
case "(($ac_try" in
 
3190
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3191
  *) ac_try_echo=$ac_try;;
 
3192
esac
 
3193
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3194
$as_echo "$ac_try_echo"; } >&5
 
3195
  (eval "$ac_link_default") 2>&5
2111
3196
  ac_status=$?
2112
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113
 
  (exit $ac_status); }; then
2114
 
  # Find the output, starting from the most likely.  This scheme is
2115
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2116
 
# resort.
2117
 
 
2118
 
# Be careful to initialize this variable, since it used to be cached.
2119
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2120
 
ac_cv_exeext=
2121
 
# b.out is created by i960 compilers.
2122
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
3197
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3198
  test $ac_status = 0; }; then :
 
3199
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3200
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3201
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3202
# so that the user can short-circuit this test for compilers unknown to
 
3203
# Autoconf.
 
3204
for ac_file in $ac_files ''
2123
3205
do
2124
3206
  test -f "$ac_file" || continue
2125
3207
  case $ac_file in
2126
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2127
 
        ;;
2128
 
    conftest.$ac_ext )
2129
 
        # This is the source file.
2130
 
        ;;
 
3208
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
3209
        ;;
2131
3210
    [ab].out )
2132
 
        # We found the default executable, but exeext='' is most
2133
 
        # certainly right.
2134
 
        break;;
 
3211
        # We found the default executable, but exeext='' is most
 
3212
        # certainly right.
 
3213
        break;;
2135
3214
    *.* )
2136
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2137
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2138
 
        # but it would be cool to find out if it's true.  Does anybody
2139
 
        # maintain Libtool? --akim.
2140
 
        export ac_cv_exeext
2141
 
        break;;
 
3215
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3216
        then :; else
 
3217
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3218
        fi
 
3219
        # We set ac_cv_exeext here because the later test for it is not
 
3220
        # safe: cross compilers may not add the suffix if given an `-o'
 
3221
        # argument, so we may need to know it at that point already.
 
3222
        # Even if this section looks crufty: it has the advantage of
 
3223
        # actually working.
 
3224
        break;;
2142
3225
    * )
2143
 
        break;;
 
3226
        break;;
2144
3227
  esac
2145
3228
done
 
3229
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3230
 
2146
3231
else
2147
 
  echo "$as_me: failed program was:" >&5
 
3232
  ac_file=''
 
3233
fi
 
3234
if test -z "$ac_file"; then :
 
3235
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3236
$as_echo "no" >&6; }
 
3237
$as_echo "$as_me: failed program was:" >&5
2148
3238
sed 's/^/| /' conftest.$ac_ext >&5
2149
3239
 
2150
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2151
 
See \`config.log' for more details." >&5
2152
 
echo "$as_me: error: C compiler cannot create executables
2153
 
See \`config.log' for more details." >&2;}
2154
 
   { (exit 77); exit 77; }; }
 
3240
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3241
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3242
as_fn_error 77 "C compiler cannot create executables
 
3243
See \`config.log' for more details" "$LINENO" 5 ; }
 
3244
else
 
3245
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3246
$as_echo "yes" >&6; }
2155
3247
fi
2156
 
 
 
3248
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3249
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3250
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3251
$as_echo "$ac_file" >&6; }
2157
3252
ac_exeext=$ac_cv_exeext
2158
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2159
 
echo "${ECHO_T}$ac_file" >&6
2160
 
 
2161
 
# Check the compiler produces executables we can run.  If not, either
2162
 
# the compiler is broken, or we cross compile.
2163
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2164
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2165
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2166
 
# If not cross compiling, check that we can run a simple program.
2167
 
if test "$cross_compiling" != yes; then
2168
 
  if { ac_try='./$ac_file'
2169
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2170
 
  (eval $ac_try) 2>&5
2171
 
  ac_status=$?
2172
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2173
 
  (exit $ac_status); }; }; then
2174
 
    cross_compiling=no
2175
 
  else
2176
 
    if test "$cross_compiling" = maybe; then
2177
 
        cross_compiling=yes
2178
 
    else
2179
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2180
 
If you meant to cross compile, use \`--host'.
2181
 
See \`config.log' for more details." >&5
2182
 
echo "$as_me: error: cannot run C compiled programs.
2183
 
If you meant to cross compile, use \`--host'.
2184
 
See \`config.log' for more details." >&2;}
2185
 
   { (exit 1); exit 1; }; }
2186
 
    fi
2187
 
  fi
2188
 
fi
2189
 
echo "$as_me:$LINENO: result: yes" >&5
2190
 
echo "${ECHO_T}yes" >&6
2191
 
 
2192
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3253
 
 
3254
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2193
3255
ac_clean_files=$ac_clean_files_save
2194
 
# Check the compiler produces executables we can run.  If not, either
2195
 
# the compiler is broken, or we cross compile.
2196
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2197
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2198
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2199
 
echo "${ECHO_T}$cross_compiling" >&6
2200
 
 
2201
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2202
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2203
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2204
 
  (eval $ac_link) 2>&5
 
3256
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3257
$as_echo_n "checking for suffix of executables... " >&6; }
 
3258
if { { ac_try="$ac_link"
 
3259
case "(($ac_try" in
 
3260
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3261
  *) ac_try_echo=$ac_try;;
 
3262
esac
 
3263
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3264
$as_echo "$ac_try_echo"; } >&5
 
3265
  (eval "$ac_link") 2>&5
2205
3266
  ac_status=$?
2206
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2207
 
  (exit $ac_status); }; then
 
3267
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3268
  test $ac_status = 0; }; then :
2208
3269
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2209
3270
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2210
3271
# work properly (i.e., refer to `conftest.exe'), while it won't with
2212
3273
for ac_file in conftest.exe conftest conftest.*; do
2213
3274
  test -f "$ac_file" || continue
2214
3275
  case $ac_file in
2215
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3276
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2216
3277
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2217
 
          export ac_cv_exeext
2218
 
          break;;
 
3278
          break;;
2219
3279
    * ) break;;
2220
3280
  esac
2221
3281
done
2222
3282
else
2223
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2224
 
See \`config.log' for more details." >&5
2225
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2226
 
See \`config.log' for more details." >&2;}
2227
 
   { (exit 1); exit 1; }; }
 
3283
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3284
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3285
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3286
See \`config.log' for more details" "$LINENO" 5 ; }
2228
3287
fi
2229
 
 
2230
 
rm -f conftest$ac_cv_exeext
2231
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2232
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3288
rm -f conftest conftest$ac_cv_exeext
 
3289
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3290
$as_echo "$ac_cv_exeext" >&6; }
2233
3291
 
2234
3292
rm -f conftest.$ac_ext
2235
3293
EXEEXT=$ac_cv_exeext
2236
3294
ac_exeext=$EXEEXT
2237
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2238
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2239
 
if test "${ac_cv_objext+set}" = set; then
2240
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3295
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3296
/* end confdefs.h.  */
 
3297
#include <stdio.h>
 
3298
int
 
3299
main ()
 
3300
{
 
3301
FILE *f = fopen ("conftest.out", "w");
 
3302
 return ferror (f) || fclose (f) != 0;
 
3303
 
 
3304
  ;
 
3305
  return 0;
 
3306
}
 
3307
_ACEOF
 
3308
ac_clean_files="$ac_clean_files conftest.out"
 
3309
# Check that the compiler produces executables we can run.  If not, either
 
3310
# the compiler is broken, or we cross compile.
 
3311
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3312
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3313
if test "$cross_compiling" != yes; then
 
3314
  { { ac_try="$ac_link"
 
3315
case "(($ac_try" in
 
3316
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3317
  *) ac_try_echo=$ac_try;;
 
3318
esac
 
3319
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3320
$as_echo "$ac_try_echo"; } >&5
 
3321
  (eval "$ac_link") 2>&5
 
3322
  ac_status=$?
 
3323
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3324
  test $ac_status = 0; }
 
3325
  if { ac_try='./conftest$ac_cv_exeext'
 
3326
  { { case "(($ac_try" in
 
3327
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3328
  *) ac_try_echo=$ac_try;;
 
3329
esac
 
3330
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3331
$as_echo "$ac_try_echo"; } >&5
 
3332
  (eval "$ac_try") 2>&5
 
3333
  ac_status=$?
 
3334
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3335
  test $ac_status = 0; }; }; then
 
3336
    cross_compiling=no
 
3337
  else
 
3338
    if test "$cross_compiling" = maybe; then
 
3339
        cross_compiling=yes
 
3340
    else
 
3341
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3342
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3343
as_fn_error $? "cannot run C compiled programs.
 
3344
If you meant to cross compile, use \`--host'.
 
3345
See \`config.log' for more details" "$LINENO" 5 ; }
 
3346
    fi
 
3347
  fi
 
3348
fi
 
3349
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3350
$as_echo "$cross_compiling" >&6; }
 
3351
 
 
3352
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3353
ac_clean_files=$ac_clean_files_save
 
3354
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3355
$as_echo_n "checking for suffix of object files... " >&6; }
 
3356
if test "${ac_cv_objext+set}" = set; then :
 
3357
  $as_echo_n "(cached) " >&6
2241
3358
else
2242
 
  cat >conftest.$ac_ext <<_ACEOF
2243
 
#line $LINENO "configure"
2244
 
/* confdefs.h.  */
2245
 
_ACEOF
2246
 
cat confdefs.h >>conftest.$ac_ext
2247
 
cat >>conftest.$ac_ext <<_ACEOF
 
3359
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2248
3360
/* end confdefs.h.  */
2249
3361
 
2250
3362
int
2256
3368
}
2257
3369
_ACEOF
2258
3370
rm -f conftest.o conftest.obj
2259
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2260
 
  (eval $ac_compile) 2>&5
 
3371
if { { ac_try="$ac_compile"
 
3372
case "(($ac_try" in
 
3373
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3374
  *) ac_try_echo=$ac_try;;
 
3375
esac
 
3376
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3377
$as_echo "$ac_try_echo"; } >&5
 
3378
  (eval "$ac_compile") 2>&5
2261
3379
  ac_status=$?
2262
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263
 
  (exit $ac_status); }; then
2264
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3380
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3381
  test $ac_status = 0; }; then :
 
3382
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3383
  test -f "$ac_file" || continue;
2265
3384
  case $ac_file in
2266
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3385
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2267
3386
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2268
3387
       break;;
2269
3388
  esac
2270
3389
done
2271
3390
else
2272
 
  echo "$as_me: failed program was:" >&5
 
3391
  $as_echo "$as_me: failed program was:" >&5
2273
3392
sed 's/^/| /' conftest.$ac_ext >&5
2274
3393
 
2275
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2276
 
See \`config.log' for more details." >&5
2277
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2278
 
See \`config.log' for more details." >&2;}
2279
 
   { (exit 1); exit 1; }; }
 
3394
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3395
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3396
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3397
See \`config.log' for more details" "$LINENO" 5 ; }
2280
3398
fi
2281
 
 
2282
3399
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2283
3400
fi
2284
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2285
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3402
$as_echo "$ac_cv_objext" >&6; }
2286
3403
OBJEXT=$ac_cv_objext
2287
3404
ac_objext=$OBJEXT
2288
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2289
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2290
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2291
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3405
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3406
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3407
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3408
  $as_echo_n "(cached) " >&6
2292
3409
else
2293
 
  cat >conftest.$ac_ext <<_ACEOF
2294
 
#line $LINENO "configure"
2295
 
/* confdefs.h.  */
2296
 
_ACEOF
2297
 
cat confdefs.h >>conftest.$ac_ext
2298
 
cat >>conftest.$ac_ext <<_ACEOF
 
3410
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2299
3411
/* end confdefs.h.  */
2300
3412
 
2301
3413
int
2309
3421
  return 0;
2310
3422
}
2311
3423
_ACEOF
2312
 
rm -f conftest.$ac_objext
2313
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2314
 
  (eval $ac_compile) 2>&5
2315
 
  ac_status=$?
2316
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317
 
  (exit $ac_status); } &&
2318
 
         { ac_try='test -s conftest.$ac_objext'
2319
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2320
 
  (eval $ac_try) 2>&5
2321
 
  ac_status=$?
2322
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323
 
  (exit $ac_status); }; }; then
 
3424
if ac_fn_c_try_compile "$LINENO"; then :
2324
3425
  ac_compiler_gnu=yes
2325
3426
else
2326
 
  echo "$as_me: failed program was:" >&5
2327
 
sed 's/^/| /' conftest.$ac_ext >&5
2328
 
 
2329
 
ac_compiler_gnu=no
 
3427
  ac_compiler_gnu=no
2330
3428
fi
2331
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3429
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2332
3430
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2333
3431
 
2334
3432
fi
2335
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2336
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2337
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3433
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3434
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3435
if test $ac_compiler_gnu = yes; then
 
3436
  GCC=yes
 
3437
else
 
3438
  GCC=
 
3439
fi
2338
3440
ac_test_CFLAGS=${CFLAGS+set}
2339
3441
ac_save_CFLAGS=$CFLAGS
2340
 
CFLAGS="-g"
2341
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2342
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2343
 
if test "${ac_cv_prog_cc_g+set}" = set; then
2344
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2345
 
else
2346
 
  cat >conftest.$ac_ext <<_ACEOF
2347
 
#line $LINENO "configure"
2348
 
/* confdefs.h.  */
2349
 
_ACEOF
2350
 
cat confdefs.h >>conftest.$ac_ext
2351
 
cat >>conftest.$ac_ext <<_ACEOF
2352
 
/* end confdefs.h.  */
2353
 
 
2354
 
int
2355
 
main ()
2356
 
{
2357
 
 
2358
 
  ;
2359
 
  return 0;
2360
 
}
2361
 
_ACEOF
2362
 
rm -f conftest.$ac_objext
2363
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2364
 
  (eval $ac_compile) 2>&5
2365
 
  ac_status=$?
2366
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367
 
  (exit $ac_status); } &&
2368
 
         { ac_try='test -s conftest.$ac_objext'
2369
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2370
 
  (eval $ac_try) 2>&5
2371
 
  ac_status=$?
2372
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373
 
  (exit $ac_status); }; }; then
2374
 
  ac_cv_prog_cc_g=yes
2375
 
else
2376
 
  echo "$as_me: failed program was:" >&5
2377
 
sed 's/^/| /' conftest.$ac_ext >&5
2378
 
 
2379
 
ac_cv_prog_cc_g=no
2380
 
fi
2381
 
rm -f conftest.$ac_objext conftest.$ac_ext
2382
 
fi
2383
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2384
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3442
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3443
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3444
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3445
  $as_echo_n "(cached) " >&6
 
3446
else
 
3447
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3448
   ac_c_werror_flag=yes
 
3449
   ac_cv_prog_cc_g=no
 
3450
   CFLAGS="-g"
 
3451
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3452
/* end confdefs.h.  */
 
3453
 
 
3454
int
 
3455
main ()
 
3456
{
 
3457
 
 
3458
  ;
 
3459
  return 0;
 
3460
}
 
3461
_ACEOF
 
3462
if ac_fn_c_try_compile "$LINENO"; then :
 
3463
  ac_cv_prog_cc_g=yes
 
3464
else
 
3465
  CFLAGS=""
 
3466
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3467
/* end confdefs.h.  */
 
3468
 
 
3469
int
 
3470
main ()
 
3471
{
 
3472
 
 
3473
  ;
 
3474
  return 0;
 
3475
}
 
3476
_ACEOF
 
3477
if ac_fn_c_try_compile "$LINENO"; then :
 
3478
 
 
3479
else
 
3480
  ac_c_werror_flag=$ac_save_c_werror_flag
 
3481
         CFLAGS="-g"
 
3482
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3483
/* end confdefs.h.  */
 
3484
 
 
3485
int
 
3486
main ()
 
3487
{
 
3488
 
 
3489
  ;
 
3490
  return 0;
 
3491
}
 
3492
_ACEOF
 
3493
if ac_fn_c_try_compile "$LINENO"; then :
 
3494
  ac_cv_prog_cc_g=yes
 
3495
fi
 
3496
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3497
fi
 
3498
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3499
fi
 
3500
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3501
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3502
fi
 
3503
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3504
$as_echo "$ac_cv_prog_cc_g" >&6; }
2385
3505
if test "$ac_test_CFLAGS" = set; then
2386
3506
  CFLAGS=$ac_save_CFLAGS
2387
3507
elif test $ac_cv_prog_cc_g = yes; then
2397
3517
    CFLAGS=
2398
3518
  fi
2399
3519
fi
2400
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2401
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2402
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2403
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3520
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3521
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3522
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3523
  $as_echo_n "(cached) " >&6
2404
3524
else
2405
 
  ac_cv_prog_cc_stdc=no
 
3525
  ac_cv_prog_cc_c89=no
2406
3526
ac_save_CC=$CC
2407
 
cat >conftest.$ac_ext <<_ACEOF
2408
 
#line $LINENO "configure"
2409
 
/* confdefs.h.  */
2410
 
_ACEOF
2411
 
cat confdefs.h >>conftest.$ac_ext
2412
 
cat >>conftest.$ac_ext <<_ACEOF
 
3527
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2413
3528
/* end confdefs.h.  */
2414
3529
#include <stdarg.h>
2415
3530
#include <stdio.h>
2433
3548
  va_end (v);
2434
3549
  return s;
2435
3550
}
 
3551
 
 
3552
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3553
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3554
   These don't provoke an error unfortunately, instead are silently treated
 
3555
   as 'x'.  The following induces an error, until -std is added to get
 
3556
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3557
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3558
   that's true only with -std.  */
 
3559
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3560
 
 
3561
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3562
   inside strings and character constants.  */
 
3563
#define FOO(x) 'x'
 
3564
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3565
 
2436
3566
int test (int i, double x);
2437
3567
struct s1 {int (*f) (int a);};
2438
3568
struct s2 {int (*f) (double a);};
2447
3577
  return 0;
2448
3578
}
2449
3579
_ACEOF
2450
 
# Don't try gcc -ansi; that turns off useful extensions and
2451
 
# breaks some systems' header files.
2452
 
# AIX                   -qlanglvl=ansi
2453
 
# Ultrix and OSF/1      -std1
2454
 
# HP-UX 10.20 and later -Ae
2455
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2456
 
# SVR4                  -Xc -D__EXTENSIONS__
2457
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3580
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3581
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2458
3582
do
2459
3583
  CC="$ac_save_CC $ac_arg"
2460
 
  rm -f conftest.$ac_objext
2461
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2462
 
  (eval $ac_compile) 2>&5
2463
 
  ac_status=$?
2464
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465
 
  (exit $ac_status); } &&
2466
 
         { ac_try='test -s conftest.$ac_objext'
2467
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2468
 
  (eval $ac_try) 2>&5
2469
 
  ac_status=$?
2470
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471
 
  (exit $ac_status); }; }; then
2472
 
  ac_cv_prog_cc_stdc=$ac_arg
2473
 
break
2474
 
else
2475
 
  echo "$as_me: failed program was:" >&5
2476
 
sed 's/^/| /' conftest.$ac_ext >&5
2477
 
 
 
3584
  if ac_fn_c_try_compile "$LINENO"; then :
 
3585
  ac_cv_prog_cc_c89=$ac_arg
2478
3586
fi
2479
 
rm -f conftest.$ac_objext
 
3587
rm -f core conftest.err conftest.$ac_objext
 
3588
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2480
3589
done
2481
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3590
rm -f conftest.$ac_ext
2482
3591
CC=$ac_save_CC
2483
3592
 
2484
3593
fi
2485
 
 
2486
 
case "x$ac_cv_prog_cc_stdc" in
2487
 
  x|xno)
2488
 
    echo "$as_me:$LINENO: result: none needed" >&5
2489
 
echo "${ECHO_T}none needed" >&6 ;;
 
3594
# AC_CACHE_VAL
 
3595
case "x$ac_cv_prog_cc_c89" in
 
3596
  x)
 
3597
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3598
$as_echo "none needed" >&6; } ;;
 
3599
  xno)
 
3600
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3601
$as_echo "unsupported" >&6; } ;;
2490
3602
  *)
2491
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2492
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2493
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3603
    CC="$CC $ac_cv_prog_cc_c89"
 
3604
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3605
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2494
3606
esac
2495
 
 
2496
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2497
 
# in C++ we need to declare it.  In case someone uses the same compiler
2498
 
# for both compiling C and C++ we need to have the C++ compiler decide
2499
 
# the declaration of exit, since it's the most demanding environment.
2500
 
cat >conftest.$ac_ext <<_ACEOF
2501
 
#ifndef __cplusplus
2502
 
  choke me
2503
 
#endif
2504
 
_ACEOF
2505
 
rm -f conftest.$ac_objext
2506
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2507
 
  (eval $ac_compile) 2>&5
2508
 
  ac_status=$?
2509
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510
 
  (exit $ac_status); } &&
2511
 
         { ac_try='test -s conftest.$ac_objext'
2512
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513
 
  (eval $ac_try) 2>&5
2514
 
  ac_status=$?
2515
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516
 
  (exit $ac_status); }; }; then
2517
 
  for ac_declaration in \
2518
 
   ''\
2519
 
   '#include <stdlib.h>' \
2520
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2521
 
   'extern "C" void std::exit (int); using std::exit;' \
2522
 
   'extern "C" void exit (int) throw ();' \
2523
 
   'extern "C" void exit (int);' \
2524
 
   'void exit (int);'
2525
 
do
2526
 
  cat >conftest.$ac_ext <<_ACEOF
2527
 
#line $LINENO "configure"
2528
 
/* confdefs.h.  */
2529
 
_ACEOF
2530
 
cat confdefs.h >>conftest.$ac_ext
2531
 
cat >>conftest.$ac_ext <<_ACEOF
2532
 
/* end confdefs.h.  */
2533
 
#include <stdlib.h>
2534
 
$ac_declaration
2535
 
int
2536
 
main ()
2537
 
{
2538
 
exit (42);
2539
 
  ;
2540
 
  return 0;
2541
 
}
2542
 
_ACEOF
2543
 
rm -f conftest.$ac_objext
2544
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2545
 
  (eval $ac_compile) 2>&5
2546
 
  ac_status=$?
2547
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548
 
  (exit $ac_status); } &&
2549
 
         { ac_try='test -s conftest.$ac_objext'
2550
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2551
 
  (eval $ac_try) 2>&5
2552
 
  ac_status=$?
2553
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554
 
  (exit $ac_status); }; }; then
2555
 
  :
2556
 
else
2557
 
  echo "$as_me: failed program was:" >&5
2558
 
sed 's/^/| /' conftest.$ac_ext >&5
2559
 
 
2560
 
continue
2561
 
fi
2562
 
rm -f conftest.$ac_objext conftest.$ac_ext
2563
 
  cat >conftest.$ac_ext <<_ACEOF
2564
 
#line $LINENO "configure"
2565
 
/* confdefs.h.  */
2566
 
_ACEOF
2567
 
cat confdefs.h >>conftest.$ac_ext
2568
 
cat >>conftest.$ac_ext <<_ACEOF
2569
 
/* end confdefs.h.  */
2570
 
$ac_declaration
2571
 
int
2572
 
main ()
2573
 
{
2574
 
exit (42);
2575
 
  ;
2576
 
  return 0;
2577
 
}
2578
 
_ACEOF
2579
 
rm -f conftest.$ac_objext
2580
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2581
 
  (eval $ac_compile) 2>&5
2582
 
  ac_status=$?
2583
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584
 
  (exit $ac_status); } &&
2585
 
         { ac_try='test -s conftest.$ac_objext'
2586
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2587
 
  (eval $ac_try) 2>&5
2588
 
  ac_status=$?
2589
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590
 
  (exit $ac_status); }; }; then
2591
 
  break
2592
 
else
2593
 
  echo "$as_me: failed program was:" >&5
2594
 
sed 's/^/| /' conftest.$ac_ext >&5
2595
 
 
2596
 
fi
2597
 
rm -f conftest.$ac_objext conftest.$ac_ext
2598
 
done
2599
 
rm -f conftest*
2600
 
if test -n "$ac_declaration"; then
2601
 
  echo '#ifdef __cplusplus' >>confdefs.h
2602
 
  echo $ac_declaration      >>confdefs.h
2603
 
  echo '#endif'             >>confdefs.h
2604
 
fi
2605
 
 
2606
 
else
2607
 
  echo "$as_me: failed program was:" >&5
2608
 
sed 's/^/| /' conftest.$ac_ext >&5
2609
 
 
2610
 
fi
2611
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3607
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
3608
 
 
3609
fi
 
3610
 
2612
3611
ac_ext=c
2613
3612
ac_cpp='$CPP $CPPFLAGS'
2614
3613
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2615
3614
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2616
3615
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2617
 
rm -f .deps 2>/dev/null
2618
 
mkdir .deps 2>/dev/null
2619
 
if test -d .deps; then
2620
 
  DEPDIR=.deps
2621
 
else
2622
 
  # MS-DOS does not allow filenames that begin with a dot.
2623
 
  DEPDIR=_deps
2624
 
fi
2625
 
rmdir .deps 2>/dev/null
2626
 
 
2627
 
 
2628
 
          ac_config_commands="$ac_config_commands depfiles"
 
3616
DEPDIR="${am__leading_dot}deps"
 
3617
 
 
3618
ac_config_commands="$ac_config_commands depfiles"
2629
3619
 
2630
3620
 
2631
3621
am_make=${MAKE-make}
2632
3622
cat > confinc << 'END'
2633
 
doit:
2634
 
        @echo done
 
3623
am__doit:
 
3624
        @echo this is the am__doit target
 
3625
.PHONY: am__doit
2635
3626
END
2636
3627
# If we don't find an include directive, just comment out the code.
2637
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2638
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3628
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3629
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2639
3630
am__include="#"
2640
3631
am__quote=
2641
3632
_am_result=none
2642
3633
# First try GNU make style include.
2643
3634
echo "include confinc" > confmf
2644
 
# We grep out `Entering directory' and `Leaving directory'
2645
 
# messages which can occur if `w' ends up in MAKEFLAGS.
2646
 
# In particular we don't look at `^make:' because GNU make might
2647
 
# be invoked under some other name (usually "gmake"), in which
2648
 
# case it prints its new name instead of `make'.
2649
 
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2650
 
   am__include=include
2651
 
   am__quote=
2652
 
   _am_result=GNU
2653
 
fi
 
3635
# Ignore all kinds of additional output from `make'.
 
3636
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3637
*the\ am__doit\ target*)
 
3638
  am__include=include
 
3639
  am__quote=
 
3640
  _am_result=GNU
 
3641
  ;;
 
3642
esac
2654
3643
# Now try BSD make style include.
2655
3644
if test "$am__include" = "#"; then
2656
3645
   echo '.include "confinc"' > confmf
2657
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2658
 
      am__include=.include
2659
 
      am__quote="\""
2660
 
      _am_result=BSD
2661
 
   fi
 
3646
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3647
   *the\ am__doit\ target*)
 
3648
     am__include=.include
 
3649
     am__quote="\""
 
3650
     _am_result=BSD
 
3651
     ;;
 
3652
   esac
2662
3653
fi
2663
3654
 
2664
3655
 
2665
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2666
 
echo "${ECHO_T}$_am_result" >&6
 
3656
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3657
$as_echo "$_am_result" >&6; }
2667
3658
rm -f confinc confmf
2668
3659
 
2669
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2670
 
if test "${enable_dependency_tracking+set}" = set; then
2671
 
  enableval="$enable_dependency_tracking"
 
3660
# Check whether --enable-dependency-tracking was given.
 
3661
if test "${enable_dependency_tracking+set}" = set; then :
 
3662
  enableval=$enable_dependency_tracking;
 
3663
fi
2672
3664
 
2673
 
fi;
2674
3665
if test "x$enable_dependency_tracking" != xno; then
2675
3666
  am_depcomp="$ac_aux_dir/depcomp"
2676
3667
  AMDEPBACKSLASH='\'
2677
3668
fi
2678
 
 
2679
 
 
2680
 
if test "x$enable_dependency_tracking" != xno; then
 
3669
 if test "x$enable_dependency_tracking" != xno; then
2681
3670
  AMDEP_TRUE=
2682
3671
  AMDEP_FALSE='#'
2683
3672
else
2687
3676
 
2688
3677
 
2689
3678
 
2690
 
 
2691
3679
depcc="$CC"   am_compiler_list=
2692
3680
 
2693
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2694
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2695
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2696
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3681
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3682
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3683
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3684
  $as_echo_n "(cached) " >&6
2697
3685
else
2698
3686
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2699
3687
  # We make a subdir and do the tests there.  Otherwise we can end up
2706
3694
  # using a relative directory.
2707
3695
  cp "$am_depcomp" conftest.dir
2708
3696
  cd conftest.dir
 
3697
  # We will build objects and dependencies in a subdirectory because
 
3698
  # it helps to detect inapplicable dependency modes.  For instance
 
3699
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3700
  # side effect of compilation, but ICC will put the dependencies in
 
3701
  # the current directory while Tru64 will put them in the object
 
3702
  # directory.
 
3703
  mkdir sub
2709
3704
 
2710
3705
  am_cv_CC_dependencies_compiler_type=none
2711
3706
  if test "$am_compiler_list" = ""; then
2712
3707
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2713
3708
  fi
 
3709
  am__universal=false
 
3710
  case " $depcc " in #(
 
3711
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3712
     esac
 
3713
 
2714
3714
  for depmode in $am_compiler_list; do
 
3715
    # Setup a source with many dependencies, because some compilers
 
3716
    # like to wrap large dependency lists on column 80 (with \), and
 
3717
    # we should not choose a depcomp mode which is confused by this.
 
3718
    #
2715
3719
    # We need to recreate these files for each test, as the compiler may
2716
3720
    # overwrite some of them when testing with obscure command lines.
2717
3721
    # This happens at least with the AIX C compiler.
2718
 
    echo '#include "conftest.h"' > conftest.c
2719
 
    echo 'int i;' > conftest.h
2720
 
    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
 
3722
    : > sub/conftest.c
 
3723
    for i in 1 2 3 4 5 6; do
 
3724
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3725
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3726
      # Solaris 8's {/usr,}/bin/sh.
 
3727
      touch sub/conftst$i.h
 
3728
    done
 
3729
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2721
3730
 
 
3731
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3732
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3733
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3734
    # versions had trouble with output in subdirs
 
3735
    am__obj=sub/conftest.${OBJEXT-o}
 
3736
    am__minus_obj="-o $am__obj"
2722
3737
    case $depmode in
 
3738
    gcc)
 
3739
      # This depmode causes a compiler race in universal mode.
 
3740
      test "$am__universal" = false || continue
 
3741
      ;;
2723
3742
    nosideeffect)
2724
3743
      # after this tag, mechanisms are not by side-effect, so they'll
2725
3744
      # only be used when explicitly requested
2729
3748
        break
2730
3749
      fi
2731
3750
      ;;
 
3751
    msvisualcpp | msvcmsys)
 
3752
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3753
      # not run yet.  These depmodes are late enough in the game, and
 
3754
      # so weak that their functioning should not be impacted.
 
3755
      am__obj=conftest.${OBJEXT-o}
 
3756
      am__minus_obj=
 
3757
      ;;
2732
3758
    none) break ;;
2733
3759
    esac
2734
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2735
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
2736
 
    # handle `-M -o', and we need to detect this.
2737
3760
    if depmode=$depmode \
2738
 
       source=conftest.c object=conftest.o \
2739
 
       depfile=conftest.Po tmpdepfile=conftest.TPo \
2740
 
       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2741
 
       grep conftest.h conftest.Po > /dev/null 2>&1 &&
 
3761
       source=sub/conftest.c object=$am__obj \
 
3762
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3763
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
3764
         >/dev/null 2>conftest.err &&
 
3765
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
3766
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3767
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
2742
3768
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2743
 
      am_cv_CC_dependencies_compiler_type=$depmode
2744
 
      break
 
3769
      # icc doesn't choke on unknown options, it will just issue warnings
 
3770
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3771
      # that says an option was ignored or not supported.
 
3772
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3773
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3774
      # The diagnosis changed in icc 8.0:
 
3775
      #   icc: Command line remark: option '-MP' not supported
 
3776
      if (grep 'ignoring option' conftest.err ||
 
3777
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3778
        am_cv_CC_dependencies_compiler_type=$depmode
 
3779
        break
 
3780
      fi
2745
3781
    fi
2746
3782
  done
2747
3783
 
2752
3788
fi
2753
3789
 
2754
3790
fi
2755
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2756
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3791
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3792
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
2757
3793
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2758
3794
 
2759
 
 
2760
 
 
2761
 
# Check whether --enable-gtk2 or --disable-gtk2 was given.
2762
 
if test "${enable_gtk2+set}" = set; then
2763
 
  enableval="$enable_gtk2"
2764
 
  enable_gtk2=$enableval
 
3795
 if
 
3796
  test "x$enable_dependency_tracking" != xno \
 
3797
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
3798
  am__fastdepCC_TRUE=
 
3799
  am__fastdepCC_FALSE='#'
 
3800
else
 
3801
  am__fastdepCC_TRUE='#'
 
3802
  am__fastdepCC_FALSE=
 
3803
fi
 
3804
 
 
3805
 
 
3806
 
 
3807
# Checks for libraries.
 
3808
# Check whether --enable-gtk2 was given.
 
3809
if test "${enable_gtk2+set}" = set; then :
 
3810
  enableval=$enable_gtk2; enable_gtk2=$enableval
2765
3811
else
2766
3812
  enable_gtk2="yes"
2767
 
fi;
 
3813
fi
 
3814
 
2768
3815
 
2769
3816
found_gtk2=0;
2770
3817
 
2771
3818
if test "$enable_gtk2" = "yes" ; then
2772
3819
 
2773
 
  succeeded=no
2774
 
 
2775
 
  if test -z "$PKG_CONFIG"; then
2776
 
    # Extract the first word of "pkg-config", so it can be a program name with args.
2777
 
set dummy pkg-config; ac_word=$2
2778
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2779
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2780
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2781
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3820
 
 
3821
 
 
3822
 
 
3823
 
 
3824
 
 
3825
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
3826
        if test -n "$ac_tool_prefix"; then
 
3827
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
3828
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
3829
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3830
$as_echo_n "checking for $ac_word... " >&6; }
 
3831
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
3832
  $as_echo_n "(cached) " >&6
2782
3833
else
2783
3834
  case $PKG_CONFIG in
2784
3835
  [\\/]* | ?:[\\/]*)
2790
3841
do
2791
3842
  IFS=$as_save_IFS
2792
3843
  test -z "$as_dir" && as_dir=.
2793
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2794
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3844
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3845
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2795
3846
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2796
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3847
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2797
3848
    break 2
2798
3849
  fi
2799
3850
done
2800
 
done
 
3851
  done
 
3852
IFS=$as_save_IFS
2801
3853
 
2802
 
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
2803
3854
  ;;
2804
3855
esac
2805
3856
fi
2806
3857
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2807
 
 
2808
3858
if test -n "$PKG_CONFIG"; then
2809
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2810
 
echo "${ECHO_T}$PKG_CONFIG" >&6
2811
 
else
2812
 
  echo "$as_me:$LINENO: result: no" >&5
2813
 
echo "${ECHO_T}no" >&6
2814
 
fi
2815
 
 
 
3859
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
3860
$as_echo "$PKG_CONFIG" >&6; }
 
3861
else
 
3862
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3863
$as_echo "no" >&6; }
 
3864
fi
 
3865
 
 
3866
 
 
3867
fi
 
3868
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
3869
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
3870
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
3871
set dummy pkg-config; ac_word=$2
 
3872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3873
$as_echo_n "checking for $ac_word... " >&6; }
 
3874
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
3875
  $as_echo_n "(cached) " >&6
 
3876
else
 
3877
  case $ac_pt_PKG_CONFIG in
 
3878
  [\\/]* | ?:[\\/]*)
 
3879
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
3880
  ;;
 
3881
  *)
 
3882
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3883
for as_dir in $PATH
 
3884
do
 
3885
  IFS=$as_save_IFS
 
3886
  test -z "$as_dir" && as_dir=.
 
3887
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3888
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3889
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
3890
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3891
    break 2
2816
3892
  fi
2817
 
 
2818
 
  if test "$PKG_CONFIG" = "no" ; then
2819
 
     echo "*** The pkg-config script could not be found. Make sure it is"
2820
 
     echo "*** in your path, or set the PKG_CONFIG environment variable"
2821
 
     echo "*** to the full path to pkg-config."
2822
 
     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
 
3893
done
 
3894
  done
 
3895
IFS=$as_save_IFS
 
3896
 
 
3897
  ;;
 
3898
esac
 
3899
fi
 
3900
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
3901
if test -n "$ac_pt_PKG_CONFIG"; then
 
3902
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
3903
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
3904
else
 
3905
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3906
$as_echo "no" >&6; }
 
3907
fi
 
3908
 
 
3909
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
3910
    PKG_CONFIG=""
2823
3911
  else
2824
 
     PKG_CONFIG_MIN_VERSION=0.9.0
2825
 
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
2826
 
        echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.0.0" >&5
2827
 
echo $ECHO_N "checking for gtk+-2.0 >= 2.0.0... $ECHO_C" >&6
2828
 
 
2829
 
        if $PKG_CONFIG --exists "gtk+-2.0 >= 2.0.0" ; then
2830
 
            echo "$as_me:$LINENO: result: yes" >&5
2831
 
echo "${ECHO_T}yes" >&6
2832
 
            succeeded=yes
2833
 
 
2834
 
            echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
2835
 
echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
2836
 
            GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.0.0"`
2837
 
            echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
2838
 
echo "${ECHO_T}$GTK_CFLAGS" >&6
2839
 
 
2840
 
            echo "$as_me:$LINENO: checking GTK_LIBS" >&5
2841
 
echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
2842
 
            GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.0.0"`
2843
 
            echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
2844
 
echo "${ECHO_T}$GTK_LIBS" >&6
 
3912
    case $cross_compiling:$ac_tool_warned in
 
3913
yes:)
 
3914
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3915
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3916
ac_tool_warned=yes ;;
 
3917
esac
 
3918
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
3919
  fi
 
3920
else
 
3921
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
3922
fi
 
3923
 
 
3924
fi
 
3925
if test -n "$PKG_CONFIG"; then
 
3926
        _pkg_min_version=0.9.0
 
3927
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
3928
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
3929
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
3930
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3931
$as_echo "yes" >&6; }
 
3932
        else
 
3933
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3934
$as_echo "no" >&6; }
 
3935
                PKG_CONFIG=""
 
3936
        fi
 
3937
fi
 
3938
 
 
3939
pkg_failed=no
 
3940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
 
3941
$as_echo_n "checking for GTK... " >&6; }
 
3942
 
 
3943
if test -n "$GTK_CFLAGS"; then
 
3944
    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
 
3945
 elif test -n "$PKG_CONFIG"; then
 
3946
    if test -n "$PKG_CONFIG" && \
 
3947
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0\""; } >&5
 
3948
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0") 2>&5
 
3949
  ac_status=$?
 
3950
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3951
  test $ac_status = 0; }; then
 
3952
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.0.0" 2>/dev/null`
 
3953
else
 
3954
  pkg_failed=yes
 
3955
fi
 
3956
 else
 
3957
    pkg_failed=untried
 
3958
fi
 
3959
if test -n "$GTK_LIBS"; then
 
3960
    pkg_cv_GTK_LIBS="$GTK_LIBS"
 
3961
 elif test -n "$PKG_CONFIG"; then
 
3962
    if test -n "$PKG_CONFIG" && \
 
3963
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0\""; } >&5
 
3964
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0") 2>&5
 
3965
  ac_status=$?
 
3966
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3967
  test $ac_status = 0; }; then
 
3968
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.0.0" 2>/dev/null`
 
3969
else
 
3970
  pkg_failed=yes
 
3971
fi
 
3972
 else
 
3973
    pkg_failed=untried
 
3974
fi
 
3975
 
 
3976
 
 
3977
 
 
3978
if test $pkg_failed = yes; then
 
3979
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3980
$as_echo "no" >&6; }
 
3981
 
 
3982
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
3983
        _pkg_short_errors_supported=yes
 
3984
else
 
3985
        _pkg_short_errors_supported=no
 
3986
fi
 
3987
        if test $_pkg_short_errors_supported = yes; then
 
3988
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.0.0" 2>&1`
2845
3989
        else
2846
 
            GTK_CFLAGS=""
2847
 
            GTK_LIBS=""
2848
 
            ## If we have a custom action on failure, don't print errors, but
2849
 
            ## do set a variable so people can do so.
2850
 
            GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.0.0"`
2851
 
 
 
3990
                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.0.0" 2>&1`
2852
3991
        fi
2853
 
 
2854
 
 
2855
 
 
2856
 
     else
2857
 
        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
2858
 
        echo "*** See http://www.freedesktop.org/software/pkgconfig"
2859
 
     fi
2860
 
  fi
2861
 
 
2862
 
  if test $succeeded = yes; then
2863
 
     found_gtk2=1
2864
 
  else
2865
 
     found_gtk2=0
2866
 
  fi
2867
 
 
2868
 
fi
2869
 
 
2870
 
if test $found_gtk2 = 0; then
2871
 
 
2872
 
 
2873
 
# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
2874
 
if test "${with_gtk_prefix+set}" = set; then
2875
 
  withval="$with_gtk_prefix"
2876
 
  gtk_config_prefix="$withval"
2877
 
else
2878
 
  gtk_config_prefix=""
2879
 
fi;
2880
 
 
2881
 
# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
2882
 
if test "${with_gtk_exec_prefix+set}" = set; then
2883
 
  withval="$with_gtk_exec_prefix"
2884
 
  gtk_config_exec_prefix="$withval"
2885
 
else
2886
 
  gtk_config_exec_prefix=""
2887
 
fi;
2888
 
# Check whether --enable-gtktest or --disable-gtktest was given.
2889
 
if test "${enable_gtktest+set}" = set; then
2890
 
  enableval="$enable_gtktest"
2891
 
 
2892
 
else
2893
 
  enable_gtktest=yes
2894
 
fi;
2895
 
 
2896
 
  for module in .
2897
 
  do
2898
 
      case "$module" in
2899
 
         gthread)
2900
 
             gtk_config_args="$gtk_config_args gthread"
2901
 
         ;;
2902
 
      esac
2903
 
  done
2904
 
 
2905
 
  if test x$gtk_config_exec_prefix != x ; then
2906
 
     gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
2907
 
     if test x${GTK_CONFIG+set} != xset ; then
2908
 
        GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
2909
 
     fi
2910
 
  fi
2911
 
  if test x$gtk_config_prefix != x ; then
2912
 
     gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
2913
 
     if test x${GTK_CONFIG+set} != xset ; then
2914
 
        GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
2915
 
     fi
2916
 
  fi
2917
 
 
2918
 
  # Extract the first word of "gtk-config", so it can be a program name with args.
2919
 
set dummy gtk-config; ac_word=$2
2920
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2921
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2922
 
if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
2923
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2924
 
else
2925
 
  case $GTK_CONFIG in
2926
 
  [\\/]* | ?:[\\/]*)
2927
 
  ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
2928
 
  ;;
2929
 
  *)
2930
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2931
 
for as_dir in $PATH
2932
 
do
2933
 
  IFS=$as_save_IFS
2934
 
  test -z "$as_dir" && as_dir=.
2935
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2936
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2937
 
    ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2938
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2939
 
    break 2
2940
 
  fi
2941
 
done
2942
 
done
2943
 
 
2944
 
  test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
2945
 
  ;;
2946
 
esac
2947
 
fi
2948
 
GTK_CONFIG=$ac_cv_path_GTK_CONFIG
2949
 
 
2950
 
if test -n "$GTK_CONFIG"; then
2951
 
  echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
2952
 
echo "${ECHO_T}$GTK_CONFIG" >&6
2953
 
else
2954
 
  echo "$as_me:$LINENO: result: no" >&5
2955
 
echo "${ECHO_T}no" >&6
2956
 
fi
2957
 
 
2958
 
  min_gtk_version=1.2.3
2959
 
  echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
2960
 
echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
2961
 
  no_gtk=""
2962
 
  if test "$GTK_CONFIG" = "no" ; then
2963
 
    no_gtk=yes
2964
 
  else
2965
 
    GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
2966
 
    GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
2967
 
    gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
2968
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
2969
 
    gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
2970
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
2971
 
    gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
2972
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
2973
 
    if test "x$enable_gtktest" = "xyes" ; then
2974
 
      ac_save_CFLAGS="$CFLAGS"
2975
 
      ac_save_LIBS="$LIBS"
2976
 
      CFLAGS="$CFLAGS $GTK_CFLAGS"
2977
 
      LIBS="$GTK_LIBS $LIBS"
2978
 
      rm -f conf.gtktest
2979
 
      if test "$cross_compiling" = yes; then
2980
 
  echo $ac_n "cross compiling; assumed OK... $ac_c"
2981
 
else
2982
 
  cat >conftest.$ac_ext <<_ACEOF
2983
 
#line $LINENO "configure"
2984
 
/* confdefs.h.  */
2985
 
_ACEOF
2986
 
cat confdefs.h >>conftest.$ac_ext
2987
 
cat >>conftest.$ac_ext <<_ACEOF
2988
 
/* end confdefs.h.  */
2989
 
 
2990
 
#include <gtk/gtk.h>
2991
 
#include <stdio.h>
2992
 
#include <stdlib.h>
2993
 
 
2994
 
int
2995
 
main ()
2996
 
{
2997
 
  int major, minor, micro;
2998
 
  char *tmp_version;
2999
 
 
3000
 
  system ("touch conf.gtktest");
3001
 
 
3002
 
  /* HP/UX 9 (%@#!) writes to sscanf strings */
3003
 
  tmp_version = g_strdup("$min_gtk_version");
3004
 
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
3005
 
     printf("%s, bad version string\n", "$min_gtk_version");
3006
 
     exit(1);
3007
 
   }
3008
 
 
3009
 
  if ((gtk_major_version != $gtk_config_major_version) ||
3010
 
      (gtk_minor_version != $gtk_config_minor_version) ||
3011
 
      (gtk_micro_version != $gtk_config_micro_version))
3012
 
    {
3013
 
      printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
3014
 
             $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
3015
 
             gtk_major_version, gtk_minor_version, gtk_micro_version);
3016
 
      printf ("*** was found! If gtk-config was correct, then it is best\n");
3017
 
      printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
3018
 
      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
3019
 
      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
3020
 
      printf("*** required on your system.\n");
3021
 
      printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
3022
 
      printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
3023
 
      printf("*** before re-running configure\n");
3024
 
    }
3025
 
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
3026
 
  else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
3027
 
           (gtk_minor_version != GTK_MINOR_VERSION) ||
3028
 
           (gtk_micro_version != GTK_MICRO_VERSION))
3029
 
    {
3030
 
      printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
3031
 
             GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
3032
 
      printf("*** library (version %d.%d.%d)\n",
3033
 
             gtk_major_version, gtk_minor_version, gtk_micro_version);
3034
 
    }
3035
 
#endif /* defined (GTK_MAJOR_VERSION) ... */
3036
 
  else
3037
 
    {
3038
 
      if ((gtk_major_version > major) ||
3039
 
        ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
3040
 
        ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
3041
 
      {
3042
 
        return 0;
3043
 
       }
3044
 
     else
3045
 
      {
3046
 
        printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
3047
 
               gtk_major_version, gtk_minor_version, gtk_micro_version);
3048
 
        printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
3049
 
               major, minor, micro);
3050
 
        printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
3051
 
        printf("***\n");
3052
 
        printf("*** If you have already installed a sufficiently new version, this error\n");
3053
 
        printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
3054
 
        printf("*** being found. The easiest way to fix this is to remove the old version\n");
3055
 
        printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
3056
 
        printf("*** correct copy of gtk-config. (In this case, you will have to\n");
3057
 
        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
3058
 
        printf("*** so that the correct libraries are found at run-time))\n");
3059
 
      }
3060
 
    }
3061
 
  return 1;
3062
 
}
3063
 
 
3064
 
_ACEOF
3065
 
rm -f conftest$ac_exeext
3066
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3067
 
  (eval $ac_link) 2>&5
3068
 
  ac_status=$?
3069
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3071
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3072
 
  (eval $ac_try) 2>&5
3073
 
  ac_status=$?
3074
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075
 
  (exit $ac_status); }; }; then
3076
 
  :
3077
 
else
3078
 
  echo "$as_me: program exited with status $ac_status" >&5
3079
 
echo "$as_me: failed program was:" >&5
3080
 
sed 's/^/| /' conftest.$ac_ext >&5
3081
 
 
3082
 
( exit $ac_status )
3083
 
no_gtk=yes
3084
 
fi
3085
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3086
 
fi
3087
 
       CFLAGS="$ac_save_CFLAGS"
3088
 
       LIBS="$ac_save_LIBS"
3089
 
     fi
3090
 
  fi
3091
 
  if test "x$no_gtk" = x ; then
3092
 
     echo "$as_me:$LINENO: result: yes" >&5
3093
 
echo "${ECHO_T}yes" >&6
3094
 
     :
3095
 
  else
3096
 
     echo "$as_me:$LINENO: result: no" >&5
3097
 
echo "${ECHO_T}no" >&6
3098
 
     if test "$GTK_CONFIG" = "no" ; then
3099
 
       echo "*** The gtk-config script installed by GTK could not be found"
3100
 
       echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
3101
 
       echo "*** your path, or set the GTK_CONFIG environment variable to the"
3102
 
       echo "*** full path to gtk-config."
3103
 
     else
3104
 
       if test -f conf.gtktest ; then
3105
 
        :
3106
 
       else
3107
 
          echo "*** Could not run GTK test program, checking why..."
3108
 
          CFLAGS="$CFLAGS $GTK_CFLAGS"
3109
 
          LIBS="$LIBS $GTK_LIBS"
3110
 
          cat >conftest.$ac_ext <<_ACEOF
3111
 
#line $LINENO "configure"
3112
 
/* confdefs.h.  */
3113
 
_ACEOF
3114
 
cat confdefs.h >>conftest.$ac_ext
3115
 
cat >>conftest.$ac_ext <<_ACEOF
3116
 
/* end confdefs.h.  */
3117
 
 
3118
 
#include <gtk/gtk.h>
3119
 
#include <stdio.h>
3120
 
 
3121
 
int
3122
 
main ()
3123
 
{
3124
 
 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
3125
 
  ;
3126
 
  return 0;
3127
 
}
3128
 
_ACEOF
3129
 
rm -f conftest.$ac_objext conftest$ac_exeext
3130
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3131
 
  (eval $ac_link) 2>&5
3132
 
  ac_status=$?
3133
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134
 
  (exit $ac_status); } &&
3135
 
         { ac_try='test -s conftest$ac_exeext'
3136
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3137
 
  (eval $ac_try) 2>&5
3138
 
  ac_status=$?
3139
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140
 
  (exit $ac_status); }; }; then
3141
 
   echo "*** The test program compiled, but did not run. This usually means"
3142
 
          echo "*** that the run-time linker is not finding GTK or finding the wrong"
3143
 
          echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
3144
 
          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
3145
 
          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
3146
 
          echo "*** is required on your system"
3147
 
          echo "***"
3148
 
          echo "*** If you have an old version installed, it is best to remove it, although"
3149
 
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
3150
 
          echo "***"
3151
 
          echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
3152
 
          echo "*** came with the system with the command"
3153
 
          echo "***"
3154
 
          echo "***    rpm --erase --nodeps gtk gtk-devel"
3155
 
else
3156
 
  echo "$as_me: failed program was:" >&5
3157
 
sed 's/^/| /' conftest.$ac_ext >&5
3158
 
 
3159
 
 echo "*** The test program failed to compile or link. See the file config.log for the"
3160
 
          echo "*** exact error that occured. This usually means GTK was incorrectly installed"
3161
 
          echo "*** or that you have moved GTK since it was installed. In the latter case, you"
3162
 
          echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
3163
 
fi
3164
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3165
 
          CFLAGS="$ac_save_CFLAGS"
3166
 
          LIBS="$ac_save_LIBS"
3167
 
       fi
3168
 
     fi
3169
 
     GTK_CFLAGS=""
3170
 
     GTK_LIBS=""
3171
 
     { { echo "$as_me:$LINENO: error: gtkboard needs GTK 1.2.3 or higher" >&5
3172
 
echo "$as_me: error: gtkboard needs GTK 1.2.3 or higher" >&2;}
3173
 
   { (exit 1); exit 1; }; }
3174
 
  fi
3175
 
 
3176
 
 
3177
 
  rm -f conf.gtktest
3178
 
 
3179
 
fi
3180
 
 
3181
 
 
3182
 
# Check whether --enable-sdl or --disable-sdl was given.
3183
 
if test "${enable_sdl+set}" = set; then
3184
 
  enableval="$enable_sdl"
3185
 
  enable_sdl=$enableval
 
3992
        # Put the nasty error message in config.log where it belongs
 
3993
        echo "$GTK_PKG_ERRORS" >&5
 
3994
 
 
3995
        found_gtk2=0
 
3996
elif test $pkg_failed = untried; then
 
3997
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3998
$as_echo "no" >&6; }
 
3999
        found_gtk2=0
 
4000
else
 
4001
        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
 
4002
        GTK_LIBS=$pkg_cv_GTK_LIBS
 
4003
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4004
$as_echo "yes" >&6; }
 
4005
        found_gtk2=1
 
4006
fi
 
4007
fi
 
4008
 
 
4009
 
 
4010
# Check whether --enable-sdl was given.
 
4011
if test "${enable_sdl+set}" = set; then :
 
4012
  enableval=$enable_sdl; enable_sdl=$enableval
3186
4013
else
3187
4014
  enable_sdl="yes"
3188
 
fi;
 
4015
fi
 
4016
 
3189
4017
 
3190
4018
if test "$enable_sdl" = "yes" ; then
3191
4019
        #       SDL_VERSION=1.2.0
3193
4021
#                       AC_DEFINE([HAVE_SDL], [], [Do we have the SDL library]),
3194
4022
#                       AC_MSG_WARN([*** SDL version $SDL_VERSION not found. Sound will be disabled])
3195
4023
#       )
3196
 
        echo "$as_me:$LINENO: checking for Mix_OpenAudio in -lSDL_mixer" >&5
3197
 
echo $ECHO_N "checking for Mix_OpenAudio in -lSDL_mixer... $ECHO_C" >&6
3198
 
if test "${ac_cv_lib_SDL_mixer_Mix_OpenAudio+set}" = set; then
3199
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4024
 
 
4025
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mix_OpenAudio in -lSDL_mixer" >&5
 
4026
$as_echo_n "checking for Mix_OpenAudio in -lSDL_mixer... " >&6; }
 
4027
if test "${ac_cv_lib_SDL_mixer_Mix_OpenAudio+set}" = set; then :
 
4028
  $as_echo_n "(cached) " >&6
3200
4029
else
3201
4030
  ac_check_lib_save_LIBS=$LIBS
3202
4031
LIBS="-lSDL_mixer  $LIBS"
3203
 
cat >conftest.$ac_ext <<_ACEOF
3204
 
#line $LINENO "configure"
3205
 
/* confdefs.h.  */
3206
 
_ACEOF
3207
 
cat confdefs.h >>conftest.$ac_ext
3208
 
cat >>conftest.$ac_ext <<_ACEOF
 
4032
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3209
4033
/* end confdefs.h.  */
3210
4034
 
3211
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
4035
/* Override any GCC internal prototype to avoid an error.
 
4036
   Use char because int might match the return type of a GCC
 
4037
   builtin and then its argument prototype would still apply.  */
3212
4038
#ifdef __cplusplus
3213
4039
extern "C"
3214
4040
#endif
3215
 
/* We use char because int might match the return type of a gcc2
3216
 
   builtin and then its argument prototype would still apply.  */
3217
4041
char Mix_OpenAudio ();
3218
4042
int
3219
4043
main ()
3220
4044
{
3221
 
Mix_OpenAudio ();
 
4045
return Mix_OpenAudio ();
3222
4046
  ;
3223
4047
  return 0;
3224
4048
}
3225
4049
_ACEOF
3226
 
rm -f conftest.$ac_objext conftest$ac_exeext
3227
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3228
 
  (eval $ac_link) 2>&5
3229
 
  ac_status=$?
3230
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231
 
  (exit $ac_status); } &&
3232
 
         { ac_try='test -s conftest$ac_exeext'
3233
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3234
 
  (eval $ac_try) 2>&5
3235
 
  ac_status=$?
3236
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3237
 
  (exit $ac_status); }; }; then
 
4050
if ac_fn_c_try_link "$LINENO"; then :
3238
4051
  ac_cv_lib_SDL_mixer_Mix_OpenAudio=yes
3239
4052
else
3240
 
  echo "$as_me: failed program was:" >&5
3241
 
sed 's/^/| /' conftest.$ac_ext >&5
3242
 
 
3243
 
ac_cv_lib_SDL_mixer_Mix_OpenAudio=no
 
4053
  ac_cv_lib_SDL_mixer_Mix_OpenAudio=no
3244
4054
fi
3245
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4055
rm -f core conftest.err conftest.$ac_objext \
 
4056
    conftest$ac_exeext conftest.$ac_ext
3246
4057
LIBS=$ac_check_lib_save_LIBS
3247
4058
fi
3248
 
echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_mixer_Mix_OpenAudio" >&5
3249
 
echo "${ECHO_T}$ac_cv_lib_SDL_mixer_Mix_OpenAudio" >&6
3250
 
if test $ac_cv_lib_SDL_mixer_Mix_OpenAudio = yes; then
 
4059
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_mixer_Mix_OpenAudio" >&5
 
4060
$as_echo "$ac_cv_lib_SDL_mixer_Mix_OpenAudio" >&6; }
 
4061
if test "x$ac_cv_lib_SDL_mixer_Mix_OpenAudio" = x""yes; then :
3251
4062
  have_SDL_mixer=yes
3252
4063
else
3253
4064
  have_SDL_mixer=no
3257
4068
        if test "$have_SDL_mixer" = "yes" ; then
3258
4069
#               CFLAGS="$CFLAGS -DHAVE_SDL"
3259
4070
 
3260
 
cat >>confdefs.h <<\_ACEOF
3261
 
#define HAVE_SDL
3262
 
_ACEOF
 
4071
$as_echo "#define HAVE_SDL /**/" >>confdefs.h
3263
4072
 
3264
 
            LIBS="$LIBS -lSDL_mixer"
 
4073
            LIBS="$LIBS -lSDL_mixer -lSDL"
3265
4074
        else
3266
4075
            echo "*** SDL_mixer not found.  Configuring without audio support."
3267
4076
        fi
3276
4085
GNOME_CFLAGS=""
3277
4086
GNOME_LIBS=""
3278
4087
 
3279
 
# Check whether --enable-gnome or --disable-gnome was given.
3280
 
if test "${enable_gnome+set}" = set; then
3281
 
  enableval="$enable_gnome"
3282
 
 
 
4088
# Check whether --enable-gnome was given.
 
4089
if test "${enable_gnome+set}" = set; then :
 
4090
  enableval=$enable_gnome;
3283
4091
        if test "x$enableval" = "xyes"; then
3284
4092
                gnome=true
3285
4093
        fi
3286
4094
 
3287
 
fi;
 
4095
fi
 
4096
 
3288
4097
 
3289
4098
if test "$gnome" = true ; then
3290
4099
 
3291
 
  succeeded=no
3292
 
 
3293
 
  if test -z "$PKG_CONFIG"; then
3294
 
    # Extract the first word of "pkg-config", so it can be a program name with args.
3295
 
set dummy pkg-config; ac_word=$2
3296
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3297
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3298
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3299
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3300
 
else
3301
 
  case $PKG_CONFIG in
3302
 
  [\\/]* | ?:[\\/]*)
3303
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3304
 
  ;;
3305
 
  *)
3306
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3307
 
for as_dir in $PATH
3308
 
do
3309
 
  IFS=$as_save_IFS
3310
 
  test -z "$as_dir" && as_dir=.
3311
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3312
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3313
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3314
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3315
 
    break 2
3316
 
  fi
3317
 
done
3318
 
done
3319
 
 
3320
 
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
3321
 
  ;;
3322
 
esac
3323
 
fi
3324
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3325
 
 
3326
 
if test -n "$PKG_CONFIG"; then
3327
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3328
 
echo "${ECHO_T}$PKG_CONFIG" >&6
3329
 
else
3330
 
  echo "$as_me:$LINENO: result: no" >&5
3331
 
echo "${ECHO_T}no" >&6
3332
 
fi
3333
 
 
3334
 
  fi
3335
 
 
3336
 
  if test "$PKG_CONFIG" = "no" ; then
3337
 
     echo "*** The pkg-config script could not be found. Make sure it is"
3338
 
     echo "*** in your path, or set the PKG_CONFIG environment variable"
3339
 
     echo "*** to the full path to pkg-config."
3340
 
     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
3341
 
  else
3342
 
     PKG_CONFIG_MIN_VERSION=0.9.0
3343
 
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
3344
 
        echo "$as_me:$LINENO: checking for
3345
 
                        libgnome-2.0 >= 2.0.0
3346
 
                        libgnomeui-2.0 >= 2.0.0
3347
 
        " >&5
3348
 
echo $ECHO_N "checking for
3349
 
                        libgnome-2.0 >= 2.0.0
3350
 
                        libgnomeui-2.0 >= 2.0.0
3351
 
        ... $ECHO_C" >&6
3352
 
 
3353
 
        if $PKG_CONFIG --exists "
3354
 
                        libgnome-2.0 >= 2.0.0
3355
 
                        libgnomeui-2.0 >= 2.0.0
3356
 
        " ; then
3357
 
            echo "$as_me:$LINENO: result: yes" >&5
3358
 
echo "${ECHO_T}yes" >&6
3359
 
            succeeded=yes
3360
 
 
3361
 
            echo "$as_me:$LINENO: checking GNOME_CFLAGS" >&5
3362
 
echo $ECHO_N "checking GNOME_CFLAGS... $ECHO_C" >&6
3363
 
            GNOME_CFLAGS=`$PKG_CONFIG --cflags "
3364
 
                        libgnome-2.0 >= 2.0.0
3365
 
                        libgnomeui-2.0 >= 2.0.0
3366
 
        "`
3367
 
            echo "$as_me:$LINENO: result: $GNOME_CFLAGS" >&5
3368
 
echo "${ECHO_T}$GNOME_CFLAGS" >&6
3369
 
 
3370
 
            echo "$as_me:$LINENO: checking GNOME_LIBS" >&5
3371
 
echo $ECHO_N "checking GNOME_LIBS... $ECHO_C" >&6
3372
 
            GNOME_LIBS=`$PKG_CONFIG --libs "
3373
 
                        libgnome-2.0 >= 2.0.0
3374
 
                        libgnomeui-2.0 >= 2.0.0
3375
 
        "`
3376
 
            echo "$as_me:$LINENO: result: $GNOME_LIBS" >&5
3377
 
echo "${ECHO_T}$GNOME_LIBS" >&6
 
4100
pkg_failed=no
 
4101
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME" >&5
 
4102
$as_echo_n "checking for GNOME... " >&6; }
 
4103
 
 
4104
if test -n "$GNOME_CFLAGS"; then
 
4105
    pkg_cv_GNOME_CFLAGS="$GNOME_CFLAGS"
 
4106
 elif test -n "$PKG_CONFIG"; then
 
4107
    if test -n "$PKG_CONFIG" && \
 
4108
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
4109
                        libgnome-2.0 >= 2.0.0
 
4110
                        libgnomeui-2.0 >= 2.0.0
 
4111
        \""; } >&5
 
4112
  ($PKG_CONFIG --exists --print-errors "
 
4113
                        libgnome-2.0 >= 2.0.0
 
4114
                        libgnomeui-2.0 >= 2.0.0
 
4115
        ") 2>&5
 
4116
  ac_status=$?
 
4117
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4118
  test $ac_status = 0; }; then
 
4119
  pkg_cv_GNOME_CFLAGS=`$PKG_CONFIG --cflags "
 
4120
                        libgnome-2.0 >= 2.0.0
 
4121
                        libgnomeui-2.0 >= 2.0.0
 
4122
        " 2>/dev/null`
 
4123
else
 
4124
  pkg_failed=yes
 
4125
fi
 
4126
 else
 
4127
    pkg_failed=untried
 
4128
fi
 
4129
if test -n "$GNOME_LIBS"; then
 
4130
    pkg_cv_GNOME_LIBS="$GNOME_LIBS"
 
4131
 elif test -n "$PKG_CONFIG"; then
 
4132
    if test -n "$PKG_CONFIG" && \
 
4133
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
4134
                        libgnome-2.0 >= 2.0.0
 
4135
                        libgnomeui-2.0 >= 2.0.0
 
4136
        \""; } >&5
 
4137
  ($PKG_CONFIG --exists --print-errors "
 
4138
                        libgnome-2.0 >= 2.0.0
 
4139
                        libgnomeui-2.0 >= 2.0.0
 
4140
        ") 2>&5
 
4141
  ac_status=$?
 
4142
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4143
  test $ac_status = 0; }; then
 
4144
  pkg_cv_GNOME_LIBS=`$PKG_CONFIG --libs "
 
4145
                        libgnome-2.0 >= 2.0.0
 
4146
                        libgnomeui-2.0 >= 2.0.0
 
4147
        " 2>/dev/null`
 
4148
else
 
4149
  pkg_failed=yes
 
4150
fi
 
4151
 else
 
4152
    pkg_failed=untried
 
4153
fi
 
4154
 
 
4155
 
 
4156
 
 
4157
if test $pkg_failed = yes; then
 
4158
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4159
$as_echo "no" >&6; }
 
4160
 
 
4161
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
4162
        _pkg_short_errors_supported=yes
 
4163
else
 
4164
        _pkg_short_errors_supported=no
 
4165
fi
 
4166
        if test $_pkg_short_errors_supported = yes; then
 
4167
                GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
 
4168
                        libgnome-2.0 >= 2.0.0
 
4169
                        libgnomeui-2.0 >= 2.0.0
 
4170
        " 2>&1`
3378
4171
        else
3379
 
            GNOME_CFLAGS=""
3380
 
            GNOME_LIBS=""
3381
 
            ## If we have a custom action on failure, don't print errors, but
3382
 
            ## do set a variable so people can do so.
3383
 
            GNOME_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "
 
4172
                GNOME_PKG_ERRORS=`$PKG_CONFIG --print-errors "
3384
4173
                        libgnome-2.0 >= 2.0.0
3385
4174
                        libgnomeui-2.0 >= 2.0.0
3386
 
        "`
3387
 
            echo $GNOME_PKG_ERRORS
 
4175
        " 2>&1`
3388
4176
        fi
3389
 
 
3390
 
 
3391
 
 
3392
 
     else
3393
 
        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
3394
 
        echo "*** See http://www.freedesktop.org/software/pkgconfig"
3395
 
     fi
3396
 
  fi
3397
 
 
3398
 
  if test $succeeded = yes; then
3399
 
     :
3400
 
  else
3401
 
     { { echo "$as_me:$LINENO: error: Library requirements (
3402
 
                        libgnome-2.0 >= 2.0.0
3403
 
                        libgnomeui-2.0 >= 2.0.0
3404
 
        ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
3405
 
echo "$as_me: error: Library requirements (
3406
 
                        libgnome-2.0 >= 2.0.0
3407
 
                        libgnomeui-2.0 >= 2.0.0
3408
 
        ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
3409
 
   { (exit 1); exit 1; }; }
3410
 
  fi
3411
 
 
 
4177
        # Put the nasty error message in config.log where it belongs
 
4178
        echo "$GNOME_PKG_ERRORS" >&5
 
4179
 
 
4180
        as_fn_error $? "Package requirements (
 
4181
                        libgnome-2.0 >= 2.0.0
 
4182
                        libgnomeui-2.0 >= 2.0.0
 
4183
        ) were not met:
 
4184
 
 
4185
$GNOME_PKG_ERRORS
 
4186
 
 
4187
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
4188
installed software in a non-standard prefix.
 
4189
 
 
4190
Alternatively, you may set the environment variables GNOME_CFLAGS
 
4191
and GNOME_LIBS to avoid the need to call pkg-config.
 
4192
See the pkg-config man page for more details." "$LINENO" 5
 
4193
elif test $pkg_failed = untried; then
 
4194
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4195
$as_echo "no" >&6; }
 
4196
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4197
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4198
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
4199
is in your PATH or set the PKG_CONFIG environment variable to the full
 
4200
path to pkg-config.
 
4201
 
 
4202
Alternatively, you may set the environment variables GNOME_CFLAGS
 
4203
and GNOME_LIBS to avoid the need to call pkg-config.
 
4204
See the pkg-config man page for more details.
 
4205
 
 
4206
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
4207
See \`config.log' for more details" "$LINENO" 5 ; }
 
4208
else
 
4209
        GNOME_CFLAGS=$pkg_cv_GNOME_CFLAGS
 
4210
        GNOME_LIBS=$pkg_cv_GNOME_LIBS
 
4211
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4212
$as_echo "yes" >&6; }
 
4213
 
 
4214
fi
3412
4215
        GNOME_CFLAGS="$GNOME_CFLAGS -DHAVE_GNOME=1"
3413
4216
fi
3414
4217
 
3415
4218
 
3416
4219
 
3417
4220
 
3418
 
 
3419
 
 
3420
 
if test "x$gnome" = "xtrue"; then
 
4221
 if test "x$gnome" = "xtrue"; then
3421
4222
  WITH_GNOME_TRUE=
3422
4223
  WITH_GNOME_FALSE='#'
3423
4224
else
3431
4232
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3432
4233
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3433
4234
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3434
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3435
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
4235
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
4236
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3436
4237
# On Suns, sometimes $CPP names a directory.
3437
4238
if test -n "$CPP" && test -d "$CPP"; then
3438
4239
  CPP=
3439
4240
fi
3440
4241
if test -z "$CPP"; then
3441
 
  if test "${ac_cv_prog_CPP+set}" = set; then
3442
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4242
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
4243
  $as_echo_n "(cached) " >&6
3443
4244
else
3444
4245
      # Double quotes because CPP needs to be expanded
3445
4246
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3453
4254
  # <limits.h> exists even on freestanding compilers.
3454
4255
  # On the NeXT, cc -E runs the code through the compiler's parser,
3455
4256
  # not just through cpp. "Syntax error" is here to catch this case.
3456
 
  cat >conftest.$ac_ext <<_ACEOF
3457
 
#line $LINENO "configure"
3458
 
/* confdefs.h.  */
3459
 
_ACEOF
3460
 
cat confdefs.h >>conftest.$ac_ext
3461
 
cat >>conftest.$ac_ext <<_ACEOF
 
4257
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3462
4258
/* end confdefs.h.  */
3463
4259
#ifdef __STDC__
3464
4260
# include <limits.h>
3465
4261
#else
3466
4262
# include <assert.h>
3467
4263
#endif
3468
 
                     Syntax error
 
4264
                     Syntax error
3469
4265
_ACEOF
3470
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3471
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3472
 
  ac_status=$?
3473
 
  grep -v '^ *+' conftest.er1 >conftest.err
3474
 
  rm -f conftest.er1
3475
 
  cat conftest.err >&5
3476
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3477
 
  (exit $ac_status); } >/dev/null; then
3478
 
  if test -s conftest.err; then
3479
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3480
 
  else
3481
 
    ac_cpp_err=
3482
 
  fi
3483
 
else
3484
 
  ac_cpp_err=yes
3485
 
fi
3486
 
if test -z "$ac_cpp_err"; then
3487
 
  :
3488
 
else
3489
 
  echo "$as_me: failed program was:" >&5
3490
 
sed 's/^/| /' conftest.$ac_ext >&5
 
4266
if ac_fn_c_try_cpp "$LINENO"; then :
3491
4267
 
 
4268
else
3492
4269
  # Broken: fails on valid input.
3493
4270
continue
3494
4271
fi
3495
 
rm -f conftest.err conftest.$ac_ext
 
4272
rm -f conftest.err conftest.i conftest.$ac_ext
3496
4273
 
3497
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4274
  # OK, works on sane cases.  Now check whether nonexistent headers
3498
4275
  # can be detected and how.
3499
 
  cat >conftest.$ac_ext <<_ACEOF
3500
 
#line $LINENO "configure"
3501
 
/* confdefs.h.  */
3502
 
_ACEOF
3503
 
cat confdefs.h >>conftest.$ac_ext
3504
 
cat >>conftest.$ac_ext <<_ACEOF
 
4276
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505
4277
/* end confdefs.h.  */
3506
4278
#include <ac_nonexistent.h>
3507
4279
_ACEOF
3508
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3509
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3510
 
  ac_status=$?
3511
 
  grep -v '^ *+' conftest.er1 >conftest.err
3512
 
  rm -f conftest.er1
3513
 
  cat conftest.err >&5
3514
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515
 
  (exit $ac_status); } >/dev/null; then
3516
 
  if test -s conftest.err; then
3517
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3518
 
  else
3519
 
    ac_cpp_err=
3520
 
  fi
3521
 
else
3522
 
  ac_cpp_err=yes
3523
 
fi
3524
 
if test -z "$ac_cpp_err"; then
 
4280
if ac_fn_c_try_cpp "$LINENO"; then :
3525
4281
  # Broken: success on invalid input.
3526
4282
continue
3527
4283
else
3528
 
  echo "$as_me: failed program was:" >&5
3529
 
sed 's/^/| /' conftest.$ac_ext >&5
3530
 
 
3531
4284
  # Passes both tests.
3532
4285
ac_preproc_ok=:
3533
4286
break
3534
4287
fi
3535
 
rm -f conftest.err conftest.$ac_ext
 
4288
rm -f conftest.err conftest.i conftest.$ac_ext
3536
4289
 
3537
4290
done
3538
4291
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3539
 
rm -f conftest.err conftest.$ac_ext
3540
 
if $ac_preproc_ok; then
 
4292
rm -f conftest.i conftest.err conftest.$ac_ext
 
4293
if $ac_preproc_ok; then :
3541
4294
  break
3542
4295
fi
3543
4296
 
3549
4302
else
3550
4303
  ac_cv_prog_CPP=$CPP
3551
4304
fi
3552
 
echo "$as_me:$LINENO: result: $CPP" >&5
3553
 
echo "${ECHO_T}$CPP" >&6
 
4305
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
4306
$as_echo "$CPP" >&6; }
3554
4307
ac_preproc_ok=false
3555
4308
for ac_c_preproc_warn_flag in '' yes
3556
4309
do
3560
4313
  # <limits.h> exists even on freestanding compilers.
3561
4314
  # On the NeXT, cc -E runs the code through the compiler's parser,
3562
4315
  # not just through cpp. "Syntax error" is here to catch this case.
3563
 
  cat >conftest.$ac_ext <<_ACEOF
3564
 
#line $LINENO "configure"
3565
 
/* confdefs.h.  */
3566
 
_ACEOF
3567
 
cat confdefs.h >>conftest.$ac_ext
3568
 
cat >>conftest.$ac_ext <<_ACEOF
 
4316
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3569
4317
/* end confdefs.h.  */
3570
4318
#ifdef __STDC__
3571
4319
# include <limits.h>
3572
4320
#else
3573
4321
# include <assert.h>
3574
4322
#endif
3575
 
                     Syntax error
 
4323
                     Syntax error
3576
4324
_ACEOF
3577
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3578
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3579
 
  ac_status=$?
3580
 
  grep -v '^ *+' conftest.er1 >conftest.err
3581
 
  rm -f conftest.er1
3582
 
  cat conftest.err >&5
3583
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3584
 
  (exit $ac_status); } >/dev/null; then
3585
 
  if test -s conftest.err; then
3586
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3587
 
  else
3588
 
    ac_cpp_err=
3589
 
  fi
3590
 
else
3591
 
  ac_cpp_err=yes
3592
 
fi
3593
 
if test -z "$ac_cpp_err"; then
3594
 
  :
3595
 
else
3596
 
  echo "$as_me: failed program was:" >&5
3597
 
sed 's/^/| /' conftest.$ac_ext >&5
 
4325
if ac_fn_c_try_cpp "$LINENO"; then :
3598
4326
 
 
4327
else
3599
4328
  # Broken: fails on valid input.
3600
4329
continue
3601
4330
fi
3602
 
rm -f conftest.err conftest.$ac_ext
 
4331
rm -f conftest.err conftest.i conftest.$ac_ext
3603
4332
 
3604
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4333
  # OK, works on sane cases.  Now check whether nonexistent headers
3605
4334
  # can be detected and how.
3606
 
  cat >conftest.$ac_ext <<_ACEOF
3607
 
#line $LINENO "configure"
3608
 
/* confdefs.h.  */
3609
 
_ACEOF
3610
 
cat confdefs.h >>conftest.$ac_ext
3611
 
cat >>conftest.$ac_ext <<_ACEOF
 
4335
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3612
4336
/* end confdefs.h.  */
3613
4337
#include <ac_nonexistent.h>
3614
4338
_ACEOF
3615
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3616
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3617
 
  ac_status=$?
3618
 
  grep -v '^ *+' conftest.er1 >conftest.err
3619
 
  rm -f conftest.er1
3620
 
  cat conftest.err >&5
3621
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3622
 
  (exit $ac_status); } >/dev/null; then
3623
 
  if test -s conftest.err; then
3624
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3625
 
  else
3626
 
    ac_cpp_err=
3627
 
  fi
3628
 
else
3629
 
  ac_cpp_err=yes
3630
 
fi
3631
 
if test -z "$ac_cpp_err"; then
 
4339
if ac_fn_c_try_cpp "$LINENO"; then :
3632
4340
  # Broken: success on invalid input.
3633
4341
continue
3634
4342
else
3635
 
  echo "$as_me: failed program was:" >&5
3636
 
sed 's/^/| /' conftest.$ac_ext >&5
3637
 
 
3638
4343
  # Passes both tests.
3639
4344
ac_preproc_ok=:
3640
4345
break
3641
4346
fi
3642
 
rm -f conftest.err conftest.$ac_ext
 
4347
rm -f conftest.err conftest.i conftest.$ac_ext
3643
4348
 
3644
4349
done
3645
4350
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3646
 
rm -f conftest.err conftest.$ac_ext
3647
 
if $ac_preproc_ok; then
3648
 
  :
 
4351
rm -f conftest.i conftest.err conftest.$ac_ext
 
4352
if $ac_preproc_ok; then :
 
4353
 
3649
4354
else
3650
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3651
 
See \`config.log' for more details." >&5
3652
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3653
 
See \`config.log' for more details." >&2;}
3654
 
   { (exit 1); exit 1; }; }
 
4355
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4356
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4357
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
4358
See \`config.log' for more details" "$LINENO" 5 ; }
3655
4359
fi
3656
4360
 
3657
4361
ac_ext=c
3661
4365
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3662
4366
 
3663
4367
 
3664
 
echo "$as_me:$LINENO: checking for egrep" >&5
3665
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3666
 
if test "${ac_cv_prog_egrep+set}" = set; then
3667
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3668
 
else
3669
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3670
 
    then ac_cv_prog_egrep='grep -E'
3671
 
    else ac_cv_prog_egrep='egrep'
3672
 
    fi
3673
 
fi
3674
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3675
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3676
 
 EGREP=$ac_cv_prog_egrep
3677
 
 
3678
 
 
3679
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3680
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3681
 
if test "${ac_cv_header_stdc+set}" = set; then
3682
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3683
 
else
3684
 
  cat >conftest.$ac_ext <<_ACEOF
3685
 
#line $LINENO "configure"
3686
 
/* confdefs.h.  */
3687
 
_ACEOF
3688
 
cat confdefs.h >>conftest.$ac_ext
3689
 
cat >>conftest.$ac_ext <<_ACEOF
 
4368
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
4369
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4370
if test "${ac_cv_path_GREP+set}" = set; then :
 
4371
  $as_echo_n "(cached) " >&6
 
4372
else
 
4373
  if test -z "$GREP"; then
 
4374
  ac_path_GREP_found=false
 
4375
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4376
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4377
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4378
do
 
4379
  IFS=$as_save_IFS
 
4380
  test -z "$as_dir" && as_dir=.
 
4381
    for ac_prog in grep ggrep; do
 
4382
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4383
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4384
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4385
# Check for GNU ac_path_GREP and select it if it is found.
 
4386
  # Check for GNU $ac_path_GREP
 
4387
case `"$ac_path_GREP" --version 2>&1` in
 
4388
*GNU*)
 
4389
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4390
*)
 
4391
  ac_count=0
 
4392
  $as_echo_n 0123456789 >"conftest.in"
 
4393
  while :
 
4394
  do
 
4395
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4396
    mv "conftest.tmp" "conftest.in"
 
4397
    cp "conftest.in" "conftest.nl"
 
4398
    $as_echo 'GREP' >> "conftest.nl"
 
4399
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4400
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4401
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4402
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4403
      # Best one so far, save it but keep looking for a better one
 
4404
      ac_cv_path_GREP="$ac_path_GREP"
 
4405
      ac_path_GREP_max=$ac_count
 
4406
    fi
 
4407
    # 10*(2^10) chars as input seems more than enough
 
4408
    test $ac_count -gt 10 && break
 
4409
  done
 
4410
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4411
esac
 
4412
 
 
4413
      $ac_path_GREP_found && break 3
 
4414
    done
 
4415
  done
 
4416
  done
 
4417
IFS=$as_save_IFS
 
4418
  if test -z "$ac_cv_path_GREP"; then
 
4419
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4420
  fi
 
4421
else
 
4422
  ac_cv_path_GREP=$GREP
 
4423
fi
 
4424
 
 
4425
fi
 
4426
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
4427
$as_echo "$ac_cv_path_GREP" >&6; }
 
4428
 GREP="$ac_cv_path_GREP"
 
4429
 
 
4430
 
 
4431
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
4432
$as_echo_n "checking for egrep... " >&6; }
 
4433
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4434
  $as_echo_n "(cached) " >&6
 
4435
else
 
4436
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4437
   then ac_cv_path_EGREP="$GREP -E"
 
4438
   else
 
4439
     if test -z "$EGREP"; then
 
4440
  ac_path_EGREP_found=false
 
4441
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4442
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4443
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4444
do
 
4445
  IFS=$as_save_IFS
 
4446
  test -z "$as_dir" && as_dir=.
 
4447
    for ac_prog in egrep; do
 
4448
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4449
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4450
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4451
# Check for GNU ac_path_EGREP and select it if it is found.
 
4452
  # Check for GNU $ac_path_EGREP
 
4453
case `"$ac_path_EGREP" --version 2>&1` in
 
4454
*GNU*)
 
4455
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4456
*)
 
4457
  ac_count=0
 
4458
  $as_echo_n 0123456789 >"conftest.in"
 
4459
  while :
 
4460
  do
 
4461
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4462
    mv "conftest.tmp" "conftest.in"
 
4463
    cp "conftest.in" "conftest.nl"
 
4464
    $as_echo 'EGREP' >> "conftest.nl"
 
4465
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4466
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4467
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4468
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4469
      # Best one so far, save it but keep looking for a better one
 
4470
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4471
      ac_path_EGREP_max=$ac_count
 
4472
    fi
 
4473
    # 10*(2^10) chars as input seems more than enough
 
4474
    test $ac_count -gt 10 && break
 
4475
  done
 
4476
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4477
esac
 
4478
 
 
4479
      $ac_path_EGREP_found && break 3
 
4480
    done
 
4481
  done
 
4482
  done
 
4483
IFS=$as_save_IFS
 
4484
  if test -z "$ac_cv_path_EGREP"; then
 
4485
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4486
  fi
 
4487
else
 
4488
  ac_cv_path_EGREP=$EGREP
 
4489
fi
 
4490
 
 
4491
   fi
 
4492
fi
 
4493
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
4494
$as_echo "$ac_cv_path_EGREP" >&6; }
 
4495
 EGREP="$ac_cv_path_EGREP"
 
4496
 
 
4497
 
 
4498
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
4499
$as_echo_n "checking for ANSI C header files... " >&6; }
 
4500
if test "${ac_cv_header_stdc+set}" = set; then :
 
4501
  $as_echo_n "(cached) " >&6
 
4502
else
 
4503
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3690
4504
/* end confdefs.h.  */
3691
4505
#include <stdlib.h>
3692
4506
#include <stdarg.h>
3701
4515
  return 0;
3702
4516
}
3703
4517
_ACEOF
3704
 
rm -f conftest.$ac_objext
3705
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3706
 
  (eval $ac_compile) 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
 
4518
if ac_fn_c_try_compile "$LINENO"; then :
3716
4519
  ac_cv_header_stdc=yes
3717
4520
else
3718
 
  echo "$as_me: failed program was:" >&5
3719
 
sed 's/^/| /' conftest.$ac_ext >&5
3720
 
 
3721
 
ac_cv_header_stdc=no
 
4521
  ac_cv_header_stdc=no
3722
4522
fi
3723
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4523
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3724
4524
 
3725
4525
if test $ac_cv_header_stdc = yes; then
3726
4526
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3727
 
  cat >conftest.$ac_ext <<_ACEOF
3728
 
#line $LINENO "configure"
3729
 
/* confdefs.h.  */
3730
 
_ACEOF
3731
 
cat confdefs.h >>conftest.$ac_ext
3732
 
cat >>conftest.$ac_ext <<_ACEOF
 
4527
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3733
4528
/* end confdefs.h.  */
3734
4529
#include <string.h>
3735
4530
 
3736
4531
_ACEOF
3737
4532
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3738
 
  $EGREP "memchr" >/dev/null 2>&1; then
3739
 
  :
 
4533
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4534
 
3740
4535
else
3741
4536
  ac_cv_header_stdc=no
3742
4537
fi
3746
4541
 
3747
4542
if test $ac_cv_header_stdc = yes; then
3748
4543
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3749
 
  cat >conftest.$ac_ext <<_ACEOF
3750
 
#line $LINENO "configure"
3751
 
/* confdefs.h.  */
3752
 
_ACEOF
3753
 
cat confdefs.h >>conftest.$ac_ext
3754
 
cat >>conftest.$ac_ext <<_ACEOF
 
4544
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3755
4545
/* end confdefs.h.  */
3756
4546
#include <stdlib.h>
3757
4547
 
3758
4548
_ACEOF
3759
4549
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3760
 
  $EGREP "free" >/dev/null 2>&1; then
3761
 
  :
 
4550
  $EGREP "free" >/dev/null 2>&1; then :
 
4551
 
3762
4552
else
3763
4553
  ac_cv_header_stdc=no
3764
4554
fi
3768
4558
 
3769
4559
if test $ac_cv_header_stdc = yes; then
3770
4560
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3771
 
  if test "$cross_compiling" = yes; then
 
4561
  if test "$cross_compiling" = yes; then :
3772
4562
  :
3773
4563
else
3774
 
  cat >conftest.$ac_ext <<_ACEOF
3775
 
#line $LINENO "configure"
3776
 
/* confdefs.h.  */
3777
 
_ACEOF
3778
 
cat confdefs.h >>conftest.$ac_ext
3779
 
cat >>conftest.$ac_ext <<_ACEOF
 
4564
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3780
4565
/* end confdefs.h.  */
3781
4566
#include <ctype.h>
 
4567
#include <stdlib.h>
3782
4568
#if ((' ' & 0x0FF) == 0x020)
3783
4569
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3784
4570
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3785
4571
#else
3786
4572
# define ISLOWER(c) \
3787
 
                   (('a' <= (c) && (c) <= 'i') \
3788
 
                     || ('j' <= (c) && (c) <= 'r') \
3789
 
                     || ('s' <= (c) && (c) <= 'z'))
 
4573
                   (('a' <= (c) && (c) <= 'i') \
 
4574
                     || ('j' <= (c) && (c) <= 'r') \
 
4575
                     || ('s' <= (c) && (c) <= 'z'))
3790
4576
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3791
4577
#endif
3792
4578
 
3797
4583
  int i;
3798
4584
  for (i = 0; i < 256; i++)
3799
4585
    if (XOR (islower (i), ISLOWER (i))
3800
 
        || toupper (i) != TOUPPER (i))
3801
 
      exit(2);
3802
 
  exit (0);
 
4586
        || toupper (i) != TOUPPER (i))
 
4587
      return 2;
 
4588
  return 0;
3803
4589
}
3804
4590
_ACEOF
3805
 
rm -f conftest$ac_exeext
3806
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3807
 
  (eval $ac_link) 2>&5
3808
 
  ac_status=$?
3809
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3811
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3812
 
  (eval $ac_try) 2>&5
3813
 
  ac_status=$?
3814
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815
 
  (exit $ac_status); }; }; then
3816
 
  :
 
4591
if ac_fn_c_try_run "$LINENO"; then :
 
4592
 
3817
4593
else
3818
 
  echo "$as_me: program exited with status $ac_status" >&5
3819
 
echo "$as_me: failed program was:" >&5
3820
 
sed 's/^/| /' conftest.$ac_ext >&5
 
4594
  ac_cv_header_stdc=no
 
4595
fi
 
4596
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4597
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4598
fi
3821
4599
 
3822
 
( exit $ac_status )
3823
 
ac_cv_header_stdc=no
3824
 
fi
3825
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3826
 
fi
3827
 
fi
3828
 
fi
3829
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3830
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
4600
fi
 
4601
fi
 
4602
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
4603
$as_echo "$ac_cv_header_stdc" >&6; }
3831
4604
if test $ac_cv_header_stdc = yes; then
3832
4605
 
3833
 
cat >>confdefs.h <<\_ACEOF
3834
 
#define STDC_HEADERS 1
3835
 
_ACEOF
 
4606
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3836
4607
 
3837
4608
fi
3838
4609
 
3839
4610
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3840
 
 
3841
 
 
3842
 
 
3843
 
 
3844
 
 
3845
 
 
3846
 
 
3847
 
 
3848
 
 
3849
4611
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3850
 
                  inttypes.h stdint.h unistd.h
3851
 
do
3852
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3853
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
3854
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3855
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3856
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3857
 
else
3858
 
  cat >conftest.$ac_ext <<_ACEOF
3859
 
#line $LINENO "configure"
3860
 
/* confdefs.h.  */
3861
 
_ACEOF
3862
 
cat confdefs.h >>conftest.$ac_ext
3863
 
cat >>conftest.$ac_ext <<_ACEOF
3864
 
/* end confdefs.h.  */
3865
 
$ac_includes_default
3866
 
 
3867
 
#include <$ac_header>
3868
 
_ACEOF
3869
 
rm -f conftest.$ac_objext
3870
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3871
 
  (eval $ac_compile) 2>&5
3872
 
  ac_status=$?
3873
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3874
 
  (exit $ac_status); } &&
3875
 
         { ac_try='test -s conftest.$ac_objext'
3876
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3877
 
  (eval $ac_try) 2>&5
3878
 
  ac_status=$?
3879
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3880
 
  (exit $ac_status); }; }; then
3881
 
  eval "$as_ac_Header=yes"
3882
 
else
3883
 
  echo "$as_me: failed program was:" >&5
3884
 
sed 's/^/| /' conftest.$ac_ext >&5
3885
 
 
3886
 
eval "$as_ac_Header=no"
3887
 
fi
3888
 
rm -f conftest.$ac_objext conftest.$ac_ext
3889
 
fi
3890
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3891
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3892
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3893
 
  cat >>confdefs.h <<_ACEOF
3894
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3895
 
_ACEOF
3896
 
 
3897
 
fi
3898
 
 
3899
 
done
3900
 
 
3901
 
 
3902
 
 
3903
 
for ac_header in unistd.h
3904
 
do
3905
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3906
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3907
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
3908
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3909
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3910
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3911
 
fi
3912
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3913
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3914
 
else
3915
 
  # Is the header compilable?
3916
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3917
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3918
 
cat >conftest.$ac_ext <<_ACEOF
3919
 
#line $LINENO "configure"
3920
 
/* confdefs.h.  */
3921
 
_ACEOF
3922
 
cat confdefs.h >>conftest.$ac_ext
3923
 
cat >>conftest.$ac_ext <<_ACEOF
3924
 
/* end confdefs.h.  */
3925
 
$ac_includes_default
3926
 
#include <$ac_header>
3927
 
_ACEOF
3928
 
rm -f conftest.$ac_objext
3929
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3930
 
  (eval $ac_compile) 2>&5
3931
 
  ac_status=$?
3932
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933
 
  (exit $ac_status); } &&
3934
 
         { ac_try='test -s conftest.$ac_objext'
3935
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3936
 
  (eval $ac_try) 2>&5
3937
 
  ac_status=$?
3938
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3939
 
  (exit $ac_status); }; }; then
3940
 
  ac_header_compiler=yes
3941
 
else
3942
 
  echo "$as_me: failed program was:" >&5
3943
 
sed 's/^/| /' conftest.$ac_ext >&5
3944
 
 
3945
 
ac_header_compiler=no
3946
 
fi
3947
 
rm -f conftest.$ac_objext conftest.$ac_ext
3948
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3949
 
echo "${ECHO_T}$ac_header_compiler" >&6
3950
 
 
3951
 
# Is the header present?
3952
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3953
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3954
 
cat >conftest.$ac_ext <<_ACEOF
3955
 
#line $LINENO "configure"
3956
 
/* confdefs.h.  */
3957
 
_ACEOF
3958
 
cat confdefs.h >>conftest.$ac_ext
3959
 
cat >>conftest.$ac_ext <<_ACEOF
3960
 
/* end confdefs.h.  */
3961
 
#include <$ac_header>
3962
 
_ACEOF
3963
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3964
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3965
 
  ac_status=$?
3966
 
  grep -v '^ *+' conftest.er1 >conftest.err
3967
 
  rm -f conftest.er1
3968
 
  cat conftest.err >&5
3969
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970
 
  (exit $ac_status); } >/dev/null; then
3971
 
  if test -s conftest.err; then
3972
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3973
 
  else
3974
 
    ac_cpp_err=
3975
 
  fi
3976
 
else
3977
 
  ac_cpp_err=yes
3978
 
fi
3979
 
if test -z "$ac_cpp_err"; then
3980
 
  ac_header_preproc=yes
3981
 
else
3982
 
  echo "$as_me: failed program was:" >&5
3983
 
sed 's/^/| /' conftest.$ac_ext >&5
3984
 
 
3985
 
  ac_header_preproc=no
3986
 
fi
3987
 
rm -f conftest.err conftest.$ac_ext
3988
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3989
 
echo "${ECHO_T}$ac_header_preproc" >&6
3990
 
 
3991
 
# So?  What about this header?
3992
 
case $ac_header_compiler:$ac_header_preproc in
3993
 
  yes:no )
3994
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3995
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3996
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3997
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3998
 
    (
3999
 
      cat <<\_ASBOX
4000
 
## ------------------------------------ ##
4001
 
## Report this to bug-autoconf@gnu.org. ##
4002
 
## ------------------------------------ ##
4003
 
_ASBOX
4004
 
    ) |
4005
 
      sed "s/^/$as_me: WARNING:     /" >&2
4006
 
    ;;
4007
 
  no:yes )
4008
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4009
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4010
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4011
 
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4012
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4013
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4014
 
    (
4015
 
      cat <<\_ASBOX
4016
 
## ------------------------------------ ##
4017
 
## Report this to bug-autoconf@gnu.org. ##
4018
 
## ------------------------------------ ##
4019
 
_ASBOX
4020
 
    ) |
4021
 
      sed "s/^/$as_me: WARNING:     /" >&2
4022
 
    ;;
4023
 
esac
4024
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4025
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4026
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4027
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4028
 
else
4029
 
  eval "$as_ac_Header=$ac_header_preproc"
4030
 
fi
4031
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4032
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4033
 
 
4034
 
fi
4035
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4036
 
  cat >>confdefs.h <<_ACEOF
4037
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4038
 
_ACEOF
4039
 
 
4040
 
fi
4041
 
 
4042
 
done
4043
 
 
4044
 
 
4045
 
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4046
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4047
 
if test "${ac_cv_c_const+set}" = set; then
4048
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4049
 
else
4050
 
  cat >conftest.$ac_ext <<_ACEOF
4051
 
#line $LINENO "configure"
4052
 
/* confdefs.h.  */
4053
 
_ACEOF
4054
 
cat confdefs.h >>conftest.$ac_ext
4055
 
cat >>conftest.$ac_ext <<_ACEOF
 
4612
                  inttypes.h stdint.h unistd.h
 
4613
do :
 
4614
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4615
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
4616
"
 
4617
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
4618
  cat >>confdefs.h <<_ACEOF
 
4619
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4620
_ACEOF
 
4621
 
 
4622
fi
 
4623
 
 
4624
done
 
4625
 
 
4626
 
 
4627
for ac_header in stdlib.h string.h unistd.h
 
4628
do :
 
4629
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4630
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
4631
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
4632
  cat >>confdefs.h <<_ACEOF
 
4633
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4634
_ACEOF
 
4635
 
 
4636
fi
 
4637
 
 
4638
done
 
4639
 
 
4640
 
 
4641
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 
4642
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 
4643
if test "${ac_cv_c_const+set}" = set; then :
 
4644
  $as_echo_n "(cached) " >&6
 
4645
else
 
4646
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4056
4647
/* end confdefs.h.  */
4057
4648
 
4058
4649
int
4062
4653
#ifndef __cplusplus
4063
4654
  /* Ultrix mips cc rejects this.  */
4064
4655
  typedef int charset[2];
4065
 
  const charset x;
 
4656
  const charset cs;
4066
4657
  /* SunOS 4.1.1 cc rejects this.  */
4067
 
  char const *const *ccp;
4068
 
  char **p;
 
4658
  char const *const *pcpcc;
 
4659
  char **ppc;
4069
4660
  /* NEC SVR4.0.2 mips cc rejects this.  */
4070
4661
  struct point {int x, y;};
4071
4662
  static struct point const zero = {0,0};
4074
4665
     an arm of an if-expression whose if-part is not a constant
4075
4666
     expression */
4076
4667
  const char *g = "string";
4077
 
  ccp = &g + (g ? g-g : 0);
 
4668
  pcpcc = &g + (g ? g-g : 0);
4078
4669
  /* HPUX 7.0 cc rejects these. */
4079
 
  ++ccp;
4080
 
  p = (char**) ccp;
4081
 
  ccp = (char const *const *) p;
 
4670
  ++pcpcc;
 
4671
  ppc = (char**) pcpcc;
 
4672
  pcpcc = (char const *const *) ppc;
4082
4673
  { /* SCO 3.2v4 cc rejects this.  */
4083
4674
    char *t;
4084
4675
    char const *s = 0 ? (char *) 0 : (char const *) 0;
4085
4676
 
4086
4677
    *t++ = 0;
 
4678
    if (s) return 0;
4087
4679
  }
4088
4680
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4089
4681
    int x[] = {25, 17};
4102
4694
  }
4103
4695
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4104
4696
    const int foo = 10;
 
4697
    if (!foo) return 0;
4105
4698
  }
 
4699
  return !cs[0] && !zero.x;
4106
4700
#endif
4107
4701
 
4108
4702
  ;
4109
4703
  return 0;
4110
4704
}
4111
4705
_ACEOF
4112
 
rm -f conftest.$ac_objext
4113
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4114
 
  (eval $ac_compile) 2>&5
4115
 
  ac_status=$?
4116
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4117
 
  (exit $ac_status); } &&
4118
 
         { ac_try='test -s conftest.$ac_objext'
4119
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4120
 
  (eval $ac_try) 2>&5
4121
 
  ac_status=$?
4122
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4123
 
  (exit $ac_status); }; }; then
 
4706
if ac_fn_c_try_compile "$LINENO"; then :
4124
4707
  ac_cv_c_const=yes
4125
4708
else
4126
 
  echo "$as_me: failed program was:" >&5
4127
 
sed 's/^/| /' conftest.$ac_ext >&5
4128
 
 
4129
 
ac_cv_c_const=no
4130
 
fi
4131
 
rm -f conftest.$ac_objext conftest.$ac_ext
4132
 
fi
4133
 
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4134
 
echo "${ECHO_T}$ac_cv_c_const" >&6
 
4709
  ac_cv_c_const=no
 
4710
fi
 
4711
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4712
fi
 
4713
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
 
4714
$as_echo "$ac_cv_c_const" >&6; }
4135
4715
if test $ac_cv_c_const = no; then
4136
4716
 
4137
 
cat >>confdefs.h <<\_ACEOF
4138
 
#define const
4139
 
_ACEOF
4140
 
 
4141
 
fi
4142
 
 
4143
 
 
4144
 
echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4145
 
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4146
 
if test "${ac_cv_type_signal+set}" = set; then
4147
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4148
 
else
4149
 
  cat >conftest.$ac_ext <<_ACEOF
4150
 
#line $LINENO "configure"
4151
 
/* confdefs.h.  */
4152
 
_ACEOF
4153
 
cat confdefs.h >>conftest.$ac_ext
4154
 
cat >>conftest.$ac_ext <<_ACEOF
4155
 
/* end confdefs.h.  */
4156
 
#include <sys/types.h>
4157
 
#include <signal.h>
4158
 
#ifdef signal
4159
 
# undef signal
4160
 
#endif
4161
 
#ifdef __cplusplus
4162
 
extern "C" void (*signal (int, void (*)(int)))(int);
4163
 
#else
4164
 
void (*signal ()) ();
4165
 
#endif
4166
 
 
4167
 
int
4168
 
main ()
4169
 
{
4170
 
int i;
4171
 
  ;
4172
 
  return 0;
4173
 
}
4174
 
_ACEOF
4175
 
rm -f conftest.$ac_objext
4176
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4177
 
  (eval $ac_compile) 2>&5
4178
 
  ac_status=$?
4179
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180
 
  (exit $ac_status); } &&
4181
 
         { ac_try='test -s conftest.$ac_objext'
4182
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4183
 
  (eval $ac_try) 2>&5
4184
 
  ac_status=$?
4185
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186
 
  (exit $ac_status); }; }; then
4187
 
  ac_cv_type_signal=void
4188
 
else
4189
 
  echo "$as_me: failed program was:" >&5
4190
 
sed 's/^/| /' conftest.$ac_ext >&5
4191
 
 
4192
 
ac_cv_type_signal=int
4193
 
fi
4194
 
rm -f conftest.$ac_objext conftest.$ac_ext
4195
 
fi
4196
 
echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4197
 
echo "${ECHO_T}$ac_cv_type_signal" >&6
4198
 
 
4199
 
cat >>confdefs.h <<_ACEOF
4200
 
#define RETSIGTYPE $ac_cv_type_signal
4201
 
_ACEOF
4202
 
 
4203
 
 
4204
 
 
4205
 
 
4206
 
for ac_func in mkdir strtol
4207
 
do
4208
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4209
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
4210
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4211
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
4212
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4213
 
else
4214
 
  cat >conftest.$ac_ext <<_ACEOF
4215
 
#line $LINENO "configure"
4216
 
/* confdefs.h.  */
4217
 
_ACEOF
4218
 
cat confdefs.h >>conftest.$ac_ext
4219
 
cat >>conftest.$ac_ext <<_ACEOF
4220
 
/* end confdefs.h.  */
4221
 
/* System header to define __stub macros and hopefully few prototypes,
4222
 
    which can conflict with char $ac_func (); below.
4223
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4224
 
    <limits.h> exists even on freestanding compilers.  */
4225
 
#ifdef __STDC__
4226
 
# include <limits.h>
4227
 
#else
4228
 
# include <assert.h>
4229
 
#endif
4230
 
/* Override any gcc2 internal prototype to avoid an error.  */
4231
 
#ifdef __cplusplus
4232
 
extern "C"
4233
 
{
4234
 
#endif
4235
 
/* We use char because int might match the return type of a gcc2
4236
 
   builtin and then its argument prototype would still apply.  */
4237
 
char $ac_func ();
4238
 
/* The GNU C library defines this for functions which it implements
4239
 
    to always fail with ENOSYS.  Some functions are actually named
4240
 
    something starting with __ and the normal name is an alias.  */
4241
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4242
 
choke me
4243
 
#else
4244
 
char (*f) () = $ac_func;
4245
 
#endif
4246
 
#ifdef __cplusplus
4247
 
}
4248
 
#endif
4249
 
 
4250
 
int
4251
 
main ()
4252
 
{
4253
 
return f != $ac_func;
4254
 
  ;
4255
 
  return 0;
4256
 
}
4257
 
_ACEOF
4258
 
rm -f conftest.$ac_objext conftest$ac_exeext
4259
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4260
 
  (eval $ac_link) 2>&5
4261
 
  ac_status=$?
4262
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263
 
  (exit $ac_status); } &&
4264
 
         { ac_try='test -s conftest$ac_exeext'
4265
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4266
 
  (eval $ac_try) 2>&5
4267
 
  ac_status=$?
4268
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4269
 
  (exit $ac_status); }; }; then
4270
 
  eval "$as_ac_var=yes"
4271
 
else
4272
 
  echo "$as_me: failed program was:" >&5
4273
 
sed 's/^/| /' conftest.$ac_ext >&5
4274
 
 
4275
 
eval "$as_ac_var=no"
4276
 
fi
4277
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4278
 
fi
4279
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4280
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4281
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
4282
 
  cat >>confdefs.h <<_ACEOF
4283
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4284
 
_ACEOF
4285
 
 
4286
 
fi
4287
 
done
4288
 
 
4289
 
 
4290
 
                                                  ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile sounds/Makefile pixmaps/Makefile"
 
4717
$as_echo "#define const /**/" >>confdefs.h
 
4718
 
 
4719
fi
 
4720
 
 
4721
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
 
4722
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
 
4723
if test "${ac_cv_header_stdbool_h+set}" = set; then :
 
4724
  $as_echo_n "(cached) " >&6
 
4725
else
 
4726
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4727
/* end confdefs.h.  */
 
4728
 
 
4729
#include <stdbool.h>
 
4730
#ifndef bool
 
4731
 "error: bool is not defined"
 
4732
#endif
 
4733
#ifndef false
 
4734
 "error: false is not defined"
 
4735
#endif
 
4736
#if false
 
4737
 "error: false is not 0"
 
4738
#endif
 
4739
#ifndef true
 
4740
 "error: true is not defined"
 
4741
#endif
 
4742
#if true != 1
 
4743
 "error: true is not 1"
 
4744
#endif
 
4745
#ifndef __bool_true_false_are_defined
 
4746
 "error: __bool_true_false_are_defined is not defined"
 
4747
#endif
 
4748
 
 
4749
        struct s { _Bool s: 1; _Bool t; } s;
 
4750
 
 
4751
        char a[true == 1 ? 1 : -1];
 
4752
        char b[false == 0 ? 1 : -1];
 
4753
        char c[__bool_true_false_are_defined == 1 ? 1 : -1];
 
4754
        char d[(bool) 0.5 == true ? 1 : -1];
 
4755
        bool e = &s;
 
4756
        char f[(_Bool) 0.0 == false ? 1 : -1];
 
4757
        char g[true];
 
4758
        char h[sizeof (_Bool)];
 
4759
        char i[sizeof s.t];
 
4760
        enum { j = false, k = true, l = false * true, m = true * 256 };
 
4761
        /* The following fails for
 
4762
           HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
 
4763
        _Bool n[m];
 
4764
        char o[sizeof n == m * sizeof n[0] ? 1 : -1];
 
4765
        char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
 
4766
#       if defined __xlc__ || defined __GNUC__
 
4767
         /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
 
4768
            reported by James Lemley on 2005-10-05; see
 
4769
            http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
 
4770
            This test is not quite right, since xlc is allowed to
 
4771
            reject this program, as the initializer for xlcbug is
 
4772
            not one of the forms that C requires support for.
 
4773
            However, doing the test right would require a runtime
 
4774
            test, and that would make cross-compilation harder.
 
4775
            Let us hope that IBM fixes the xlc bug, and also adds
 
4776
            support for this kind of constant expression.  In the
 
4777
            meantime, this test will reject xlc, which is OK, since
 
4778
            our stdbool.h substitute should suffice.  We also test
 
4779
            this with GCC, where it should work, to detect more
 
4780
            quickly whether someone messes up the test in the
 
4781
            future.  */
 
4782
         char digs[] = "0123456789";
 
4783
         int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
 
4784
#       endif
 
4785
        /* Catch a bug in an HP-UX C compiler.  See
 
4786
           http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
 
4787
           http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
 
4788
         */
 
4789
        _Bool q = true;
 
4790
        _Bool *pq = &q;
 
4791
 
 
4792
int
 
4793
main ()
 
4794
{
 
4795
 
 
4796
        *pq |= q;
 
4797
        *pq |= ! q;
 
4798
        /* Refer to every declared value, to avoid compiler optimizations.  */
 
4799
        return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
 
4800
                + !m + !n + !o + !p + !q + !pq);
 
4801
 
 
4802
  ;
 
4803
  return 0;
 
4804
}
 
4805
_ACEOF
 
4806
if ac_fn_c_try_compile "$LINENO"; then :
 
4807
  ac_cv_header_stdbool_h=yes
 
4808
else
 
4809
  ac_cv_header_stdbool_h=no
 
4810
fi
 
4811
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4812
fi
 
4813
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
 
4814
$as_echo "$ac_cv_header_stdbool_h" >&6; }
 
4815
ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
 
4816
if test "x$ac_cv_type__Bool" = x""yes; then :
 
4817
 
 
4818
cat >>confdefs.h <<_ACEOF
 
4819
#define HAVE__BOOL 1
 
4820
_ACEOF
 
4821
 
 
4822
 
 
4823
fi
 
4824
 
 
4825
if test $ac_cv_header_stdbool_h = yes; then
 
4826
 
 
4827
$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
 
4828
 
 
4829
fi
 
4830
 
 
4831
 
 
4832
ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
 
4833
if test "x$ac_cv_type_pid_t" = x""yes; then :
 
4834
 
 
4835
else
 
4836
 
 
4837
cat >>confdefs.h <<_ACEOF
 
4838
#define pid_t int
 
4839
_ACEOF
 
4840
 
 
4841
fi
 
4842
 
 
4843
for ac_header in vfork.h
 
4844
do :
 
4845
  ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
 
4846
if test "x$ac_cv_header_vfork_h" = x""yes; then :
 
4847
  cat >>confdefs.h <<_ACEOF
 
4848
#define HAVE_VFORK_H 1
 
4849
_ACEOF
 
4850
 
 
4851
fi
 
4852
 
 
4853
done
 
4854
 
 
4855
for ac_func in fork vfork
 
4856
do :
 
4857
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
4858
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
4859
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 
4860
  cat >>confdefs.h <<_ACEOF
 
4861
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
4862
_ACEOF
 
4863
 
 
4864
fi
 
4865
done
 
4866
 
 
4867
if test "x$ac_cv_func_fork" = xyes; then
 
4868
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
 
4869
$as_echo_n "checking for working fork... " >&6; }
 
4870
if test "${ac_cv_func_fork_works+set}" = set; then :
 
4871
  $as_echo_n "(cached) " >&6
 
4872
else
 
4873
  if test "$cross_compiling" = yes; then :
 
4874
  ac_cv_func_fork_works=cross
 
4875
else
 
4876
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4877
/* end confdefs.h.  */
 
4878
$ac_includes_default
 
4879
int
 
4880
main ()
 
4881
{
 
4882
 
 
4883
          /* By Ruediger Kuhlmann. */
 
4884
          return fork () < 0;
 
4885
 
 
4886
  ;
 
4887
  return 0;
 
4888
}
 
4889
_ACEOF
 
4890
if ac_fn_c_try_run "$LINENO"; then :
 
4891
  ac_cv_func_fork_works=yes
 
4892
else
 
4893
  ac_cv_func_fork_works=no
 
4894
fi
 
4895
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4896
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4897
fi
 
4898
 
 
4899
fi
 
4900
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
 
4901
$as_echo "$ac_cv_func_fork_works" >&6; }
 
4902
 
 
4903
else
 
4904
  ac_cv_func_fork_works=$ac_cv_func_fork
 
4905
fi
 
4906
if test "x$ac_cv_func_fork_works" = xcross; then
 
4907
  case $host in
 
4908
    *-*-amigaos* | *-*-msdosdjgpp*)
 
4909
      # Override, as these systems have only a dummy fork() stub
 
4910
      ac_cv_func_fork_works=no
 
4911
      ;;
 
4912
    *)
 
4913
      ac_cv_func_fork_works=yes
 
4914
      ;;
 
4915
  esac
 
4916
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
 
4917
$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
 
4918
fi
 
4919
ac_cv_func_vfork_works=$ac_cv_func_vfork
 
4920
if test "x$ac_cv_func_vfork" = xyes; then
 
4921
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
 
4922
$as_echo_n "checking for working vfork... " >&6; }
 
4923
if test "${ac_cv_func_vfork_works+set}" = set; then :
 
4924
  $as_echo_n "(cached) " >&6
 
4925
else
 
4926
  if test "$cross_compiling" = yes; then :
 
4927
  ac_cv_func_vfork_works=cross
 
4928
else
 
4929
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4930
/* end confdefs.h.  */
 
4931
/* Thanks to Paul Eggert for this test.  */
 
4932
$ac_includes_default
 
4933
#include <sys/wait.h>
 
4934
#ifdef HAVE_VFORK_H
 
4935
# include <vfork.h>
 
4936
#endif
 
4937
/* On some sparc systems, changes by the child to local and incoming
 
4938
   argument registers are propagated back to the parent.  The compiler
 
4939
   is told about this with #include <vfork.h>, but some compilers
 
4940
   (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
 
4941
   static variable whose address is put into a register that is
 
4942
   clobbered by the vfork.  */
 
4943
static void
 
4944
#ifdef __cplusplus
 
4945
sparc_address_test (int arg)
 
4946
# else
 
4947
sparc_address_test (arg) int arg;
 
4948
#endif
 
4949
{
 
4950
  static pid_t child;
 
4951
  if (!child) {
 
4952
    child = vfork ();
 
4953
    if (child < 0) {
 
4954
      perror ("vfork");
 
4955
      _exit(2);
 
4956
    }
 
4957
    if (!child) {
 
4958
      arg = getpid();
 
4959
      write(-1, "", 0);
 
4960
      _exit (arg);
 
4961
    }
 
4962
  }
 
4963
}
 
4964
 
 
4965
int
 
4966
main ()
 
4967
{
 
4968
  pid_t parent = getpid ();
 
4969
  pid_t child;
 
4970
 
 
4971
  sparc_address_test (0);
 
4972
 
 
4973
  child = vfork ();
 
4974
 
 
4975
  if (child == 0) {
 
4976
    /* Here is another test for sparc vfork register problems.  This
 
4977
       test uses lots of local variables, at least as many local
 
4978
       variables as main has allocated so far including compiler
 
4979
       temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
 
4980
       4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
 
4981
       reuse the register of parent for one of the local variables,
 
4982
       since it will think that parent can't possibly be used any more
 
4983
       in this routine.  Assigning to the local variable will thus
 
4984
       munge parent in the parent process.  */
 
4985
    pid_t
 
4986
      p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
 
4987
      p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
 
4988
    /* Convince the compiler that p..p7 are live; otherwise, it might
 
4989
       use the same hardware register for all 8 local variables.  */
 
4990
    if (p != p1 || p != p2 || p != p3 || p != p4
 
4991
        || p != p5 || p != p6 || p != p7)
 
4992
      _exit(1);
 
4993
 
 
4994
    /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
 
4995
       from child file descriptors.  If the child closes a descriptor
 
4996
       before it execs or exits, this munges the parent's descriptor
 
4997
       as well.  Test for this by closing stdout in the child.  */
 
4998
    _exit(close(fileno(stdout)) != 0);
 
4999
  } else {
 
5000
    int status;
 
5001
    struct stat st;
 
5002
 
 
5003
    while (wait(&status) != child)
 
5004
      ;
 
5005
    return (
 
5006
         /* Was there some problem with vforking?  */
 
5007
         child < 0
 
5008
 
 
5009
         /* Did the child fail?  (This shouldn't happen.)  */
 
5010
         || status
 
5011
 
 
5012
         /* Did the vfork/compiler bug occur?  */
 
5013
         || parent != getpid()
 
5014
 
 
5015
         /* Did the file descriptor bug occur?  */
 
5016
         || fstat(fileno(stdout), &st) != 0
 
5017
         );
 
5018
  }
 
5019
}
 
5020
_ACEOF
 
5021
if ac_fn_c_try_run "$LINENO"; then :
 
5022
  ac_cv_func_vfork_works=yes
 
5023
else
 
5024
  ac_cv_func_vfork_works=no
 
5025
fi
 
5026
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
5027
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
5028
fi
 
5029
 
 
5030
fi
 
5031
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
 
5032
$as_echo "$ac_cv_func_vfork_works" >&6; }
 
5033
 
 
5034
fi;
 
5035
if test "x$ac_cv_func_fork_works" = xcross; then
 
5036
  ac_cv_func_vfork_works=$ac_cv_func_vfork
 
5037
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
 
5038
$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
 
5039
fi
 
5040
 
 
5041
if test "x$ac_cv_func_vfork_works" = xyes; then
 
5042
 
 
5043
$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
 
5044
 
 
5045
else
 
5046
 
 
5047
$as_echo "#define vfork fork" >>confdefs.h
 
5048
 
 
5049
fi
 
5050
if test "x$ac_cv_func_fork_works" = xyes; then
 
5051
 
 
5052
$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
 
5053
 
 
5054
fi
 
5055
 
 
5056
for ac_header in stdlib.h
 
5057
do :
 
5058
  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
 
5059
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
 
5060
  cat >>confdefs.h <<_ACEOF
 
5061
#define HAVE_STDLIB_H 1
 
5062
_ACEOF
 
5063
 
 
5064
fi
 
5065
 
 
5066
done
 
5067
 
 
5068
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
 
5069
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
 
5070
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
 
5071
  $as_echo_n "(cached) " >&6
 
5072
else
 
5073
  if test "$cross_compiling" = yes; then :
 
5074
  ac_cv_func_malloc_0_nonnull=no
 
5075
else
 
5076
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5077
/* end confdefs.h.  */
 
5078
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
 
5079
# include <stdlib.h>
 
5080
#else
 
5081
char *malloc ();
 
5082
#endif
 
5083
 
 
5084
int
 
5085
main ()
 
5086
{
 
5087
return ! malloc (0);
 
5088
  ;
 
5089
  return 0;
 
5090
}
 
5091
_ACEOF
 
5092
if ac_fn_c_try_run "$LINENO"; then :
 
5093
  ac_cv_func_malloc_0_nonnull=yes
 
5094
else
 
5095
  ac_cv_func_malloc_0_nonnull=no
 
5096
fi
 
5097
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
5098
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
5099
fi
 
5100
 
 
5101
fi
 
5102
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
 
5103
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
 
5104
if test $ac_cv_func_malloc_0_nonnull = yes; then :
 
5105
 
 
5106
$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
 
5107
 
 
5108
else
 
5109
  $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
 
5110
 
 
5111
   case " $LIBOBJS " in
 
5112
  *" malloc.$ac_objext "* ) ;;
 
5113
  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
 
5114
 ;;
 
5115
esac
 
5116
 
 
5117
 
 
5118
$as_echo "#define malloc rpl_malloc" >>confdefs.h
 
5119
 
 
5120
fi
 
5121
 
 
5122
 
 
5123
for ac_func in getcwd memset mkdir sqrt strcasecmp strncasecmp strpbrk strstr strtol
 
5124
do :
 
5125
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
5126
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
5127
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 
5128
  cat >>confdefs.h <<_ACEOF
 
5129
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
5130
_ACEOF
 
5131
 
 
5132
fi
 
5133
done
 
5134
 
 
5135
 
 
5136
ac_config_files="$ac_config_files Makefile doc/Makefile pixmaps/Makefile sounds/Makefile src/Makefile"
 
5137
 
4291
5138
cat >confcache <<\_ACEOF
4292
5139
# This file is a shell script that caches the results of configure
4293
5140
# tests run on this system so they can be shared between configure
4306
5153
 
4307
5154
# The following way of writing the cache mishandles newlines in values,
4308
5155
# but we know of no workaround that is simple, portable, and efficient.
4309
 
# So, don't put newlines in cache variables' values.
 
5156
# So, we kill variables containing newlines.
4310
5157
# Ultrix sh set writes to stderr and can't be redirected directly,
4311
5158
# and sets the high bit in the cache file unless we assign to the vars.
4312
 
{
 
5159
(
 
5160
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
5161
    eval ac_val=\$$ac_var
 
5162
    case $ac_val in #(
 
5163
    *${as_nl}*)
 
5164
      case $ac_var in #(
 
5165
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
5166
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
5167
      esac
 
5168
      case $ac_var in #(
 
5169
      _ | IFS | as_nl) ;; #(
 
5170
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
5171
      *) { eval $ac_var=; unset $ac_var;} ;;
 
5172
      esac ;;
 
5173
    esac
 
5174
  done
 
5175
 
4313
5176
  (set) 2>&1 |
4314
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
4315
 
    *ac_space=\ *)
4316
 
      # `set' does not quote correctly, so add quotes (double-quote
4317
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
5177
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
5178
    *${as_nl}ac_space=\ *)
 
5179
      # `set' does not quote correctly, so add quotes: double-quote
 
5180
      # substitution turns \\\\ into \\, and sed turns \\ into \.
4318
5181
      sed -n \
4319
 
        "s/'/'\\\\''/g;
4320
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4321
 
      ;;
 
5182
        "s/'/'\\\\''/g;
 
5183
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
5184
      ;; #(
4322
5185
    *)
4323
5186
      # `set' quotes correctly as required by POSIX, so do not add quotes.
4324
 
      sed -n \
4325
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
5187
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4326
5188
      ;;
4327
 
    esac;
4328
 
} |
 
5189
    esac |
 
5190
    sort
 
5191
) |
4329
5192
  sed '
 
5193
     /^ac_cv_env_/b end
4330
5194
     t clear
4331
 
     : clear
 
5195
     :clear
4332
5196
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4333
5197
     t end
4334
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4335
 
     : end' >>confcache
4336
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
4337
 
  if test -w $cache_file; then
4338
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
5198
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
5199
     :end' >>confcache
 
5200
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
5201
  if test -w "$cache_file"; then
 
5202
    test "x$cache_file" != "x/dev/null" &&
 
5203
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
5204
$as_echo "$as_me: updating cache $cache_file" >&6;}
4339
5205
    cat confcache >$cache_file
4340
5206
  else
4341
 
    echo "not updating unwritable cache $cache_file"
 
5207
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
5208
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4342
5209
  fi
4343
5210
fi
4344
5211
rm -f confcache
4347
5214
# Let make expand exec_prefix.
4348
5215
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4349
5216
 
4350
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4351
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4352
 
# trailing colons and then remove the whole line if VPATH becomes empty
4353
 
# (actually we leave an empty line to preserve line numbers).
4354
 
if test "x$srcdir" = x.; then
4355
 
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
4356
 
s/:*\$(srcdir):*/:/;
4357
 
s/:*\${srcdir}:*/:/;
4358
 
s/:*@srcdir@:*/:/;
4359
 
s/^\([^=]*=[    ]*\):*/\1/;
4360
 
s/:*$//;
4361
 
s/^[^=]*=[      ]*$//;
4362
 
}'
4363
 
fi
4364
 
 
4365
5217
DEFS=-DHAVE_CONFIG_H
4366
5218
 
4367
5219
ac_libobjs=
4368
5220
ac_ltlibobjs=
 
5221
U=
4369
5222
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4370
5223
  # 1. Remove the extension, and $U if already installed.
4371
 
  ac_i=`echo "$ac_i" |
4372
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4373
 
  # 2. Add them.
4374
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4375
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
5224
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
5225
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
5226
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
5227
  #    will be set to the directory where LIBOBJS objects are built.
 
5228
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
5229
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4376
5230
done
4377
5231
LIBOBJS=$ac_libobjs
4378
5232
 
4379
5233
LTLIBOBJS=$ac_ltlibobjs
4380
5234
 
4381
5235
 
 
5236
 if test -n "$EXEEXT"; then
 
5237
  am__EXEEXT_TRUE=
 
5238
  am__EXEEXT_FALSE='#'
 
5239
else
 
5240
  am__EXEEXT_TRUE='#'
 
5241
  am__EXEEXT_FALSE=
 
5242
fi
 
5243
 
4382
5244
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4383
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4384
 
Usually this means the macro was only invoked conditionally." >&5
4385
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
4386
 
Usually this means the macro was only invoked conditionally." >&2;}
4387
 
   { (exit 1); exit 1; }; }
 
5245
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
5246
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
5247
fi
 
5248
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
5249
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
5250
Usually this means the macro was only invoked conditionally." "$LINENO" 5
4388
5251
fi
4389
5252
if test -z "${WITH_GNOME_TRUE}" && test -z "${WITH_GNOME_FALSE}"; then
4390
 
  { { echo "$as_me:$LINENO: error: conditional \"WITH_GNOME\" was never defined.
4391
 
Usually this means the macro was only invoked conditionally." >&5
4392
 
echo "$as_me: error: conditional \"WITH_GNOME\" was never defined.
4393
 
Usually this means the macro was only invoked conditionally." >&2;}
4394
 
   { (exit 1); exit 1; }; }
 
5253
  as_fn_error $? "conditional \"WITH_GNOME\" was never defined.
 
5254
Usually this means the macro was only invoked conditionally." "$LINENO" 5
4395
5255
fi
4396
5256
 
4397
5257
: ${CONFIG_STATUS=./config.status}
 
5258
ac_write_fail=0
4398
5259
ac_clean_files_save=$ac_clean_files
4399
5260
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4400
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4401
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
4402
 
cat >$CONFIG_STATUS <<_ACEOF
 
5261
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
5262
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
5263
as_write_fail=0
 
5264
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4403
5265
#! $SHELL
4404
5266
# Generated by $as_me.
4405
5267
# Run this file to recreate the current configuration.
4409
5271
debug=false
4410
5272
ac_cs_recheck=false
4411
5273
ac_cs_silent=false
 
5274
 
4412
5275
SHELL=\${CONFIG_SHELL-$SHELL}
4413
 
_ACEOF
4414
 
 
4415
 
cat >>$CONFIG_STATUS <<\_ACEOF
4416
 
## --------------------- ##
4417
 
## M4sh Initialization.  ##
4418
 
## --------------------- ##
4419
 
 
4420
 
# Be Bourne compatible
4421
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
5276
export SHELL
 
5277
_ASEOF
 
5278
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
5279
## -------------------- ##
 
5280
## M4sh Initialization. ##
 
5281
## -------------------- ##
 
5282
 
 
5283
# Be more Bourne compatible
 
5284
DUALCASE=1; export DUALCASE # for MKS sh
 
5285
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4422
5286
  emulate sh
4423
5287
  NULLCMD=:
4424
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
5288
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4425
5289
  # is contrary to our usage.  Disable this feature.
4426
5290
  alias -g '${1+"$@"}'='"$@"'
4427
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4428
 
  set -o posix
4429
 
fi
4430
 
 
4431
 
# Support unset when possible.
4432
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4433
 
  as_unset=unset
4434
 
else
4435
 
  as_unset=false
4436
 
fi
4437
 
 
4438
 
 
4439
 
# Work around bugs in pre-3.0 UWIN ksh.
4440
 
$as_unset ENV MAIL MAILPATH
 
5291
  setopt NO_GLOB_SUBST
 
5292
else
 
5293
  case `(set -o) 2>/dev/null` in #(
 
5294
  *posix*) :
 
5295
    set -o posix ;; #(
 
5296
  *) :
 
5297
     ;;
 
5298
esac
 
5299
fi
 
5300
 
 
5301
 
 
5302
as_nl='
 
5303
'
 
5304
export as_nl
 
5305
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
5306
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
5307
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
5308
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
5309
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
5310
# but without wasting forks for bash or zsh.
 
5311
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
5312
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
5313
  as_echo='print -r --'
 
5314
  as_echo_n='print -rn --'
 
5315
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
5316
  as_echo='printf %s\n'
 
5317
  as_echo_n='printf %s'
 
5318
else
 
5319
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
5320
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
5321
    as_echo_n='/usr/ucb/echo -n'
 
5322
  else
 
5323
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
5324
    as_echo_n_body='eval
 
5325
      arg=$1;
 
5326
      case $arg in #(
 
5327
      *"$as_nl"*)
 
5328
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
5329
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
5330
      esac;
 
5331
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
5332
    '
 
5333
    export as_echo_n_body
 
5334
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
5335
  fi
 
5336
  export as_echo_body
 
5337
  as_echo='sh -c $as_echo_body as_echo'
 
5338
fi
 
5339
 
 
5340
# The user is always right.
 
5341
if test "${PATH_SEPARATOR+set}" != set; then
 
5342
  PATH_SEPARATOR=:
 
5343
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
5344
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
5345
      PATH_SEPARATOR=';'
 
5346
  }
 
5347
fi
 
5348
 
 
5349
 
 
5350
# IFS
 
5351
# We need space, tab and new line, in precisely that order.  Quoting is
 
5352
# there to prevent editors from complaining about space-tab.
 
5353
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
5354
# splitting by setting IFS to empty value.)
 
5355
IFS=" ""        $as_nl"
 
5356
 
 
5357
# Find who we are.  Look in the path if we contain no directory separator.
 
5358
case $0 in #((
 
5359
  *[\\/]* ) as_myself=$0 ;;
 
5360
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5361
for as_dir in $PATH
 
5362
do
 
5363
  IFS=$as_save_IFS
 
5364
  test -z "$as_dir" && as_dir=.
 
5365
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
5366
  done
 
5367
IFS=$as_save_IFS
 
5368
 
 
5369
     ;;
 
5370
esac
 
5371
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
5372
# in which case we are not to be found in the path.
 
5373
if test "x$as_myself" = x; then
 
5374
  as_myself=$0
 
5375
fi
 
5376
if test ! -f "$as_myself"; then
 
5377
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
5378
  exit 1
 
5379
fi
 
5380
 
 
5381
# Unset variables that we do not need and which cause bugs (e.g. in
 
5382
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
5383
# suppresses any "Segmentation fault" message there.  '((' could
 
5384
# trigger a bug in pdksh 5.2.14.
 
5385
for as_var in BASH_ENV ENV MAIL MAILPATH
 
5386
do eval test x\${$as_var+set} = xset \
 
5387
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
5388
done
4441
5389
PS1='$ '
4442
5390
PS2='> '
4443
5391
PS4='+ '
4444
5392
 
4445
5393
# NLS nuisances.
4446
 
for as_var in \
4447
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4448
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4449
 
  LC_TELEPHONE LC_TIME
4450
 
do
4451
 
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
4452
 
    eval $as_var=C; export $as_var
4453
 
  else
4454
 
    $as_unset $as_var
 
5394
LC_ALL=C
 
5395
export LC_ALL
 
5396
LANGUAGE=C
 
5397
export LANGUAGE
 
5398
 
 
5399
# CDPATH.
 
5400
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
5401
 
 
5402
 
 
5403
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
5404
# ----------------------------------------
 
5405
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
5406
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
5407
# script with STATUS, using 1 if that was 0.
 
5408
as_fn_error ()
 
5409
{
 
5410
  as_status=$1; test $as_status -eq 0 && as_status=1
 
5411
  if test "$4"; then
 
5412
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
5413
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4455
5414
  fi
4456
 
done
4457
 
 
4458
 
# Required to use basename.
4459
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
5415
  $as_echo "$as_me: error: $2" >&2
 
5416
  as_fn_exit $as_status
 
5417
} # as_fn_error
 
5418
 
 
5419
 
 
5420
# as_fn_set_status STATUS
 
5421
# -----------------------
 
5422
# Set $? to STATUS, without forking.
 
5423
as_fn_set_status ()
 
5424
{
 
5425
  return $1
 
5426
} # as_fn_set_status
 
5427
 
 
5428
# as_fn_exit STATUS
 
5429
# -----------------
 
5430
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
5431
as_fn_exit ()
 
5432
{
 
5433
  set +e
 
5434
  as_fn_set_status $1
 
5435
  exit $1
 
5436
} # as_fn_exit
 
5437
 
 
5438
# as_fn_unset VAR
 
5439
# ---------------
 
5440
# Portably unset VAR.
 
5441
as_fn_unset ()
 
5442
{
 
5443
  { eval $1=; unset $1;}
 
5444
}
 
5445
as_unset=as_fn_unset
 
5446
# as_fn_append VAR VALUE
 
5447
# ----------------------
 
5448
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
5449
# advantage of any shell optimizations that allow amortized linear growth over
 
5450
# repeated appends, instead of the typical quadratic growth present in naive
 
5451
# implementations.
 
5452
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
5453
  eval 'as_fn_append ()
 
5454
  {
 
5455
    eval $1+=\$2
 
5456
  }'
 
5457
else
 
5458
  as_fn_append ()
 
5459
  {
 
5460
    eval $1=\$$1\$2
 
5461
  }
 
5462
fi # as_fn_append
 
5463
 
 
5464
# as_fn_arith ARG...
 
5465
# ------------------
 
5466
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
5467
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
5468
# must be portable across $(()) and expr.
 
5469
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
5470
  eval 'as_fn_arith ()
 
5471
  {
 
5472
    as_val=$(( $* ))
 
5473
  }'
 
5474
else
 
5475
  as_fn_arith ()
 
5476
  {
 
5477
    as_val=`expr "$@" || test $? -eq 1`
 
5478
  }
 
5479
fi # as_fn_arith
 
5480
 
 
5481
 
 
5482
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
5483
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4460
5484
  as_expr=expr
4461
5485
else
4462
5486
  as_expr=false
4463
5487
fi
4464
5488
 
4465
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
5489
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4466
5490
  as_basename=basename
4467
5491
else
4468
5492
  as_basename=false
4469
5493
fi
4470
5494
 
 
5495
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
5496
  as_dirname=dirname
 
5497
else
 
5498
  as_dirname=false
 
5499
fi
4471
5500
 
4472
 
# Name of the executable.
4473
 
as_me=`$as_basename "$0" ||
 
5501
as_me=`$as_basename -- "$0" ||
4474
5502
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4475
5503
         X"$0" : 'X\(//\)$' \| \
4476
 
         X"$0" : 'X\(/\)$' \| \
4477
 
         .     : '\(.\)' 2>/dev/null ||
4478
 
echo X/"$0" |
4479
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4480
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
4481
 
          /^X\/\(\/\).*/{ s//\1/; q; }
4482
 
          s/.*/./; q'`
4483
 
 
4484
 
 
4485
 
# PATH needs CR, and LINENO needs CR and PATH.
 
5504
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
5505
$as_echo X/"$0" |
 
5506
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
5507
            s//\1/
 
5508
            q
 
5509
          }
 
5510
          /^X\/\(\/\/\)$/{
 
5511
            s//\1/
 
5512
            q
 
5513
          }
 
5514
          /^X\/\(\/\).*/{
 
5515
            s//\1/
 
5516
            q
 
5517
          }
 
5518
          s/.*/./; q'`
 
5519
 
4486
5520
# Avoid depending upon Character Ranges.
4487
5521
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4488
5522
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4490
5524
as_cr_digits='0123456789'
4491
5525
as_cr_alnum=$as_cr_Letters$as_cr_digits
4492
5526
 
4493
 
# The user is always right.
4494
 
if test "${PATH_SEPARATOR+set}" != set; then
4495
 
  echo "#! /bin/sh" >conf$$.sh
4496
 
  echo  "exit 0"   >>conf$$.sh
4497
 
  chmod +x conf$$.sh
4498
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4499
 
    PATH_SEPARATOR=';'
4500
 
  else
4501
 
    PATH_SEPARATOR=:
4502
 
  fi
4503
 
  rm -f conf$$.sh
4504
 
fi
4505
 
 
4506
 
 
4507
 
  as_lineno_1=$LINENO
4508
 
  as_lineno_2=$LINENO
4509
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4510
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
4511
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
4512
 
  # Find who we are.  Look in the path if we contain no path at all
4513
 
  # relative or not.
4514
 
  case $0 in
4515
 
    *[\\/]* ) as_myself=$0 ;;
4516
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4517
 
for as_dir in $PATH
4518
 
do
4519
 
  IFS=$as_save_IFS
4520
 
  test -z "$as_dir" && as_dir=.
4521
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4522
 
done
4523
 
 
4524
 
       ;;
4525
 
  esac
4526
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
4527
 
  # in which case we are not to be found in the path.
4528
 
  if test "x$as_myself" = x; then
4529
 
    as_myself=$0
4530
 
  fi
4531
 
  if test ! -f "$as_myself"; then
4532
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4533
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4534
 
   { (exit 1); exit 1; }; }
4535
 
  fi
4536
 
  case $CONFIG_SHELL in
4537
 
  '')
4538
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4539
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4540
 
do
4541
 
  IFS=$as_save_IFS
4542
 
  test -z "$as_dir" && as_dir=.
4543
 
  for as_base in sh bash ksh sh5; do
4544
 
         case $as_dir in
4545
 
         /*)
4546
 
           if ("$as_dir/$as_base" -c '
4547
 
  as_lineno_1=$LINENO
4548
 
  as_lineno_2=$LINENO
4549
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4550
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
4551
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
4552
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4553
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4554
 
             CONFIG_SHELL=$as_dir/$as_base
4555
 
             export CONFIG_SHELL
4556
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4557
 
           fi;;
4558
 
         esac
4559
 
       done
4560
 
done
4561
 
;;
4562
 
  esac
4563
 
 
4564
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4565
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
4566
 
  # line-number line before each line; the second 'sed' does the real
4567
 
  # work.  The second script uses 'N' to pair each line-number line
4568
 
  # with the numbered line, and appends trailing '-' during
4569
 
  # substitution so that $LINENO is not a special case at line end.
4570
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4571
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
4572
 
  sed '=' <$as_myself |
4573
 
    sed '
4574
 
      N
4575
 
      s,$,-,
4576
 
      : loop
4577
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4578
 
      t loop
4579
 
      s,-$,,
4580
 
      s,^['$as_cr_digits']*\n,,
4581
 
    ' >$as_me.lineno &&
4582
 
  chmod +x $as_me.lineno ||
4583
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4584
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4585
 
   { (exit 1); exit 1; }; }
4586
 
 
4587
 
  # Don't try to exec as it changes $[0], causing all sort of problems
4588
 
  # (the dirname of $[0] is not the place where we might find the
4589
 
  # original and so on.  Autoconf is especially sensible to this).
4590
 
  . ./$as_me.lineno
4591
 
  # Exit status is that of the last command.
4592
 
  exit
4593
 
}
4594
 
 
4595
 
 
4596
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4597
 
  *c*,-n*) ECHO_N= ECHO_C='
4598
 
' ECHO_T='      ' ;;
4599
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4600
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
5527
ECHO_C= ECHO_N= ECHO_T=
 
5528
case `echo -n x` in #(((((
 
5529
-n*)
 
5530
  case `echo 'xy\c'` in
 
5531
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
5532
  xy)  ECHO_C='\c';;
 
5533
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
5534
       ECHO_T=' ';;
 
5535
  esac;;
 
5536
*)
 
5537
  ECHO_N='-n';;
4601
5538
esac
4602
5539
 
4603
 
if expr a : '\(a\)' >/dev/null 2>&1; then
4604
 
  as_expr=expr
 
5540
rm -f conf$$ conf$$.exe conf$$.file
 
5541
if test -d conf$$.dir; then
 
5542
  rm -f conf$$.dir/conf$$.file
4605
5543
else
4606
 
  as_expr=false
 
5544
  rm -f conf$$.dir
 
5545
  mkdir conf$$.dir 2>/dev/null
4607
5546
fi
4608
 
 
4609
 
rm -f conf$$ conf$$.exe conf$$.file
4610
 
echo >conf$$.file
4611
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
4612
 
  # We could just check for DJGPP; but this test a) works b) is more generic
4613
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4614
 
  if test -f conf$$.exe; then
4615
 
    # Don't use ln at all; we don't have any links
 
5547
if (echo >conf$$.file) 2>/dev/null; then
 
5548
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
5549
    as_ln_s='ln -s'
 
5550
    # ... but there are two gotchas:
 
5551
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
5552
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
5553
    # In both cases, we have to default to `cp -p'.
 
5554
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
5555
      as_ln_s='cp -p'
 
5556
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
5557
    as_ln_s=ln
 
5558
  else
4616
5559
    as_ln_s='cp -p'
4617
 
  else
4618
 
    as_ln_s='ln -s'
4619
5560
  fi
4620
 
elif ln conf$$.file conf$$ 2>/dev/null; then
4621
 
  as_ln_s=ln
4622
5561
else
4623
5562
  as_ln_s='cp -p'
4624
5563
fi
4625
 
rm -f conf$$ conf$$.exe conf$$.file
4626
 
 
 
5564
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
5565
rmdir conf$$.dir 2>/dev/null
 
5566
 
 
5567
 
 
5568
# as_fn_mkdir_p
 
5569
# -------------
 
5570
# Create "$as_dir" as a directory, including parents if necessary.
 
5571
as_fn_mkdir_p ()
 
5572
{
 
5573
 
 
5574
  case $as_dir in #(
 
5575
  -*) as_dir=./$as_dir;;
 
5576
  esac
 
5577
  test -d "$as_dir" || eval $as_mkdir_p || {
 
5578
    as_dirs=
 
5579
    while :; do
 
5580
      case $as_dir in #(
 
5581
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
5582
      *) as_qdir=$as_dir;;
 
5583
      esac
 
5584
      as_dirs="'$as_qdir' $as_dirs"
 
5585
      as_dir=`$as_dirname -- "$as_dir" ||
 
5586
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
5587
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5588
         X"$as_dir" : 'X\(//\)$' \| \
 
5589
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
5590
$as_echo X"$as_dir" |
 
5591
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5592
            s//\1/
 
5593
            q
 
5594
          }
 
5595
          /^X\(\/\/\)[^/].*/{
 
5596
            s//\1/
 
5597
            q
 
5598
          }
 
5599
          /^X\(\/\/\)$/{
 
5600
            s//\1/
 
5601
            q
 
5602
          }
 
5603
          /^X\(\/\).*/{
 
5604
            s//\1/
 
5605
            q
 
5606
          }
 
5607
          s/.*/./; q'`
 
5608
      test -d "$as_dir" && break
 
5609
    done
 
5610
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
5611
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
5612
 
 
5613
 
 
5614
} # as_fn_mkdir_p
4627
5615
if mkdir -p . 2>/dev/null; then
4628
 
  as_mkdir_p=:
 
5616
  as_mkdir_p='mkdir -p "$as_dir"'
4629
5617
else
 
5618
  test -d ./-p && rmdir ./-p
4630
5619
  as_mkdir_p=false
4631
5620
fi
4632
5621
 
4633
 
as_executable_p="test -f"
 
5622
if test -x / >/dev/null 2>&1; then
 
5623
  as_test_x='test -x'
 
5624
else
 
5625
  if ls -dL / >/dev/null 2>&1; then
 
5626
    as_ls_L_option=L
 
5627
  else
 
5628
    as_ls_L_option=
 
5629
  fi
 
5630
  as_test_x='
 
5631
    eval sh -c '\''
 
5632
      if test -d "$1"; then
 
5633
        test -d "$1/.";
 
5634
      else
 
5635
        case $1 in #(
 
5636
        -*)set "./$1";;
 
5637
        esac;
 
5638
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
5639
        ???[sx]*):;;*)false;;esac;fi
 
5640
    '\'' sh
 
5641
  '
 
5642
fi
 
5643
as_executable_p=$as_test_x
4634
5644
 
4635
5645
# Sed expression to map a string onto a valid CPP name.
4636
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
5646
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4637
5647
 
4638
5648
# Sed expression to map a string onto a valid variable name.
4639
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4640
 
 
4641
 
 
4642
 
# IFS
4643
 
# We need space, tab and new line, in precisely that order.
4644
 
as_nl='
4645
 
'
4646
 
IFS="   $as_nl"
4647
 
 
4648
 
# CDPATH.
4649
 
$as_unset CDPATH
 
5649
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
5650
 
4650
5651
 
4651
5652
exec 6>&1
 
5653
## ----------------------------------- ##
 
5654
## Main body of $CONFIG_STATUS script. ##
 
5655
## ----------------------------------- ##
 
5656
_ASEOF
 
5657
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4652
5658
 
4653
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
5659
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
5660
# Save the log message, to keep $0 and so on meaningful, and to
4654
5661
# report actual input values of CONFIG_FILES etc. instead of their
4655
 
# values after options handling.  Logging --version etc. is OK.
4656
 
exec 5>>config.log
4657
 
{
4658
 
  echo
4659
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4660
 
## Running $as_me. ##
4661
 
_ASBOX
4662
 
} >&5
4663
 
cat >&5 <<_CSEOF
4664
 
 
4665
 
This file was extended by $as_me, which was
4666
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
5662
# values after options handling.
 
5663
ac_log="
 
5664
This file was extended by gtkboard $as_me 0.11pre0, which was
 
5665
generated by GNU Autoconf 2.67.  Invocation command line was
4667
5666
 
4668
5667
  CONFIG_FILES    = $CONFIG_FILES
4669
5668
  CONFIG_HEADERS  = $CONFIG_HEADERS
4671
5670
  CONFIG_COMMANDS = $CONFIG_COMMANDS
4672
5671
  $ $0 $@
4673
5672
 
4674
 
_CSEOF
4675
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4676
 
echo >&5
 
5673
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
5674
"
 
5675
 
4677
5676
_ACEOF
4678
5677
 
 
5678
case $ac_config_files in *"
 
5679
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
5680
esac
 
5681
 
 
5682
case $ac_config_headers in *"
 
5683
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
5684
esac
 
5685
 
 
5686
 
 
5687
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4679
5688
# Files that config.status was made for.
4680
 
if test -n "$ac_config_files"; then
4681
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4682
 
fi
4683
 
 
4684
 
if test -n "$ac_config_headers"; then
4685
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4686
 
fi
4687
 
 
4688
 
if test -n "$ac_config_links"; then
4689
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4690
 
fi
4691
 
 
4692
 
if test -n "$ac_config_commands"; then
4693
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4694
 
fi
4695
 
 
4696
 
cat >>$CONFIG_STATUS <<\_ACEOF
4697
 
 
 
5689
config_files="$ac_config_files"
 
5690
config_headers="$ac_config_headers"
 
5691
config_commands="$ac_config_commands"
 
5692
 
 
5693
_ACEOF
 
5694
 
 
5695
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4698
5696
ac_cs_usage="\
4699
 
\`$as_me' instantiates files from templates according to the
4700
 
current configuration.
 
5697
\`$as_me' instantiates files and other configuration actions
 
5698
from templates according to the current configuration.  Unless the files
 
5699
and actions are specified as TAGs, all are instantiated by default.
4701
5700
 
4702
 
Usage: $0 [OPTIONS] [FILE]...
 
5701
Usage: $0 [OPTION]... [TAG]...
4703
5702
 
4704
5703
  -h, --help       print this help, then exit
4705
 
  -V, --version    print version number, then exit
4706
 
  -q, --quiet      do not print progress messages
 
5704
  -V, --version    print version number and configuration settings, then exit
 
5705
      --config     print configuration, then exit
 
5706
  -q, --quiet, --silent
 
5707
                   do not print progress messages
4707
5708
  -d, --debug      don't remove temporary files
4708
5709
      --recheck    update $as_me by reconfiguring in the same conditions
4709
 
  --file=FILE[:TEMPLATE]
 
5710
      --file=FILE[:TEMPLATE]
4710
5711
                   instantiate the configuration file FILE
4711
 
  --header=FILE[:TEMPLATE]
 
5712
      --header=FILE[:TEMPLATE]
4712
5713
                   instantiate the configuration header FILE
4713
5714
 
4714
5715
Configuration files:
4720
5721
Configuration commands:
4721
5722
$config_commands
4722
5723
 
4723
 
Report bugs to <bug-autoconf@gnu.org>."
 
5724
Report bugs to the package provider."
 
5725
 
4724
5726
_ACEOF
4725
 
 
4726
 
cat >>$CONFIG_STATUS <<_ACEOF
 
5727
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5728
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4727
5729
ac_cs_version="\\
4728
 
config.status
4729
 
configured by $0, generated by GNU Autoconf 2.57,
4730
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
5730
gtkboard config.status 0.11pre0
 
5731
configured by $0, generated by GNU Autoconf 2.67,
 
5732
  with options \\"\$ac_cs_config\\"
4731
5733
 
4732
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4733
 
Free Software Foundation, Inc.
 
5734
Copyright (C) 2010 Free Software Foundation, Inc.
4734
5735
This config.status script is free software; the Free Software Foundation
4735
5736
gives unlimited permission to copy, distribute and modify it."
4736
 
srcdir=$srcdir
4737
 
INSTALL="$INSTALL"
 
5737
 
 
5738
ac_pwd='$ac_pwd'
 
5739
srcdir='$srcdir'
 
5740
INSTALL='$INSTALL'
 
5741
MKDIR_P='$MKDIR_P'
 
5742
AWK='$AWK'
 
5743
test -n "\$AWK" || AWK=awk
4738
5744
_ACEOF
4739
5745
 
4740
 
cat >>$CONFIG_STATUS <<\_ACEOF
4741
 
# If no file are specified by the user, then we need to provide default
4742
 
# value.  By we need to know if files were specified by the user.
 
5746
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
5747
# The default lists apply if the user does not specify any file.
4743
5748
ac_need_defaults=:
4744
5749
while test $# != 0
4745
5750
do
4746
5751
  case $1 in
4747
 
  --*=*)
4748
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
4749
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4750
 
    ac_shift=:
4751
 
    ;;
4752
 
  -*)
 
5752
  --*=?*)
 
5753
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
5754
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
5755
    ac_shift=:
 
5756
    ;;
 
5757
  --*=)
 
5758
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
5759
    ac_optarg=
 
5760
    ac_shift=:
 
5761
    ;;
 
5762
  *)
4753
5763
    ac_option=$1
4754
5764
    ac_optarg=$2
4755
5765
    ac_shift=shift
4756
5766
    ;;
4757
 
  *) # This is not an option, so the user has probably given explicit
4758
 
     # arguments.
4759
 
     ac_option=$1
4760
 
     ac_need_defaults=false;;
4761
5767
  esac
4762
5768
 
4763
5769
  case $ac_option in
4764
5770
  # Handling of the options.
4765
 
_ACEOF
4766
 
cat >>$CONFIG_STATUS <<\_ACEOF
4767
5771
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4768
5772
    ac_cs_recheck=: ;;
4769
 
  --version | --vers* | -V )
4770
 
    echo "$ac_cs_version"; exit 0 ;;
 
5773
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
5774
    $as_echo "$ac_cs_version"; exit ;;
 
5775
  --config | --confi | --conf | --con | --co | --c )
 
5776
    $as_echo "$ac_cs_config"; exit ;;
 
5777
  --debug | --debu | --deb | --de | --d | -d )
 
5778
    debug=: ;;
 
5779
  --file | --fil | --fi | --f )
 
5780
    $ac_shift
 
5781
    case $ac_optarg in
 
5782
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
5783
    '') as_fn_error $? "missing file argument" ;;
 
5784
    esac
 
5785
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
5786
    ac_need_defaults=false;;
 
5787
  --header | --heade | --head | --hea )
 
5788
    $ac_shift
 
5789
    case $ac_optarg in
 
5790
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
5791
    esac
 
5792
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
5793
    ac_need_defaults=false;;
4771
5794
  --he | --h)
4772
5795
    # Conflict between --help and --header
4773
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
4774
 
Try \`$0 --help' for more information." >&5
4775
 
echo "$as_me: error: ambiguous option: $1
4776
 
Try \`$0 --help' for more information." >&2;}
4777
 
   { (exit 1); exit 1; }; };;
 
5796
    as_fn_error $? "ambiguous option: \`$1'
 
5797
Try \`$0 --help' for more information.";;
4778
5798
  --help | --hel | -h )
4779
 
    echo "$ac_cs_usage"; exit 0 ;;
4780
 
  --debug | --d* | -d )
4781
 
    debug=: ;;
4782
 
  --file | --fil | --fi | --f )
4783
 
    $ac_shift
4784
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4785
 
    ac_need_defaults=false;;
4786
 
  --header | --heade | --head | --hea )
4787
 
    $ac_shift
4788
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4789
 
    ac_need_defaults=false;;
 
5799
    $as_echo "$ac_cs_usage"; exit ;;
4790
5800
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4791
5801
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4792
5802
    ac_cs_silent=: ;;
4793
5803
 
4794
5804
  # This is an error.
4795
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4796
 
Try \`$0 --help' for more information." >&5
4797
 
echo "$as_me: error: unrecognized option: $1
4798
 
Try \`$0 --help' for more information." >&2;}
4799
 
   { (exit 1); exit 1; }; } ;;
 
5805
  -*) as_fn_error $? "unrecognized option: \`$1'
 
5806
Try \`$0 --help' for more information." ;;
4800
5807
 
4801
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
5808
  *) as_fn_append ac_config_targets " $1"
 
5809
     ac_need_defaults=false ;;
4802
5810
 
4803
5811
  esac
4804
5812
  shift
4812
5820
fi
4813
5821
 
4814
5822
_ACEOF
4815
 
cat >>$CONFIG_STATUS <<_ACEOF
 
5823
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4816
5824
if \$ac_cs_recheck; then
4817
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4818
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
5825
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
5826
  shift
 
5827
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
5828
  CONFIG_SHELL='$SHELL'
 
5829
  export CONFIG_SHELL
 
5830
  exec "\$@"
4819
5831
fi
4820
5832
 
4821
5833
_ACEOF
4822
 
 
4823
 
cat >>$CONFIG_STATUS <<_ACEOF
4824
 
#
4825
 
# INIT-COMMANDS section.
4826
 
#
4827
 
 
 
5834
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
5835
exec 5>>config.log
 
5836
{
 
5837
  echo
 
5838
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
5839
## Running $as_me. ##
 
5840
_ASBOX
 
5841
  $as_echo "$ac_log"
 
5842
} >&5
 
5843
 
 
5844
_ACEOF
 
5845
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5846
#
 
5847
# INIT-COMMANDS
 
5848
#
4828
5849
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4829
5850
 
4830
5851
_ACEOF
4831
5852
 
4832
 
 
4833
 
 
4834
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
5853
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
5854
 
 
5855
# Handling of arguments.
4835
5856
for ac_config_target in $ac_config_targets
4836
5857
do
4837
 
  case "$ac_config_target" in
4838
 
  # Handling of arguments.
4839
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4840
 
  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
4841
 
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4842
 
  "sounds/Makefile" ) CONFIG_FILES="$CONFIG_FILES sounds/Makefile" ;;
4843
 
  "pixmaps/Makefile" ) CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
4844
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4845
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4846
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4847
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4848
 
   { (exit 1); exit 1; }; };;
 
5858
  case $ac_config_target in
 
5859
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
5860
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
5861
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
5862
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 
5863
    "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
 
5864
    "sounds/Makefile") CONFIG_FILES="$CONFIG_FILES sounds/Makefile" ;;
 
5865
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
5866
 
 
5867
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
4849
5868
  esac
4850
5869
done
4851
5870
 
 
5871
 
4852
5872
# If the user did not use the arguments to specify the items to instantiate,
4853
5873
# then the envvar interface is used.  Set only those that are not.
4854
5874
# We use the long form for the default assignment because of an extremely
4860
5880
fi
4861
5881
 
4862
5882
# Have a temporary directory for convenience.  Make it in the build tree
4863
 
# simply because there is no reason to put it here, and in addition,
 
5883
# simply because there is no reason against having it here, and in addition,
4864
5884
# creating and moving files from /tmp can sometimes cause problems.
4865
 
# Create a temporary directory, and hook for its removal unless debugging.
 
5885
# Hook for its removal unless debugging.
 
5886
# Note that there is a small window in which the directory will not be cleaned:
 
5887
# after its creation but before its name has been assigned to `$tmp'.
4866
5888
$debug ||
4867
5889
{
4868
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4869
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
5890
  tmp=
 
5891
  trap 'exit_status=$?
 
5892
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
5893
' 0
 
5894
  trap 'as_fn_exit 1' 1 2 13 15
4870
5895
}
4871
 
 
4872
5896
# Create a (secure) tmp directory for tmp files.
4873
5897
 
4874
5898
{
4875
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
5899
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4876
5900
  test -n "$tmp" && test -d "$tmp"
4877
5901
}  ||
4878
5902
{
4879
 
  tmp=./confstat$$-$RANDOM
4880
 
  (umask 077 && mkdir $tmp)
4881
 
} ||
 
5903
  tmp=./conf$$-$RANDOM
 
5904
  (umask 077 && mkdir "$tmp")
 
5905
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
5906
 
 
5907
# Set up the scripts for CONFIG_FILES section.
 
5908
# No need to generate them if there are no CONFIG_FILES.
 
5909
# This happens for instance with `./config.status config.h'.
 
5910
if test -n "$CONFIG_FILES"; then
 
5911
 
 
5912
 
 
5913
ac_cr=`echo X | tr X '\015'`
 
5914
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
5915
# But we know of no other shell where ac_cr would be empty at this
 
5916
# point, so we can use a bashism as a fallback.
 
5917
if test "x$ac_cr" = x; then
 
5918
  eval ac_cr=\$\'\\r\'
 
5919
fi
 
5920
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
5921
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
5922
  ac_cs_awk_cr='\\r'
 
5923
else
 
5924
  ac_cs_awk_cr=$ac_cr
 
5925
fi
 
5926
 
 
5927
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
5928
_ACEOF
 
5929
 
 
5930
 
4882
5931
{
4883
 
   echo "$me: cannot create a temporary directory in ." >&2
4884
 
   { (exit 1); exit 1; }
4885
 
}
4886
 
 
4887
 
_ACEOF
4888
 
 
4889
 
cat >>$CONFIG_STATUS <<_ACEOF
4890
 
 
4891
 
#
4892
 
# CONFIG_FILES section.
4893
 
#
4894
 
 
4895
 
# No need to generate the scripts if there are no CONFIG_FILES.
4896
 
# This happens for instance when ./config.status config.h
4897
 
if test -n "\$CONFIG_FILES"; then
4898
 
  # Protect against being on the right side of a sed subst in config.status.
4899
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4900
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4901
 
s,@SHELL@,$SHELL,;t t
4902
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4903
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4904
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4905
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4906
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4907
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4908
 
s,@exec_prefix@,$exec_prefix,;t t
4909
 
s,@prefix@,$prefix,;t t
4910
 
s,@program_transform_name@,$program_transform_name,;t t
4911
 
s,@bindir@,$bindir,;t t
4912
 
s,@sbindir@,$sbindir,;t t
4913
 
s,@libexecdir@,$libexecdir,;t t
4914
 
s,@datadir@,$datadir,;t t
4915
 
s,@sysconfdir@,$sysconfdir,;t t
4916
 
s,@sharedstatedir@,$sharedstatedir,;t t
4917
 
s,@localstatedir@,$localstatedir,;t t
4918
 
s,@libdir@,$libdir,;t t
4919
 
s,@includedir@,$includedir,;t t
4920
 
s,@oldincludedir@,$oldincludedir,;t t
4921
 
s,@infodir@,$infodir,;t t
4922
 
s,@mandir@,$mandir,;t t
4923
 
s,@build_alias@,$build_alias,;t t
4924
 
s,@host_alias@,$host_alias,;t t
4925
 
s,@target_alias@,$target_alias,;t t
4926
 
s,@DEFS@,$DEFS,;t t
4927
 
s,@ECHO_C@,$ECHO_C,;t t
4928
 
s,@ECHO_N@,$ECHO_N,;t t
4929
 
s,@ECHO_T@,$ECHO_T,;t t
4930
 
s,@LIBS@,$LIBS,;t t
4931
 
s,@build@,$build,;t t
4932
 
s,@build_cpu@,$build_cpu,;t t
4933
 
s,@build_vendor@,$build_vendor,;t t
4934
 
s,@build_os@,$build_os,;t t
4935
 
s,@host@,$host,;t t
4936
 
s,@host_cpu@,$host_cpu,;t t
4937
 
s,@host_vendor@,$host_vendor,;t t
4938
 
s,@host_os@,$host_os,;t t
4939
 
s,@target@,$target,;t t
4940
 
s,@target_cpu@,$target_cpu,;t t
4941
 
s,@target_vendor@,$target_vendor,;t t
4942
 
s,@target_os@,$target_os,;t t
4943
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4944
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4945
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4946
 
s,@PACKAGE@,$PACKAGE,;t t
4947
 
s,@VERSION@,$VERSION,;t t
4948
 
s,@ACLOCAL@,$ACLOCAL,;t t
4949
 
s,@AUTOCONF@,$AUTOCONF,;t t
4950
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
4951
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
4952
 
s,@MAKEINFO@,$MAKEINFO,;t t
4953
 
s,@AMTAR@,$AMTAR,;t t
4954
 
s,@install_sh@,$install_sh,;t t
4955
 
s,@STRIP@,$STRIP,;t t
4956
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4957
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4958
 
s,@AWK@,$AWK,;t t
4959
 
s,@SET_MAKE@,$SET_MAKE,;t t
4960
 
s,@CC@,$CC,;t t
4961
 
s,@CFLAGS@,$CFLAGS,;t t
4962
 
s,@LDFLAGS@,$LDFLAGS,;t t
4963
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
4964
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
4965
 
s,@EXEEXT@,$EXEEXT,;t t
4966
 
s,@OBJEXT@,$OBJEXT,;t t
4967
 
s,@DEPDIR@,$DEPDIR,;t t
4968
 
s,@am__include@,$am__include,;t t
4969
 
s,@am__quote@,$am__quote,;t t
4970
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4971
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4972
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4973
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
4974
 
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
4975
 
s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
4976
 
s,@GTK_LIBS@,$GTK_LIBS,;t t
4977
 
s,@GTK_CONFIG@,$GTK_CONFIG,;t t
4978
 
s,@GNOME_CFLAGS@,$GNOME_CFLAGS,;t t
4979
 
s,@GNOME_LIBS@,$GNOME_LIBS,;t t
4980
 
s,@WITH_GNOME_TRUE@,$WITH_GNOME_TRUE,;t t
4981
 
s,@WITH_GNOME_FALSE@,$WITH_GNOME_FALSE,;t t
4982
 
s,@CPP@,$CPP,;t t
4983
 
s,@EGREP@,$EGREP,;t t
4984
 
s,@LIBOBJS@,$LIBOBJS,;t t
4985
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4986
 
CEOF
4987
 
 
4988
 
_ACEOF
4989
 
 
4990
 
  cat >>$CONFIG_STATUS <<\_ACEOF
4991
 
  # Split the substitutions into bite-sized pieces for seds with
4992
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
4993
 
  ac_max_sed_lines=48
4994
 
  ac_sed_frag=1 # Number of current file.
4995
 
  ac_beg=1 # First line for current file.
4996
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
4997
 
  ac_more_lines=:
4998
 
  ac_sed_cmds=
4999
 
  while $ac_more_lines; do
5000
 
    if test $ac_beg -gt 1; then
5001
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5002
 
    else
5003
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5004
 
    fi
5005
 
    if test ! -s $tmp/subs.frag; then
5006
 
      ac_more_lines=false
5007
 
    else
5008
 
      # The purpose of the label and of the branching condition is to
5009
 
      # speed up the sed processing (if there are no `@' at all, there
5010
 
      # is no need to browse any of the substitutions).
5011
 
      # These are the two extra sed commands mentioned above.
5012
 
      (echo ':t
5013
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5014
 
      if test -z "$ac_sed_cmds"; then
5015
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5016
 
      else
5017
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5018
 
      fi
5019
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
5020
 
      ac_beg=$ac_end
5021
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
5022
 
    fi
5023
 
  done
5024
 
  if test -z "$ac_sed_cmds"; then
5025
 
    ac_sed_cmds=cat
 
5932
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
5933
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
5934
  echo "_ACEOF"
 
5935
} >conf$$subs.sh ||
 
5936
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
5937
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 
5938
ac_delim='%!_!# '
 
5939
for ac_last_try in false false false false false :; do
 
5940
  . ./conf$$subs.sh ||
 
5941
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
5942
 
 
5943
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
5944
  if test $ac_delim_n = $ac_delim_num; then
 
5945
    break
 
5946
  elif $ac_last_try; then
 
5947
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
5948
  else
 
5949
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5026
5950
  fi
 
5951
done
 
5952
rm -f conf$$subs.sh
 
5953
 
 
5954
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5955
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
5956
_ACEOF
 
5957
sed -n '
 
5958
h
 
5959
s/^/S["/; s/!.*/"]=/
 
5960
p
 
5961
g
 
5962
s/^[^!]*!//
 
5963
:repl
 
5964
t repl
 
5965
s/'"$ac_delim"'$//
 
5966
t delim
 
5967
:nl
 
5968
h
 
5969
s/\(.\{148\}\)..*/\1/
 
5970
t more1
 
5971
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
5972
p
 
5973
n
 
5974
b repl
 
5975
:more1
 
5976
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
5977
p
 
5978
g
 
5979
s/.\{148\}//
 
5980
t nl
 
5981
:delim
 
5982
h
 
5983
s/\(.\{148\}\)..*/\1/
 
5984
t more2
 
5985
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
5986
p
 
5987
b
 
5988
:more2
 
5989
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
5990
p
 
5991
g
 
5992
s/.\{148\}//
 
5993
t delim
 
5994
' <conf$$subs.awk | sed '
 
5995
/^[^""]/{
 
5996
  N
 
5997
  s/\n//
 
5998
}
 
5999
' >>$CONFIG_STATUS || ac_write_fail=1
 
6000
rm -f conf$$subs.awk
 
6001
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6002
_ACAWK
 
6003
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
6004
  for (key in S) S_is_set[key] = 1
 
6005
  FS = ""
 
6006
 
 
6007
}
 
6008
{
 
6009
  line = $ 0
 
6010
  nfields = split(line, field, "@")
 
6011
  substed = 0
 
6012
  len = length(field[1])
 
6013
  for (i = 2; i < nfields; i++) {
 
6014
    key = field[i]
 
6015
    keylen = length(key)
 
6016
    if (S_is_set[key]) {
 
6017
      value = S[key]
 
6018
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
6019
      len += length(value) + length(field[++i])
 
6020
      substed = 1
 
6021
    } else
 
6022
      len += 1 + keylen
 
6023
  }
 
6024
 
 
6025
  print line
 
6026
}
 
6027
 
 
6028
_ACAWK
 
6029
_ACEOF
 
6030
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6031
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
6032
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
6033
else
 
6034
  cat
 
6035
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
6036
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
6037
_ACEOF
 
6038
 
 
6039
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
6040
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 
6041
# trailing colons and then remove the whole line if VPATH becomes empty
 
6042
# (actually we leave an empty line to preserve line numbers).
 
6043
if test "x$srcdir" = x.; then
 
6044
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
6045
h
 
6046
s///
 
6047
s/^/:/
 
6048
s/[      ]*$/:/
 
6049
s/:\$(srcdir):/:/g
 
6050
s/:\${srcdir}:/:/g
 
6051
s/:@srcdir@:/:/g
 
6052
s/^:*//
 
6053
s/:*$//
 
6054
x
 
6055
s/\(=[   ]*\).*/\1/
 
6056
G
 
6057
s/\n//
 
6058
s/^[^=]*=[       ]*$//
 
6059
}'
 
6060
fi
 
6061
 
 
6062
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5027
6063
fi # test -n "$CONFIG_FILES"
5028
6064
 
 
6065
# Set up the scripts for CONFIG_HEADERS section.
 
6066
# No need to generate them if there are no CONFIG_HEADERS.
 
6067
# This happens for instance with `./config.status Makefile'.
 
6068
if test -n "$CONFIG_HEADERS"; then
 
6069
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
6070
BEGIN {
5029
6071
_ACEOF
5030
 
cat >>$CONFIG_STATUS <<\_ACEOF
5031
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5032
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5033
 
  case $ac_file in
5034
 
  - | *:- | *:-:* ) # input from stdin
5035
 
        cat >$tmp/stdin
5036
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5037
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5038
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5039
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5040
 
  * )   ac_file_in=$ac_file.in ;;
5041
 
  esac
5042
 
 
5043
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5044
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5045
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5046
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
5047
 
         X"$ac_file" : 'X\(//\)$' \| \
5048
 
         X"$ac_file" : 'X\(/\)' \| \
5049
 
         .     : '\(.\)' 2>/dev/null ||
5050
 
echo X"$ac_file" |
5051
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5052
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5053
 
          /^X\(\/\/\)$/{ s//\1/; q; }
5054
 
          /^X\(\/\).*/{ s//\1/; q; }
5055
 
          s/.*/./; q'`
5056
 
  { if $as_mkdir_p; then
5057
 
    mkdir -p "$ac_dir"
 
6072
 
 
6073
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
6074
# here-document in config.status, that substitutes the proper values into
 
6075
# config.h.in to produce config.h.
 
6076
 
 
6077
# Create a delimiter string that does not exist in confdefs.h, to ease
 
6078
# handling of long lines.
 
6079
ac_delim='%!_!# '
 
6080
for ac_last_try in false false :; do
 
6081
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
6082
  if test -z "$ac_t"; then
 
6083
    break
 
6084
  elif $ac_last_try; then
 
6085
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5058
6086
  else
5059
 
    as_dir="$ac_dir"
5060
 
    as_dirs=
5061
 
    while test ! -d "$as_dir"; do
5062
 
      as_dirs="$as_dir $as_dirs"
5063
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5064
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5065
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5066
 
         X"$as_dir" : 'X\(//\)$' \| \
5067
 
         X"$as_dir" : 'X\(/\)' \| \
5068
 
         .     : '\(.\)' 2>/dev/null ||
5069
 
echo X"$as_dir" |
5070
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5071
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5072
 
          /^X\(\/\/\)$/{ s//\1/; q; }
5073
 
          /^X\(\/\).*/{ s//\1/; q; }
5074
 
          s/.*/./; q'`
 
6087
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
6088
  fi
 
6089
done
 
6090
 
 
6091
# For the awk script, D is an array of macro values keyed by name,
 
6092
# likewise P contains macro parameters if any.  Preserve backslash
 
6093
# newline sequences.
 
6094
 
 
6095
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
6096
sed -n '
 
6097
s/.\{148\}/&'"$ac_delim"'/g
 
6098
t rset
 
6099
:rset
 
6100
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
6101
t def
 
6102
d
 
6103
:def
 
6104
s/\\$//
 
6105
t bsnl
 
6106
s/["\\]/\\&/g
 
6107
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
6108
D["\1"]=" \3"/p
 
6109
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
6110
d
 
6111
:bsnl
 
6112
s/["\\]/\\&/g
 
6113
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
6114
D["\1"]=" \3\\\\\\n"\\/p
 
6115
t cont
 
6116
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
6117
t cont
 
6118
d
 
6119
:cont
 
6120
n
 
6121
s/.\{148\}/&'"$ac_delim"'/g
 
6122
t clear
 
6123
:clear
 
6124
s/\\$//
 
6125
t bsnlc
 
6126
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
6127
d
 
6128
:bsnlc
 
6129
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
6130
b cont
 
6131
' <confdefs.h | sed '
 
6132
s/'"$ac_delim"'/"\\\
 
6133
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
6134
 
 
6135
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6136
  for (key in D) D_is_set[key] = 1
 
6137
  FS = ""
 
6138
}
 
6139
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
6140
  line = \$ 0
 
6141
  split(line, arg, " ")
 
6142
  if (arg[1] == "#") {
 
6143
    defundef = arg[2]
 
6144
    mac1 = arg[3]
 
6145
  } else {
 
6146
    defundef = substr(arg[1], 2)
 
6147
    mac1 = arg[2]
 
6148
  }
 
6149
  split(mac1, mac2, "(") #)
 
6150
  macro = mac2[1]
 
6151
  prefix = substr(line, 1, index(line, defundef) - 1)
 
6152
  if (D_is_set[macro]) {
 
6153
    # Preserve the white space surrounding the "#".
 
6154
    print prefix "define", macro P[macro] D[macro]
 
6155
    next
 
6156
  } else {
 
6157
    # Replace #undef with comments.  This is necessary, for example,
 
6158
    # in the case of _POSIX_SOURCE, which is predefined and required
 
6159
    # on some systems where configure will not decide to define it.
 
6160
    if (defundef == "undef") {
 
6161
      print "/*", prefix defundef, macro, "*/"
 
6162
      next
 
6163
    }
 
6164
  }
 
6165
}
 
6166
{ print }
 
6167
_ACAWK
 
6168
_ACEOF
 
6169
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6170
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 
6171
fi # test -n "$CONFIG_HEADERS"
 
6172
 
 
6173
 
 
6174
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
6175
shift
 
6176
for ac_tag
 
6177
do
 
6178
  case $ac_tag in
 
6179
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
6180
  esac
 
6181
  case $ac_mode$ac_tag in
 
6182
  :[FHL]*:*);;
 
6183
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
6184
  :[FH]-) ac_tag=-:-;;
 
6185
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
6186
  esac
 
6187
  ac_save_IFS=$IFS
 
6188
  IFS=:
 
6189
  set x $ac_tag
 
6190
  IFS=$ac_save_IFS
 
6191
  shift
 
6192
  ac_file=$1
 
6193
  shift
 
6194
 
 
6195
  case $ac_mode in
 
6196
  :L) ac_source=$1;;
 
6197
  :[FH])
 
6198
    ac_file_inputs=
 
6199
    for ac_f
 
6200
    do
 
6201
      case $ac_f in
 
6202
      -) ac_f="$tmp/stdin";;
 
6203
      *) # Look for the file first in the build tree, then in the source tree
 
6204
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
6205
         # because $ac_f cannot contain `:'.
 
6206
         test -f "$ac_f" ||
 
6207
           case $ac_f in
 
6208
           [\\/$]*) false;;
 
6209
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
6210
           esac ||
 
6211
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
6212
      esac
 
6213
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
6214
      as_fn_append ac_file_inputs " '$ac_f'"
5075
6215
    done
5076
 
    test ! -n "$as_dirs" || mkdir $as_dirs
5077
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5078
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5079
 
   { (exit 1); exit 1; }; }; }
5080
 
 
 
6216
 
 
6217
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
6218
    # use $as_me), people would be surprised to read:
 
6219
    #    /* config.h.  Generated by config.status.  */
 
6220
    configure_input='Generated from '`
 
6221
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
6222
        `' by configure.'
 
6223
    if test x"$ac_file" != x-; then
 
6224
      configure_input="$ac_file.  $configure_input"
 
6225
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
6226
$as_echo "$as_me: creating $ac_file" >&6;}
 
6227
    fi
 
6228
    # Neutralize special characters interpreted by sed in replacement strings.
 
6229
    case $configure_input in #(
 
6230
    *\&* | *\|* | *\\* )
 
6231
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
6232
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
6233
    *) ac_sed_conf_input=$configure_input;;
 
6234
    esac
 
6235
 
 
6236
    case $ac_tag in
 
6237
    *:-:* | *:-) cat >"$tmp/stdin" \
 
6238
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
6239
    esac
 
6240
    ;;
 
6241
  esac
 
6242
 
 
6243
  ac_dir=`$as_dirname -- "$ac_file" ||
 
6244
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6245
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
6246
         X"$ac_file" : 'X\(//\)$' \| \
 
6247
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
6248
$as_echo X"$ac_file" |
 
6249
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6250
            s//\1/
 
6251
            q
 
6252
          }
 
6253
          /^X\(\/\/\)[^/].*/{
 
6254
            s//\1/
 
6255
            q
 
6256
          }
 
6257
          /^X\(\/\/\)$/{
 
6258
            s//\1/
 
6259
            q
 
6260
          }
 
6261
          /^X\(\/\).*/{
 
6262
            s//\1/
 
6263
            q
 
6264
          }
 
6265
          s/.*/./; q'`
 
6266
  as_dir="$ac_dir"; as_fn_mkdir_p
5081
6267
  ac_builddir=.
5082
6268
 
5083
 
if test "$ac_dir" != .; then
5084
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5085
 
  # A "../" for each directory in $ac_dir_suffix.
5086
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5087
 
else
5088
 
  ac_dir_suffix= ac_top_builddir=
5089
 
fi
 
6269
case "$ac_dir" in
 
6270
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
6271
*)
 
6272
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
6273
  # A ".." for each directory in $ac_dir_suffix.
 
6274
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
6275
  case $ac_top_builddir_sub in
 
6276
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
6277
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
6278
  esac ;;
 
6279
esac
 
6280
ac_abs_top_builddir=$ac_pwd
 
6281
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
6282
# for backward compatibility:
 
6283
ac_top_builddir=$ac_top_build_prefix
5090
6284
 
5091
6285
case $srcdir in
5092
 
  .)  # No --srcdir option.  We are building in place.
 
6286
  .)  # We are building in place.
5093
6287
    ac_srcdir=.
5094
 
    if test -z "$ac_top_builddir"; then
5095
 
       ac_top_srcdir=.
5096
 
    else
5097
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5098
 
    fi ;;
5099
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
6288
    ac_top_srcdir=$ac_top_builddir_sub
 
6289
    ac_abs_top_srcdir=$ac_pwd ;;
 
6290
  [\\/]* | ?:[\\/]* )  # Absolute name.
5100
6291
    ac_srcdir=$srcdir$ac_dir_suffix;
5101
 
    ac_top_srcdir=$srcdir ;;
5102
 
  *) # Relative path.
5103
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5104
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
6292
    ac_top_srcdir=$srcdir
 
6293
    ac_abs_top_srcdir=$srcdir ;;
 
6294
  *) # Relative name.
 
6295
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
6296
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
6297
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5105
6298
esac
5106
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5107
 
# absolute.
5108
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5109
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5110
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5111
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5112
 
 
 
6299
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
6300
 
 
6301
 
 
6302
  case $ac_mode in
 
6303
  :F)
 
6304
  #
 
6305
  # CONFIG_FILE
 
6306
  #
5113
6307
 
5114
6308
  case $INSTALL in
5115
6309
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5116
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5117
 
  esac
5118
 
 
5119
 
  if test x"$ac_file" != x-; then
5120
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
5121
 
echo "$as_me: creating $ac_file" >&6;}
5122
 
    rm -f "$ac_file"
5123
 
  fi
5124
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
5125
 
  # use $as_me), people would be surprised to read:
5126
 
  #    /* config.h.  Generated by config.status.  */
5127
 
  if test x"$ac_file" = x-; then
5128
 
    configure_input=
5129
 
  else
5130
 
    configure_input="$ac_file.  "
5131
 
  fi
5132
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
5133
 
                                     sed 's,.*/,,'` by configure."
5134
 
 
5135
 
  # First look for the input files in the build tree, otherwise in the
5136
 
  # src tree.
5137
 
  ac_file_inputs=`IFS=:
5138
 
    for f in $ac_file_in; do
5139
 
      case $f in
5140
 
      -) echo $tmp/stdin ;;
5141
 
      [\\/$]*)
5142
 
         # Absolute (can't be DOS-style, as IFS=:)
5143
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5144
 
echo "$as_me: error: cannot find input file: $f" >&2;}
5145
 
   { (exit 1); exit 1; }; }
5146
 
         echo $f;;
5147
 
      *) # Relative
5148
 
         if test -f "$f"; then
5149
 
           # Build tree
5150
 
           echo $f
5151
 
         elif test -f "$srcdir/$f"; then
5152
 
           # Source tree
5153
 
           echo $srcdir/$f
5154
 
         else
5155
 
           # /dev/null tree
5156
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5157
 
echo "$as_me: error: cannot find input file: $f" >&2;}
5158
 
   { (exit 1); exit 1; }; }
5159
 
         fi;;
5160
 
      esac
5161
 
    done` || { (exit 1); exit 1; }
5162
 
_ACEOF
5163
 
cat >>$CONFIG_STATUS <<_ACEOF
5164
 
  sed "$ac_vpsub
 
6310
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
6311
  esac
 
6312
  ac_MKDIR_P=$MKDIR_P
 
6313
  case $MKDIR_P in
 
6314
  [\\/$]* | ?:[\\/]* ) ;;
 
6315
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
6316
  esac
 
6317
_ACEOF
 
6318
 
 
6319
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6320
# If the template does not know about datarootdir, expand it.
 
6321
# FIXME: This hack should be removed a few years after 2.60.
 
6322
ac_datarootdir_hack=; ac_datarootdir_seen=
 
6323
ac_sed_dataroot='
 
6324
/datarootdir/ {
 
6325
  p
 
6326
  q
 
6327
}
 
6328
/@datadir@/p
 
6329
/@docdir@/p
 
6330
/@infodir@/p
 
6331
/@localedir@/p
 
6332
/@mandir@/p'
 
6333
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
6334
*datarootdir*) ac_datarootdir_seen=yes;;
 
6335
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
6336
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
6337
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
6338
_ACEOF
 
6339
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6340
  ac_datarootdir_hack='
 
6341
  s&@datadir@&$datadir&g
 
6342
  s&@docdir@&$docdir&g
 
6343
  s&@infodir@&$infodir&g
 
6344
  s&@localedir@&$localedir&g
 
6345
  s&@mandir@&$mandir&g
 
6346
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
6347
esac
 
6348
_ACEOF
 
6349
 
 
6350
# Neutralize VPATH when `$srcdir' = `.'.
 
6351
# Shell code in configure.ac might set extrasub.
 
6352
# FIXME: do we really want to maintain this feature?
 
6353
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6354
ac_sed_extra="$ac_vpsub
5165
6355
$extrasub
5166
6356
_ACEOF
5167
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6357
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5168
6358
:t
5169
6359
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5170
 
s,@configure_input@,$configure_input,;t t
5171
 
s,@srcdir@,$ac_srcdir,;t t
5172
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
5173
 
s,@top_srcdir@,$ac_top_srcdir,;t t
5174
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5175
 
s,@builddir@,$ac_builddir,;t t
5176
 
s,@abs_builddir@,$ac_abs_builddir,;t t
5177
 
s,@top_builddir@,$ac_top_builddir,;t t
5178
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5179
 
s,@INSTALL@,$ac_INSTALL,;t t
5180
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5181
 
  rm -f $tmp/stdin
5182
 
  if test x"$ac_file" != x-; then
5183
 
    mv $tmp/out $ac_file
5184
 
  else
5185
 
    cat $tmp/out
5186
 
    rm -f $tmp/out
5187
 
  fi
5188
 
 
5189
 
done
5190
 
_ACEOF
5191
 
cat >>$CONFIG_STATUS <<\_ACEOF
5192
 
 
5193
 
#
5194
 
# CONFIG_HEADER section.
5195
 
#
5196
 
 
5197
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5198
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
5199
 
#
5200
 
# ac_d sets the value in "#define NAME VALUE" lines.
5201
 
ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
5202
 
ac_dB='[        ].*$,\1#\2'
5203
 
ac_dC=' '
5204
 
ac_dD=',;t'
5205
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5206
 
ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
5207
 
ac_uB='$,\1#\2define\3'
5208
 
ac_uC=' '
5209
 
ac_uD=',;t'
5210
 
 
5211
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5212
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
6360
s|@configure_input@|$ac_sed_conf_input|;t t
 
6361
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
6362
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
6363
s&@srcdir@&$ac_srcdir&;t t
 
6364
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
6365
s&@top_srcdir@&$ac_top_srcdir&;t t
 
6366
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
6367
s&@builddir@&$ac_builddir&;t t
 
6368
s&@abs_builddir@&$ac_abs_builddir&;t t
 
6369
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
6370
s&@INSTALL@&$ac_INSTALL&;t t
 
6371
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
6372
$ac_datarootdir_hack
 
6373
"
 
6374
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
6375
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
6376
 
 
6377
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
6378
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
6379
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
6380
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
6381
which seems to be undefined.  Please make sure it is defined" >&5
 
6382
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
6383
which seems to be undefined.  Please make sure it is defined" >&2;}
 
6384
 
 
6385
  rm -f "$tmp/stdin"
5213
6386
  case $ac_file in
5214
 
  - | *:- | *:-:* ) # input from stdin
5215
 
        cat >$tmp/stdin
5216
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5217
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5218
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5219
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5220
 
  * )   ac_file_in=$ac_file.in ;;
5221
 
  esac
5222
 
 
5223
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5224
 
echo "$as_me: creating $ac_file" >&6;}
5225
 
 
5226
 
  # First look for the input files in the build tree, otherwise in the
5227
 
  # src tree.
5228
 
  ac_file_inputs=`IFS=:
5229
 
    for f in $ac_file_in; do
5230
 
      case $f in
5231
 
      -) echo $tmp/stdin ;;
5232
 
      [\\/$]*)
5233
 
         # Absolute (can't be DOS-style, as IFS=:)
5234
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5235
 
echo "$as_me: error: cannot find input file: $f" >&2;}
5236
 
   { (exit 1); exit 1; }; }
5237
 
         echo $f;;
5238
 
      *) # Relative
5239
 
         if test -f "$f"; then
5240
 
           # Build tree
5241
 
           echo $f
5242
 
         elif test -f "$srcdir/$f"; then
5243
 
           # Source tree
5244
 
           echo $srcdir/$f
5245
 
         else
5246
 
           # /dev/null tree
5247
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5248
 
echo "$as_me: error: cannot find input file: $f" >&2;}
5249
 
   { (exit 1); exit 1; }; }
5250
 
         fi;;
5251
 
      esac
5252
 
    done` || { (exit 1); exit 1; }
5253
 
  # Remove the trailing spaces.
5254
 
  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
5255
 
 
5256
 
_ACEOF
5257
 
 
5258
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
5259
 
# `conftest.undefs', that substitutes the proper values into
5260
 
# config.h.in to produce config.h.  The first handles `#define'
5261
 
# templates, and the second `#undef' templates.
5262
 
# And first: Protect against being on the right side of a sed subst in
5263
 
# config.status.  Protect against being in an unquoted here document
5264
 
# in config.status.
5265
 
rm -f conftest.defines conftest.undefs
5266
 
# Using a here document instead of a string reduces the quoting nightmare.
5267
 
# Putting comments in sed scripts is not portable.
5268
 
#
5269
 
# `end' is used to avoid that the second main sed command (meant for
5270
 
# 0-ary CPP macros) applies to n-ary macro definitions.
5271
 
# See the Autoconf documentation for `clear'.
5272
 
cat >confdef2sed.sed <<\_ACEOF
5273
 
s/[\\&,]/\\&/g
5274
 
s,[\\$`],\\&,g
5275
 
t clear
5276
 
: clear
5277
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5278
 
t end
5279
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5280
 
: end
5281
 
_ACEOF
5282
 
# If some macros were called several times there might be several times
5283
 
# the same #defines, which is useless.  Nevertheless, we may not want to
5284
 
# sort them, since we want the *last* AC-DEFINE to be honored.
5285
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5286
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5287
 
rm -f confdef2sed.sed
5288
 
 
5289
 
# This sed command replaces #undef with comments.  This is necessary, for
5290
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
5291
 
# on some systems where configure will not decide to define it.
5292
 
cat >>conftest.undefs <<\_ACEOF
5293
 
s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5294
 
_ACEOF
5295
 
 
5296
 
# Break up conftest.defines because some shells have a limit on the size
5297
 
# of here documents, and old seds have small limits too (100 cmds).
5298
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5299
 
echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5300
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5301
 
echo '  :' >>$CONFIG_STATUS
5302
 
rm -f conftest.tail
5303
 
while grep . conftest.defines >/dev/null
5304
 
do
5305
 
  # Write a limited-size here document to $tmp/defines.sed.
5306
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5307
 
  # Speed up: don't consider the non `#define' lines.
5308
 
  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
5309
 
  # Work around the forget-to-reset-the-flag bug.
5310
 
  echo 't clr' >>$CONFIG_STATUS
5311
 
  echo ': clr' >>$CONFIG_STATUS
5312
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5313
 
  echo 'CEOF
5314
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
5315
 
  rm -f $tmp/in
5316
 
  mv $tmp/out $tmp/in
5317
 
' >>$CONFIG_STATUS
5318
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5319
 
  rm -f conftest.defines
5320
 
  mv conftest.tail conftest.defines
5321
 
done
5322
 
rm -f conftest.defines
5323
 
echo '  fi # grep' >>$CONFIG_STATUS
5324
 
echo >>$CONFIG_STATUS
5325
 
 
5326
 
# Break up conftest.undefs because some shells have a limit on the size
5327
 
# of here documents, and old seds have small limits too (100 cmds).
5328
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
5329
 
rm -f conftest.tail
5330
 
while grep . conftest.undefs >/dev/null
5331
 
do
5332
 
  # Write a limited-size here document to $tmp/undefs.sed.
5333
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5334
 
  # Speed up: don't consider the non `#undef'
5335
 
  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
5336
 
  # Work around the forget-to-reset-the-flag bug.
5337
 
  echo 't clr' >>$CONFIG_STATUS
5338
 
  echo ': clr' >>$CONFIG_STATUS
5339
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5340
 
  echo 'CEOF
5341
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5342
 
  rm -f $tmp/in
5343
 
  mv $tmp/out $tmp/in
5344
 
' >>$CONFIG_STATUS
5345
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5346
 
  rm -f conftest.undefs
5347
 
  mv conftest.tail conftest.undefs
5348
 
done
5349
 
rm -f conftest.undefs
5350
 
 
5351
 
cat >>$CONFIG_STATUS <<\_ACEOF
5352
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
5353
 
  # use $as_me), people would be surprised to read:
5354
 
  #    /* config.h.  Generated by config.status.  */
5355
 
  if test x"$ac_file" = x-; then
5356
 
    echo "/* Generated by configure.  */" >$tmp/config.h
5357
 
  else
5358
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
5359
 
  fi
5360
 
  cat $tmp/in >>$tmp/config.h
5361
 
  rm -f $tmp/in
 
6387
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
6388
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
6389
  esac \
 
6390
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
6391
 ;;
 
6392
  :H)
 
6393
  #
 
6394
  # CONFIG_HEADER
 
6395
  #
5362
6396
  if test x"$ac_file" != x-; then
5363
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
5364
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5365
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
6397
    {
 
6398
      $as_echo "/* $configure_input  */" \
 
6399
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
6400
    } >"$tmp/config.h" \
 
6401
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
6402
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
6403
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
6404
$as_echo "$as_me: $ac_file is unchanged" >&6;}
5366
6405
    else
5367
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5368
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5369
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
5370
 
         X"$ac_file" : 'X\(//\)$' \| \
5371
 
         X"$ac_file" : 'X\(/\)' \| \
5372
 
         .     : '\(.\)' 2>/dev/null ||
5373
 
echo X"$ac_file" |
5374
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5375
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5376
 
          /^X\(\/\/\)$/{ s//\1/; q; }
5377
 
          /^X\(\/\).*/{ s//\1/; q; }
5378
 
          s/.*/./; q'`
5379
 
      { if $as_mkdir_p; then
5380
 
    mkdir -p "$ac_dir"
5381
 
  else
5382
 
    as_dir="$ac_dir"
5383
 
    as_dirs=
5384
 
    while test ! -d "$as_dir"; do
5385
 
      as_dirs="$as_dir $as_dirs"
5386
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5387
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5388
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5389
 
         X"$as_dir" : 'X\(//\)$' \| \
5390
 
         X"$as_dir" : 'X\(/\)' \| \
5391
 
         .     : '\(.\)' 2>/dev/null ||
5392
 
echo X"$as_dir" |
5393
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5394
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5395
 
          /^X\(\/\/\)$/{ s//\1/; q; }
5396
 
          /^X\(\/\).*/{ s//\1/; q; }
5397
 
          s/.*/./; q'`
5398
 
    done
5399
 
    test ! -n "$as_dirs" || mkdir $as_dirs
5400
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5401
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5402
 
   { (exit 1); exit 1; }; }; }
5403
 
 
5404
 
      rm -f $ac_file
5405
 
      mv $tmp/config.h $ac_file
 
6406
      rm -f "$ac_file"
 
6407
      mv "$tmp/config.h" "$ac_file" \
 
6408
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5406
6409
    fi
5407
6410
  else
5408
 
    cat $tmp/config.h
5409
 
    rm -f $tmp/config.h
 
6411
    $as_echo "/* $configure_input  */" \
 
6412
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
6413
      || as_fn_error $? "could not create -" "$LINENO" 5
5410
6414
  fi
5411
 
  # Run the commands associated with the file.
5412
 
  case $ac_file in
5413
 
    config.h ) # update the timestamp
5414
 
echo 'timestamp for config.h' >"./stamp-h1"
5415
 
 ;;
 
6415
# Compute "$ac_file"'s index in $config_headers.
 
6416
_am_arg="$ac_file"
 
6417
_am_stamp_count=1
 
6418
for _am_header in $config_headers :; do
 
6419
  case $_am_header in
 
6420
    $_am_arg | $_am_arg:* )
 
6421
      break ;;
 
6422
    * )
 
6423
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5416
6424
  esac
5417
6425
done
5418
 
_ACEOF
5419
 
cat >>$CONFIG_STATUS <<\_ACEOF
5420
 
 
5421
 
#
5422
 
# CONFIG_COMMANDS section.
5423
 
#
5424
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5425
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5426
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5427
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5428
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5429
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
5430
 
         X"$ac_dest" : 'X\(//\)$' \| \
5431
 
         X"$ac_dest" : 'X\(/\)' \| \
5432
 
         .     : '\(.\)' 2>/dev/null ||
5433
 
echo X"$ac_dest" |
5434
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5435
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5436
 
          /^X\(\/\/\)$/{ s//\1/; q; }
5437
 
          /^X\(\/\).*/{ s//\1/; q; }
5438
 
          s/.*/./; q'`
5439
 
  ac_builddir=.
5440
 
 
5441
 
if test "$ac_dir" != .; then
5442
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5443
 
  # A "../" for each directory in $ac_dir_suffix.
5444
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5445
 
else
5446
 
  ac_dir_suffix= ac_top_builddir=
5447
 
fi
5448
 
 
5449
 
case $srcdir in
5450
 
  .)  # No --srcdir option.  We are building in place.
5451
 
    ac_srcdir=.
5452
 
    if test -z "$ac_top_builddir"; then
5453
 
       ac_top_srcdir=.
5454
 
    else
5455
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5456
 
    fi ;;
5457
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
5458
 
    ac_srcdir=$srcdir$ac_dir_suffix;
5459
 
    ac_top_srcdir=$srcdir ;;
5460
 
  *) # Relative path.
5461
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5462
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5463
 
esac
5464
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5465
 
# absolute.
5466
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5467
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5468
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5469
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5470
 
 
5471
 
 
5472
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5473
 
echo "$as_me: executing $ac_dest commands" >&6;}
5474
 
  case $ac_dest in
5475
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5476
 
  # Strip MF so we end up with the name of the file.
5477
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
5478
 
  # Check whether this is an Automake generated Makefile or not.
5479
 
  # We used to match only the files named `Makefile.in', but
5480
 
  # some people rename them; so instead we look at the file content.
5481
 
  # Grep'ing the first line is not enough: some people post-process
5482
 
  # each Makefile.in and add a new line on top of each file to say so.
5483
 
  # So let's grep whole file.
5484
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5485
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
6426
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
6427
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6428
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
6429
         X"$_am_arg" : 'X\(//\)$' \| \
 
6430
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
6431
$as_echo X"$_am_arg" |
 
6432
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6433
            s//\1/
 
6434
            q
 
6435
          }
 
6436
          /^X\(\/\/\)[^/].*/{
 
6437
            s//\1/
 
6438
            q
 
6439
          }
 
6440
          /^X\(\/\/\)$/{
 
6441
            s//\1/
 
6442
            q
 
6443
          }
 
6444
          /^X\(\/\).*/{
 
6445
            s//\1/
 
6446
            q
 
6447
          }
 
6448
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
6449
 ;;
 
6450
 
 
6451
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
6452
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
6453
 ;;
 
6454
  esac
 
6455
 
 
6456
 
 
6457
  case $ac_file$ac_mode in
 
6458
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
6459
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
6460
  # are listed without --file.  Let's play safe and only enable the eval
 
6461
  # if we detect the quoting.
 
6462
  case $CONFIG_FILES in
 
6463
  *\'*) eval set x "$CONFIG_FILES" ;;
 
6464
  *)   set x $CONFIG_FILES ;;
 
6465
  esac
 
6466
  shift
 
6467
  for mf
 
6468
  do
 
6469
    # Strip MF so we end up with the name of the file.
 
6470
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
6471
    # Check whether this is an Automake generated Makefile or not.
 
6472
    # We used to match only the files named `Makefile.in', but
 
6473
    # some people rename them; so instead we look at the file content.
 
6474
    # Grep'ing the first line is not enough: some people post-process
 
6475
    # each Makefile.in and add a new line on top of each file to say so.
 
6476
    # Grep'ing the whole file is not good either: AIX grep has a line
 
6477
    # limit of 2048, but all sed's we know have understand at least 4000.
 
6478
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
6479
      dirpart=`$as_dirname -- "$mf" ||
5486
6480
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5487
 
         X"$mf" : 'X\(//\)[^/]' \| \
5488
 
         X"$mf" : 'X\(//\)$' \| \
5489
 
         X"$mf" : 'X\(/\)' \| \
5490
 
         .     : '\(.\)' 2>/dev/null ||
5491
 
echo X"$mf" |
5492
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5493
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5494
 
          /^X\(\/\/\)$/{ s//\1/; q; }
5495
 
          /^X\(\/\).*/{ s//\1/; q; }
5496
 
          s/.*/./; q'`
5497
 
  else
5498
 
    continue
5499
 
  fi
5500
 
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
5501
 
  # Extract the definition of DEP_FILES from the Makefile without
5502
 
  # running `make'.
5503
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
5504
 
  test -z "$DEPDIR" && continue
5505
 
  # When using ansi2knr, U may be empty or an underscore; expand it
5506
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
5507
 
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
5508
 
  # We invoke sed twice because it is the simplest approach to
5509
 
  # changing $(DEPDIR) to its actual value in the expansion.
5510
 
  for file in `sed -n -e '
5511
 
    /^DEP_FILES = .*\\\\$/ {
5512
 
      s/^DEP_FILES = //
5513
 
      :loop
5514
 
        s/\\\\$//
5515
 
        p
5516
 
        n
5517
 
        /\\\\$/ b loop
5518
 
      p
5519
 
    }
5520
 
    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
5521
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5522
 
    # Make sure the directory exists.
5523
 
    test -f "$dirpart/$file" && continue
5524
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
6481
         X"$mf" : 'X\(//\)[^/]' \| \
 
6482
         X"$mf" : 'X\(//\)$' \| \
 
6483
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
6484
$as_echo X"$mf" |
 
6485
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6486
            s//\1/
 
6487
            q
 
6488
          }
 
6489
          /^X\(\/\/\)[^/].*/{
 
6490
            s//\1/
 
6491
            q
 
6492
          }
 
6493
          /^X\(\/\/\)$/{
 
6494
            s//\1/
 
6495
            q
 
6496
          }
 
6497
          /^X\(\/\).*/{
 
6498
            s//\1/
 
6499
            q
 
6500
          }
 
6501
          s/.*/./; q'`
 
6502
    else
 
6503
      continue
 
6504
    fi
 
6505
    # Extract the definition of DEPDIR, am__include, and am__quote
 
6506
    # from the Makefile without running `make'.
 
6507
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
6508
    test -z "$DEPDIR" && continue
 
6509
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
6510
    test -z "am__include" && continue
 
6511
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
6512
    # When using ansi2knr, U may be empty or an underscore; expand it
 
6513
    U=`sed -n 's/^U = //p' < "$mf"`
 
6514
    # Find all dependency output files, they are included files with
 
6515
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
6516
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
6517
    # expansion.
 
6518
    for file in `sed -n "
 
6519
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
6520
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
6521
      # Make sure the directory exists.
 
6522
      test -f "$dirpart/$file" && continue
 
6523
      fdir=`$as_dirname -- "$file" ||
5525
6524
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5526
 
         X"$file" : 'X\(//\)[^/]' \| \
5527
 
         X"$file" : 'X\(//\)$' \| \
5528
 
         X"$file" : 'X\(/\)' \| \
5529
 
         .     : '\(.\)' 2>/dev/null ||
5530
 
echo X"$file" |
5531
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5532
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5533
 
          /^X\(\/\/\)$/{ s//\1/; q; }
5534
 
          /^X\(\/\).*/{ s//\1/; q; }
5535
 
          s/.*/./; q'`
5536
 
    { if $as_mkdir_p; then
5537
 
    mkdir -p $dirpart/$fdir
5538
 
  else
5539
 
    as_dir=$dirpart/$fdir
5540
 
    as_dirs=
5541
 
    while test ! -d "$as_dir"; do
5542
 
      as_dirs="$as_dir $as_dirs"
5543
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5544
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5545
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5546
 
         X"$as_dir" : 'X\(//\)$' \| \
5547
 
         X"$as_dir" : 'X\(/\)' \| \
5548
 
         .     : '\(.\)' 2>/dev/null ||
5549
 
echo X"$as_dir" |
5550
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5551
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5552
 
          /^X\(\/\/\)$/{ s//\1/; q; }
5553
 
          /^X\(\/\).*/{ s//\1/; q; }
5554
 
          s/.*/./; q'`
 
6525
         X"$file" : 'X\(//\)[^/]' \| \
 
6526
         X"$file" : 'X\(//\)$' \| \
 
6527
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
6528
$as_echo X"$file" |
 
6529
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6530
            s//\1/
 
6531
            q
 
6532
          }
 
6533
          /^X\(\/\/\)[^/].*/{
 
6534
            s//\1/
 
6535
            q
 
6536
          }
 
6537
          /^X\(\/\/\)$/{
 
6538
            s//\1/
 
6539
            q
 
6540
          }
 
6541
          /^X\(\/\).*/{
 
6542
            s//\1/
 
6543
            q
 
6544
          }
 
6545
          s/.*/./; q'`
 
6546
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
6547
      # echo "creating $dirpart/$file"
 
6548
      echo '# dummy' > "$dirpart/$file"
5555
6549
    done
5556
 
    test ! -n "$as_dirs" || mkdir $as_dirs
5557
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5558
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5559
 
   { (exit 1); exit 1; }; }; }
5560
 
 
5561
 
    # echo "creating $dirpart/$file"
5562
 
    echo '# dummy' > "$dirpart/$file"
5563
6550
  done
5564
 
done
 
6551
}
5565
6552
 ;;
 
6553
 
5566
6554
  esac
5567
 
done
5568
 
_ACEOF
5569
 
 
5570
 
cat >>$CONFIG_STATUS <<\_ACEOF
5571
 
 
5572
 
{ (exit 0); exit 0; }
5573
 
_ACEOF
5574
 
chmod +x $CONFIG_STATUS
 
6555
done # for ac_tag
 
6556
 
 
6557
 
 
6558
as_fn_exit 0
 
6559
_ACEOF
5575
6560
ac_clean_files=$ac_clean_files_save
5576
6561
 
 
6562
test $ac_write_fail = 0 ||
 
6563
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
6564
 
5577
6565
 
5578
6566
# configure is writing to config.log, and then calls config.status.
5579
6567
# config.status does its own redirection, appending to config.log.
5593
6581
  exec 5>>config.log
5594
6582
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5595
6583
  # would make configure fail if this is the last instruction.
5596
 
  $ac_cs_success || { (exit 1); exit 1; }
 
6584
  $ac_cs_success || as_fn_exit 1
 
6585
fi
 
6586
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
6587
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
6588
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5597
6589
fi
5598
6590
 
5599
6591
 
5600
6592
echo " "
5601
6593
 
5602
6594
if test "$enable_gtk2" = "yes" ; then
5603
 
        echo "$as_me:$LINENO: result:     GTK2 enabled." >&5
5604
 
echo "${ECHO_T}    GTK2 enabled." >&6
 
6595
        { $as_echo "$as_me:${as_lineno-$LINENO}: result:     GTK2 enabled." >&5
 
6596
$as_echo "    GTK2 enabled." >&6; }
5605
6597
else
5606
 
        echo "$as_me:$LINENO: result:     GTK2 disabled." >&5
5607
 
echo "${ECHO_T}    GTK2 disabled." >&6
 
6598
        { $as_echo "$as_me:${as_lineno-$LINENO}: result:     GTK2 disabled." >&5
 
6599
$as_echo "    GTK2 disabled." >&6; }
5608
6600
fi
5609
6601
 
5610
6602
if test "$enable_sdl" = "yes" ; then
5611
 
        echo "$as_me:$LINENO: result:      SDL enabled." >&5
5612
 
echo "${ECHO_T}     SDL enabled." >&6
 
6603
        { $as_echo "$as_me:${as_lineno-$LINENO}: result:      SDL enabled." >&5
 
6604
$as_echo "     SDL enabled." >&6; }
5613
6605
else
5614
 
        echo "$as_me:$LINENO: result:      SDL disabled." >&5
5615
 
echo "${ECHO_T}     SDL disabled." >&6
 
6606
        { $as_echo "$as_me:${as_lineno-$LINENO}: result:      SDL disabled." >&5
 
6607
$as_echo "     SDL disabled." >&6; }
5616
6608
fi
5617
6609
if test "$enable_gnome" = "yes" ; then
5618
 
        echo "$as_me:$LINENO: result:    GNOME enabled." >&5
5619
 
echo "${ECHO_T}   GNOME enabled." >&6
 
6610
        { $as_echo "$as_me:${as_lineno-$LINENO}: result:    GNOME enabled." >&5
 
6611
$as_echo "   GNOME enabled." >&6; }
5620
6612
else
5621
 
        echo "$as_me:$LINENO: result:    GNOME disabled." >&5
5622
 
echo "${ECHO_T}   GNOME disabled." >&6
 
6613
        { $as_echo "$as_me:${as_lineno-$LINENO}: result:    GNOME disabled." >&5
 
6614
$as_echo "   GNOME disabled." >&6; }
5623
6615
fi
5624