~ubuntu-branches/ubuntu/feisty/soqt/feisty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2004-05-29 02:58:50 UTC
  • Revision ID: james.westby@ubuntu.com-20040529025850-nkh0l2b0mixwkcgh
Tags: 1.0.2-3
Build against coin-2, rather than coin-1.  Closes: #241102.

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.53 for SoQt 1.0.2.
 
3
# Generated by GNU Autoconf 2.57 for SoQt 1.0.2.
4
4
#
5
5
# Report bugs to <coin-support@coin3d.org>.
6
6
#
8
8
# Free Software Foundation, Inc.
9
9
# This configure script is free software; the Free Software Foundation
10
10
# gives unlimited permission to copy, distribute and modify it.
 
11
## --------------------- ##
 
12
## M4sh Initialization.  ##
 
13
## --------------------- ##
 
14
 
 
15
# Be Bourne compatible
 
16
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
17
  emulate sh
 
18
  NULLCMD=:
 
19
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
20
  # is contrary to our usage.  Disable this feature.
 
21
  alias -g '${1+"$@"}'='"$@"'
 
22
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 
23
  set -o posix
 
24
fi
 
25
 
 
26
# Support unset when possible.
 
27
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
28
  as_unset=unset
 
29
else
 
30
  as_unset=false
 
31
fi
 
32
 
 
33
 
 
34
# Work around bugs in pre-3.0 UWIN ksh.
 
35
$as_unset ENV MAIL MAILPATH
 
36
PS1='$ '
 
37
PS2='> '
 
38
PS4='+ '
 
39
 
 
40
# NLS nuisances.
 
41
for as_var in \
 
42
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
43
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
44
  LC_TELEPHONE LC_TIME
 
45
do
 
46
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
47
    eval $as_var=C; export $as_var
 
48
  else
 
49
    $as_unset $as_var
 
50
  fi
 
51
done
 
52
 
 
53
# Required to use basename.
 
54
if expr a : '\(a\)' >/dev/null 2>&1; then
 
55
  as_expr=expr
 
56
else
 
57
  as_expr=false
 
58
fi
 
59
 
 
60
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
61
  as_basename=basename
 
62
else
 
63
  as_basename=false
 
64
fi
 
65
 
 
66
 
 
67
# Name of the executable.
 
68
as_me=`$as_basename "$0" ||
 
69
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
70
         X"$0" : 'X\(//\)$' \| \
 
71
         X"$0" : 'X\(/\)$' \| \
 
72
         .     : '\(.\)' 2>/dev/null ||
 
73
echo X/"$0" |
 
74
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
75
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
76
          /^X\/\(\/\).*/{ s//\1/; q; }
 
77
          s/.*/./; q'`
 
78
 
 
79
 
 
80
# PATH needs CR, and LINENO needs CR and PATH.
 
81
# Avoid depending upon Character Ranges.
 
82
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
83
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
84
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
85
as_cr_digits='0123456789'
 
86
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
87
 
 
88
# The user is always right.
 
89
if test "${PATH_SEPARATOR+set}" != set; then
 
90
  echo "#! /bin/sh" >conf$$.sh
 
91
  echo  "exit 0"   >>conf$$.sh
 
92
  chmod +x conf$$.sh
 
93
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
94
    PATH_SEPARATOR=';'
 
95
  else
 
96
    PATH_SEPARATOR=:
 
97
  fi
 
98
  rm -f conf$$.sh
 
99
fi
 
100
 
 
101
 
 
102
  as_lineno_1=$LINENO
 
103
  as_lineno_2=$LINENO
 
104
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
105
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
106
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 
107
  # Find who we are.  Look in the path if we contain no path at all
 
108
  # relative or not.
 
109
  case $0 in
 
110
    *[\\/]* ) as_myself=$0 ;;
 
111
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
112
for as_dir in $PATH
 
113
do
 
114
  IFS=$as_save_IFS
 
115
  test -z "$as_dir" && as_dir=.
 
116
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
117
done
 
118
 
 
119
       ;;
 
120
  esac
 
121
  # We did not find ourselves, most probably we were run as `sh COMMAND'
 
122
  # in which case we are not to be found in the path.
 
123
  if test "x$as_myself" = x; then
 
124
    as_myself=$0
 
125
  fi
 
126
  if test ! -f "$as_myself"; then
 
127
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
 
128
   { (exit 1); exit 1; }; }
 
129
  fi
 
130
  case $CONFIG_SHELL in
 
131
  '')
 
132
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
133
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
134
do
 
135
  IFS=$as_save_IFS
 
136
  test -z "$as_dir" && as_dir=.
 
137
  for as_base in sh bash ksh sh5; do
 
138
         case $as_dir in
 
139
         /*)
 
140
           if ("$as_dir/$as_base" -c '
 
141
  as_lineno_1=$LINENO
 
142
  as_lineno_2=$LINENO
 
143
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
144
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
145
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
146
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
147
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 
148
             CONFIG_SHELL=$as_dir/$as_base
 
149
             export CONFIG_SHELL
 
150
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
151
           fi;;
 
152
         esac
 
153
       done
 
154
done
 
155
;;
 
156
  esac
 
157
 
 
158
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
159
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
160
  # line-number line before each line; the second 'sed' does the real
 
161
  # work.  The second script uses 'N' to pair each line-number line
 
162
  # with the numbered line, and appends trailing '-' during
 
163
  # substitution so that $LINENO is not a special case at line end.
 
164
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
165
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 
166
  sed '=' <$as_myself |
 
167
    sed '
 
168
      N
 
169
      s,$,-,
 
170
      : loop
 
171
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
172
      t loop
 
173
      s,-$,,
 
174
      s,^['$as_cr_digits']*\n,,
 
175
    ' >$as_me.lineno &&
 
176
  chmod +x $as_me.lineno ||
 
177
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
178
   { (exit 1); exit 1; }; }
 
179
 
 
180
  # Don't try to exec as it changes $[0], causing all sort of problems
 
181
  # (the dirname of $[0] is not the place where we might find the
 
182
  # original and so on.  Autoconf is especially sensible to this).
 
183
  . ./$as_me.lineno
 
184
  # Exit status is that of the last command.
 
185
  exit
 
186
}
 
187
 
 
188
 
 
189
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
190
  *c*,-n*) ECHO_N= ECHO_C='
 
191
' ECHO_T='      ' ;;
 
192
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
193
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
194
esac
 
195
 
 
196
if expr a : '\(a\)' >/dev/null 2>&1; then
 
197
  as_expr=expr
 
198
else
 
199
  as_expr=false
 
200
fi
 
201
 
 
202
rm -f conf$$ conf$$.exe conf$$.file
 
203
echo >conf$$.file
 
204
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
205
  # We could just check for DJGPP; but this test a) works b) is more generic
 
206
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 
207
  if test -f conf$$.exe; then
 
208
    # Don't use ln at all; we don't have any links
 
209
    as_ln_s='cp -p'
 
210
  else
 
211
    as_ln_s='ln -s'
 
212
  fi
 
213
elif ln conf$$.file conf$$ 2>/dev/null; then
 
214
  as_ln_s=ln
 
215
else
 
216
  as_ln_s='cp -p'
 
217
fi
 
218
rm -f conf$$ conf$$.exe conf$$.file
 
219
 
 
220
if mkdir -p . 2>/dev/null; then
 
221
  as_mkdir_p=:
 
222
else
 
223
  as_mkdir_p=false
 
224
fi
 
225
 
 
226
as_executable_p="test -f"
 
227
 
 
228
# Sed expression to map a string onto a valid CPP name.
 
229
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
230
 
 
231
# Sed expression to map a string onto a valid variable name.
 
232
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
233
 
 
234
 
 
235
# IFS
 
236
# We need space, tab and new line, in precisely that order.
 
237
as_nl='
 
238
'
 
239
IFS="   $as_nl"
 
240
 
 
241
# CDPATH.
 
242
$as_unset CDPATH
 
243
 
11
244
 
12
245
# Find the correct PATH separator.  Usually this is `:', but
13
246
# DJGPP uses `;' like DOS.
168
401
 
169
402
 
170
403
 
171
 
if expr a : '\(a\)' >/dev/null 2>&1; then
172
 
  as_expr=expr
173
 
else
174
 
  as_expr=false
175
 
fi
176
 
 
177
 
 
178
 
## --------------------- ##
179
 
## M4sh Initialization.  ##
180
 
## --------------------- ##
181
 
 
182
 
# Be Bourne compatible
183
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
184
 
  emulate sh
185
 
  NULLCMD=:
186
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
187
 
  set -o posix
188
 
fi
189
 
 
190
 
# NLS nuisances.
191
 
# Support unset when possible.
192
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
193
 
  as_unset=unset
194
 
else
195
 
  as_unset=false
196
 
fi
197
 
 
198
 
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
199
 
    { $as_unset LANG || test "${LANG+set}" != set; } ||
200
 
      { LANG=C; export LANG; }
201
 
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
202
 
    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
203
 
      { LC_ALL=C; export LC_ALL; }
204
 
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
205
 
    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
206
 
      { LC_TIME=C; export LC_TIME; }
207
 
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
208
 
    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
209
 
      { LC_CTYPE=C; export LC_CTYPE; }
210
 
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
211
 
    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
212
 
      { LANGUAGE=C; export LANGUAGE; }
213
 
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
214
 
    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
215
 
      { LC_COLLATE=C; export LC_COLLATE; }
216
 
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
217
 
    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
218
 
      { LC_NUMERIC=C; export LC_NUMERIC; }
219
 
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
220
 
    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
221
 
      { LC_MESSAGES=C; export LC_MESSAGES; }
222
 
 
223
 
 
224
 
# Name of the executable.
225
 
as_me=`(basename "$0") 2>/dev/null ||
226
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
227
 
         X"$0" : 'X\(//\)$' \| \
228
 
         X"$0" : 'X\(/\)$' \| \
229
 
         .     : '\(.\)' 2>/dev/null ||
230
 
echo X/"$0" |
231
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
232
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
233
 
          /^X\/\(\/\).*/{ s//\1/; q; }
234
 
          s/.*/./; q'`
235
 
 
236
 
# PATH needs CR, and LINENO needs CR and PATH.
237
 
# Avoid depending upon Character Ranges.
238
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
239
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
240
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
241
 
as_cr_digits='0123456789'
242
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
243
 
 
244
 
# The user is always right.
245
 
if test "${PATH_SEPARATOR+set}" != set; then
246
 
  echo "#! /bin/sh" >conftest.sh
247
 
  echo  "exit 0"   >>conftest.sh
248
 
  chmod +x conftest.sh
249
 
  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
250
 
    PATH_SEPARATOR=';'
251
 
  else
252
 
    PATH_SEPARATOR=:
253
 
  fi
254
 
  rm -f conftest.sh
255
 
fi
256
 
 
257
 
 
258
 
  as_lineno_1=$LINENO
259
 
  as_lineno_2=$LINENO
260
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
261
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
262
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
263
 
  # Find who we are.  Look in the path if we contain no path at all
264
 
  # relative or not.
265
 
  case $0 in
266
 
    *[\\/]* ) as_myself=$0 ;;
267
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
268
 
for as_dir in $PATH
269
 
do
270
 
  IFS=$as_save_IFS
271
 
  test -z "$as_dir" && as_dir=.
272
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
273
 
done
274
 
 
275
 
       ;;
276
 
  esac
277
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
278
 
  # in which case we are not to be found in the path.
279
 
  if test "x$as_myself" = x; then
280
 
    as_myself=$0
281
 
  fi
282
 
  if test ! -f "$as_myself"; then
283
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
284
 
   { (exit 1); exit 1; }; }
285
 
  fi
286
 
  case $CONFIG_SHELL in
287
 
  '')
288
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
289
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
290
 
do
291
 
  IFS=$as_save_IFS
292
 
  test -z "$as_dir" && as_dir=.
293
 
  for as_base in sh bash ksh sh5; do
294
 
         case $as_dir in
295
 
         /*)
296
 
           if ("$as_dir/$as_base" -c '
297
 
  as_lineno_1=$LINENO
298
 
  as_lineno_2=$LINENO
299
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
300
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
301
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
302
 
             CONFIG_SHELL=$as_dir/$as_base
303
 
             export CONFIG_SHELL
304
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
305
 
           fi;;
306
 
         esac
307
 
       done
308
 
done
309
 
;;
310
 
  esac
311
 
 
312
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
313
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
314
 
  # line-number line before each line; the second 'sed' does the real
315
 
  # work.  The second script uses 'N' to pair each line-number line
316
 
  # with the numbered line, and appends trailing '-' during
317
 
  # substitution so that $LINENO is not a special case at line end.
318
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
319
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
320
 
  sed '=' <$as_myself |
321
 
    sed '
322
 
      N
323
 
      s,$,-,
324
 
      : loop
325
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
326
 
      t loop
327
 
      s,-$,,
328
 
      s,^['$as_cr_digits']*\n,,
329
 
    ' >$as_me.lineno &&
330
 
  chmod +x $as_me.lineno ||
331
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
332
 
   { (exit 1); exit 1; }; }
333
 
 
334
 
  # Don't try to exec as it changes $[0], causing all sort of problems
335
 
  # (the dirname of $[0] is not the place where we might find the
336
 
  # original and so on.  Autoconf is especially sensible to this).
337
 
  . ./$as_me.lineno
338
 
  # Exit status is that of the last command.
339
 
  exit
340
 
}
341
 
 
342
 
 
343
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
344
 
  *c*,-n*) ECHO_N= ECHO_C='
345
 
' ECHO_T='      ' ;;
346
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
347
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
348
 
esac
349
 
 
350
 
if expr a : '\(a\)' >/dev/null 2>&1; then
351
 
  as_expr=expr
352
 
else
353
 
  as_expr=false
354
 
fi
355
 
 
356
 
rm -f conf$$ conf$$.exe conf$$.file
357
 
echo >conf$$.file
358
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
359
 
  # We could just check for DJGPP; but this test a) works b) is more generic
360
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
361
 
  if test -f conf$$.exe; then
362
 
    # Don't use ln at all; we don't have any links
363
 
    as_ln_s='cp -p'
364
 
  else
365
 
    as_ln_s='ln -s'
366
 
  fi
367
 
elif ln conf$$.file conf$$ 2>/dev/null; then
368
 
  as_ln_s=ln
369
 
else
370
 
  as_ln_s='cp -p'
371
 
fi
372
 
rm -f conf$$ conf$$.exe conf$$.file
373
 
 
374
 
as_executable_p="test -f"
375
 
 
376
 
# Sed expression to map a string onto a valid CPP name.
377
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
378
 
 
379
 
# Sed expression to map a string onto a valid variable name.
380
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
381
 
 
382
 
 
383
 
# IFS
384
 
# We need space, tab and new line, in precisely that order.
385
 
as_nl='
386
 
'
387
 
IFS="   $as_nl"
388
 
 
389
 
# CDPATH.
390
 
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
391
 
 
392
 
 
393
404
# Name of the host.
394
405
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395
406
# so uname gets run too.
401
412
# Initializations.
402
413
#
403
414
ac_default_prefix=/usr/local
 
415
ac_config_libobj_dir=.
404
416
cross_compiling=no
405
417
subdirs=
406
418
MFLAGS=
457
469
# include <unistd.h>
458
470
#endif"
459
471
 
 
472
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 BUILD_WITH_MSVC SOQT_MAJOR_VERSION SOQT_MINOR_VERSION SOQT_MICRO_VERSION SOQT_BETA_VERSION SOQT_VERSION LT_CURRENT LT_REVISION LT_AGE SOQT_SO_VERSION INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP SOGUI_MSVC_LIBC LN_S ECHO RANLIB ac_ct_RANLIB EGREP LIBTOOL SOGUI_EXTRA_CPPFLAGS SOGUI_EXTRA_CFLAGS SOGUI_EXTRA_CXXFLAGS SOGUI_EXTRA_LDFLAGS SOGUI_EXTRA_LIBS CONFIG SUFFIX BUILD_LIBRARY_TRUE BUILD_LIBRARY_FALSE htmldir SOGUI_DOC_HTML SOGUI_DOC_MAN sogui_build_dir sogui_src_dir sogui_html_dir sogui_man_dir BUILD_MANPAGES_TRUE BUILD_MANPAGES_FALSE BUILD_HTMLPAGES_TRUE BUILD_HTMLPAGES_FALSE sim_ac_doxygen_exe sim_ac_perl_exe path_tag BUILD_METAFILES_TRUE BUILD_METAFILES_FALSE meta_prefix X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS sim_ac_coin_configcmd QTDIR sim_ac_qt_cygpath MOC HAVE_JOYSTICK_LINUX_TRUE HAVE_JOYSTICK_LINUX_FALSE DSUFFIX COIN_COMPILER ivframeworkdir frameworkdir ivincludedir soqtincludedir MAC_FRAMEWORK MAC_FRAMEWORK_NAME MAC_FRAMEWORK_PREFIX MAC_FRAMEWORK_VERSION nop MAC_FRAMEWORK_TRUE MAC_FRAMEWORK_FALSE UNIX2WINPATH Gui gui GUI WIDGET EVENT COMPONENTHEADER soqt_build_dir soqt_w32_build_dir soqt_src_dir soqt_w32_src_dir LIBFLAGS BUILD_WITH_MSVC_TRUE BUILD_WITH_MSVC_FALSE SOQT_DSP_LIBS SOQT_DSP_INCS SOQT_DSP_DEFS LIBOBJS LTLIBOBJS'
 
473
ac_subst_files=''
460
474
 
461
475
# Initialize some variables set by options.
462
476
ac_init_help=
880
894
   { (exit 1); exit 1; }; }
881
895
  fi
882
896
fi
 
897
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
 
898
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
 
899
   { (exit 1); exit 1; }; }
883
900
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
884
901
ac_env_build_alias_set=${build_alias+set}
885
902
ac_env_build_alias_value=$build_alias
1017
1034
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1018
1035
  --enable-msvcdsp        build .dsp, not library
1019
1036
  --disable-msvc          don't require MS Visual C++ on Cygwin
1020
 
  --disable-dependency-tracking Speeds up one-time builds
1021
 
  --enable-dependency-tracking  Do not reject slow dependency extractors
1022
1037
  --enable-static=PKGS  build static libraries default=no
1023
1038
  --enable-maintainer-mode enable make rules and dependencies not useful
1024
1039
                          (and sometimes confusing) to the casual installer
 
1040
  --disable-dependency-tracking Speeds up one-time builds
 
1041
  --enable-dependency-tracking  Do not reject slow dependency extractors
1025
1042
  --enable-shared=PKGS  build shared libraries default=yes
1026
1043
  --enable-fast-install=PKGS  optimize for fast installation default=yes
1027
1044
  --disable-libtool-lock  avoid locking (might break parallel builds)
1123
1140
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1124
1141
# absolute.
1125
1142
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1126
 
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
 
1143
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1127
1144
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1128
1145
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1129
1146
 
1150
1167
if $ac_init_version; then
1151
1168
  cat <<\_ACEOF
1152
1169
SoQt configure 1.0.2
1153
 
generated by GNU Autoconf 2.53
 
1170
generated by GNU Autoconf 2.57
1154
1171
 
1155
1172
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1156
1173
Free Software Foundation, Inc.
1165
1182
running configure, to aid debugging if configure makes a mistake.
1166
1183
 
1167
1184
It was created by SoQt $as_me 1.0.2, which was
1168
 
generated by GNU Autoconf 2.53.  Invocation command line was
 
1185
generated by GNU Autoconf 2.57.  Invocation command line was
1169
1186
 
1170
1187
  $ $0 $@
1171
1188
 
1217
1234
 
1218
1235
# Keep a trace of the command line.
1219
1236
# Strip out --no-create and --no-recursion so they do not pile up.
 
1237
# Strip out --silent because we don't want to record it for future runs.
1220
1238
# Also quote any args containing shell meta-characters.
 
1239
# Make two passes to allow for proper duplicate-argument suppression.
1221
1240
ac_configure_args=
 
1241
ac_configure_args0=
 
1242
ac_configure_args1=
1222
1243
ac_sep=
1223
 
for ac_arg
 
1244
ac_must_keep_next=false
 
1245
for ac_pass in 1 2
1224
1246
do
1225
 
  case $ac_arg in
1226
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1227
 
  | --no-cr | --no-c | -n ) continue ;;
1228
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1229
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1230
 
    continue ;;
1231
 
  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1232
 
    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1233
 
  esac
1234
 
  case " $ac_configure_args " in
1235
 
    *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1236
 
    *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1237
 
       ac_sep=" " ;;
1238
 
  esac
1239
 
  # Get rid of the leading space.
 
1247
  for ac_arg
 
1248
  do
 
1249
    case $ac_arg in
 
1250
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
1251
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1252
    | -silent | --silent | --silen | --sile | --sil)
 
1253
      continue ;;
 
1254
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1255
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1256
    esac
 
1257
    case $ac_pass in
 
1258
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1259
    2)
 
1260
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1261
      if test $ac_must_keep_next = true; then
 
1262
        ac_must_keep_next=false # Got value, back to normal.
 
1263
      else
 
1264
        case $ac_arg in
 
1265
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1266
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1267
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1268
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1269
            case "$ac_configure_args0 " in
 
1270
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1271
            esac
 
1272
            ;;
 
1273
          -* ) ac_must_keep_next=true ;;
 
1274
        esac
 
1275
      fi
 
1276
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 
1277
      # Get rid of the leading space.
 
1278
      ac_sep=" "
 
1279
      ;;
 
1280
    esac
 
1281
  done
1240
1282
done
 
1283
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 
1284
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1241
1285
 
1242
1286
# When interrupted or exit'd, cleanup temporary files, and complete
1243
1287
# config.log.  We remove comments because anyway the quotes in there
1248
1292
  # Save into config.log some information that might help in debugging.
1249
1293
  {
1250
1294
    echo
 
1295
 
1251
1296
    cat <<\_ASBOX
1252
1297
## ---------------- ##
1253
1298
## Cache variables. ##
1270
1315
    esac;
1271
1316
}
1272
1317
    echo
 
1318
 
 
1319
    cat <<\_ASBOX
 
1320
## ----------------- ##
 
1321
## Output variables. ##
 
1322
## ----------------- ##
 
1323
_ASBOX
 
1324
    echo
 
1325
    for ac_var in $ac_subst_vars
 
1326
    do
 
1327
      eval ac_val=$`echo $ac_var`
 
1328
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1329
    done | sort
 
1330
    echo
 
1331
 
 
1332
    if test -n "$ac_subst_files"; then
 
1333
      cat <<\_ASBOX
 
1334
## ------------- ##
 
1335
## Output files. ##
 
1336
## ------------- ##
 
1337
_ASBOX
 
1338
      echo
 
1339
      for ac_var in $ac_subst_files
 
1340
      do
 
1341
        eval ac_val=$`echo $ac_var`
 
1342
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1343
      done | sort
 
1344
      echo
 
1345
    fi
 
1346
 
1273
1347
    if test -s confdefs.h; then
1274
1348
      cat <<\_ASBOX
1275
1349
## ----------- ##
1277
1351
## ----------- ##
1278
1352
_ASBOX
1279
1353
      echo
1280
 
      sed "/^$/d" confdefs.h
 
1354
      sed "/^$/d" confdefs.h | sort
1281
1355
      echo
1282
1356
    fi
1283
1357
    test "$ac_signal" != 0 &&
1443
1517
 
1444
1518
 
1445
1519
 
 
1520
 
1446
1521
ac_aux_dir=
1447
1522
for ac_dir in cfg $srcdir/cfg; do
1448
1523
  if test -f $ac_dir/install-sh; then
1706
1781
# **************************************************************************
1707
1782
# Miscellaneous options and initializations.
1708
1783
 
 
1784
am__api_version="1.7"
1709
1785
# Find a good install program.  We prefer a C program (faster),
1710
1786
# so one script is as good as another.  But avoid the broken or
1711
1787
# incompatible versions:
1843
1919
 
1844
1920
 
1845
1921
# expand $ac_aux_dir to an absolute path
1846
 
if test "${CDPATH+set}" = set; then
1847
 
  CDPATH=${ZSH_VERSION+.}:   # as recommended in autoconf.texi
1848
 
fi
1849
1922
am_aux_dir=`cd $ac_aux_dir && pwd`
1850
1923
 
1851
1924
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1854
1927
  am_missing_run="$MISSING --run "
1855
1928
else
1856
1929
  am_missing_run=
1857
 
  am_backtick='`'
1858
 
  { echo "$as_me:$LINENO: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1859
 
echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
 
1930
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
1931
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1860
1932
fi
1861
1933
 
1862
1934
for ac_prog in gawk mawk nawk awk
1899
1971
  test -n "$AWK" && break
1900
1972
done
1901
1973
 
1902
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1903
 
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
 
1974
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
1975
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1904
1976
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1905
1977
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1906
1978
  echo $ECHO_N "(cached) $ECHO_C" >&6
1907
1979
else
1908
1980
  cat >conftest.make <<\_ACEOF
1909
1981
all:
1910
 
        @echo 'ac_maketemp="${MAKE}"'
 
1982
        @echo 'ac_maketemp="$(MAKE)"'
1911
1983
_ACEOF
1912
1984
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1913
1985
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1928
2000
  SET_MAKE="MAKE=${MAKE-make}"
1929
2001
fi
1930
2002
 
1931
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1932
 
if test "${enable_dependency_tracking+set}" = set; then
1933
 
  enableval="$enable_dependency_tracking"
1934
 
 
1935
 
fi;
1936
 
if test "x$enable_dependency_tracking" != xno; then
1937
 
  am_depcomp="$ac_aux_dir/depcomp"
1938
 
  AMDEPBACKSLASH='\'
1939
 
fi
1940
 
 
1941
 
 
1942
 
if test "x$enable_dependency_tracking" != xno; then
1943
 
  AMDEP_TRUE=
1944
 
  AMDEP_FALSE='#'
1945
 
else
1946
 
  AMDEP_TRUE='#'
1947
 
  AMDEP_FALSE=
1948
 
fi
1949
 
 
1950
 
 
1951
 
 
1952
 
 
1953
 
rm -f .deps 2>/dev/null
1954
 
mkdir .deps 2>/dev/null
1955
 
if test -d .deps; then
1956
 
  DEPDIR=.deps
1957
 
else
1958
 
  # MS-DOS does not allow filenames that begin with a dot.
1959
 
  DEPDIR=_deps
1960
 
fi
1961
 
rmdir .deps 2>/dev/null
1962
 
 
1963
 
 
1964
 
# test to see if srcdir already configured
1965
 
if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
 
2003
rm -rf .tst 2>/dev/null
 
2004
mkdir .tst 2>/dev/null
 
2005
if test -d .tst; then
 
2006
  am__leading_dot=.
 
2007
else
 
2008
  am__leading_dot=_
 
2009
fi
 
2010
rmdir .tst 2>/dev/null
 
2011
 
 
2012
 # test to see if srcdir already configured
 
2013
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1966
2014
   test -f $srcdir/config.status; then
1967
2015
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1968
2016
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1969
2017
   { (exit 1); exit 1; }; }
1970
2018
fi
1971
2019
 
 
2020
# test whether we have cygpath
 
2021
if test -z "$CYGPATH_W"; then
 
2022
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
2023
    CYGPATH_W='cygpath -w'
 
2024
  else
 
2025
    CYGPATH_W=echo
 
2026
  fi
 
2027
fi
 
2028
 
 
2029
 
1972
2030
# Define the identity of the package.
1973
 
PACKAGE=SoQt
1974
 
VERSION=$VERSION
 
2031
 PACKAGE=SoQt
 
2032
 VERSION=$VERSION
 
2033
 
1975
2034
 
1976
2035
cat >>confdefs.h <<_ACEOF
1977
2036
#define PACKAGE "$PACKAGE"
1982
2041
#define VERSION "$VERSION"
1983
2042
_ACEOF
1984
2043
 
1985
 
 
1986
 
# Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
1987
 
# the ones we care about.
1988
 
 
1989
 
# Autoconf 2.50 always computes EXEEXT.  However we need to be
1990
 
# compatible with 2.13, for now.  So we always define EXEEXT, but we
1991
 
# don't compute it.
1992
 
 
1993
 
# Similar for OBJEXT -- only we only use OBJEXT if the user actually
1994
 
# requests that it be used.  This is a bit dumb.
1995
 
: ${OBJEXT=o}
1996
 
 
1997
 
 
1998
2044
# Some tools Automake needs.
1999
2045
 
2000
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
 
2046
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2001
2047
 
2002
2048
 
2003
2049
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2004
2050
 
2005
2051
 
2006
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
 
2052
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2007
2053
 
2008
2054
 
2009
2055
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2016
2062
 
2017
2063
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2018
2064
 
 
2065
# Installed binaries are usually stripped using `strip' when the user
 
2066
# run `make install-strip'.  However `strip' might not be the right
 
2067
# tool to use in cross-compilation environments, therefore Automake
 
2068
# will honor the `STRIP' environment variable to overrule this program.
 
2069
if test "$cross_compiling" != no; then
 
2070
  if test -n "$ac_tool_prefix"; then
 
2071
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2072
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2073
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2074
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2075
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2076
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2077
else
 
2078
  if test -n "$STRIP"; then
 
2079
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2080
else
 
2081
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2082
for as_dir in $PATH
 
2083
do
 
2084
  IFS=$as_save_IFS
 
2085
  test -z "$as_dir" && as_dir=.
 
2086
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2087
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2088
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2089
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2090
    break 2
 
2091
  fi
 
2092
done
 
2093
done
 
2094
 
 
2095
fi
 
2096
fi
 
2097
STRIP=$ac_cv_prog_STRIP
 
2098
if test -n "$STRIP"; then
 
2099
  echo "$as_me:$LINENO: result: $STRIP" >&5
 
2100
echo "${ECHO_T}$STRIP" >&6
 
2101
else
 
2102
  echo "$as_me:$LINENO: result: no" >&5
 
2103
echo "${ECHO_T}no" >&6
 
2104
fi
 
2105
 
 
2106
fi
 
2107
if test -z "$ac_cv_prog_STRIP"; then
 
2108
  ac_ct_STRIP=$STRIP
 
2109
  # Extract the first word of "strip", so it can be a program name with args.
 
2110
set dummy strip; ac_word=$2
 
2111
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2112
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2113
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2114
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2115
else
 
2116
  if test -n "$ac_ct_STRIP"; then
 
2117
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2118
else
 
2119
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2120
for as_dir in $PATH
 
2121
do
 
2122
  IFS=$as_save_IFS
 
2123
  test -z "$as_dir" && as_dir=.
 
2124
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2125
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2126
    ac_cv_prog_ac_ct_STRIP="strip"
 
2127
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2128
    break 2
 
2129
  fi
 
2130
done
 
2131
done
 
2132
 
 
2133
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 
2134
fi
 
2135
fi
 
2136
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2137
if test -n "$ac_ct_STRIP"; then
 
2138
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2139
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2140
else
 
2141
  echo "$as_me:$LINENO: result: no" >&5
 
2142
echo "${ECHO_T}no" >&6
 
2143
fi
 
2144
 
 
2145
  STRIP=$ac_ct_STRIP
 
2146
else
 
2147
  STRIP="$ac_cv_prog_STRIP"
 
2148
fi
 
2149
 
 
2150
fi
2019
2151
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2020
2152
 
2021
2153
# We need awk for the "check" target.  The system "awk" is bad on
2022
2154
# some platforms.
2023
2155
 
2024
2156
 
 
2157
 
 
2158
 
2025
2159
# File to cram results from the configure tests into.
2026
2160
# we pit this in src/ to avoid having to add extra INCLUDES directives in
2027
2161
# MAkefile.am
2028
 
 
2029
 
 
2030
 
 
2031
 
                                                    ac_config_headers="$ac_config_headers src/config.h"
 
2162
          ac_config_headers="$ac_config_headers src/config.h"
2032
2163
 
2033
2164
 
2034
2165
# Default to not building a static library.
2077
2208
  MAINTAINER_MODE_TRUE='#'
2078
2209
  MAINTAINER_MODE_FALSE=
2079
2210
fi
 
2211
 
2080
2212
  MAINT=$MAINTAINER_MODE_TRUE
2081
2213
 
2082
2214
 
2286
2418
    # However, it has the same basename, so the bogon will be chosen
2287
2419
    # first if we set CC to just the basename; use the full file name.
2288
2420
    shift
2289
 
    set dummy "$as_dir/$ac_word" ${1+"$@"}
2290
 
    shift
2291
 
    ac_cv_prog_CC="$@"
 
2421
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2292
2422
  fi
2293
2423
fi
2294
2424
fi
2393
2523
fi
2394
2524
 
2395
2525
 
2396
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
2397
 
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
 
2526
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
2527
See \`config.log' for more details." >&5
 
2528
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
2529
See \`config.log' for more details." >&2;}
2398
2530
   { (exit 1); exit 1; }; }
2399
2531
 
2400
2532
# Provide some information about the compiler.
2419
2551
 
2420
2552
cat >conftest.$ac_ext <<_ACEOF
2421
2553
#line $LINENO "configure"
2422
 
#include "confdefs.h"
 
2554
/* confdefs.h.  */
 
2555
_ACEOF
 
2556
cat confdefs.h >>conftest.$ac_ext
 
2557
cat >>conftest.$ac_ext <<_ACEOF
 
2558
/* end confdefs.h.  */
2423
2559
 
2424
 
#ifdef F77_DUMMY_MAIN
2425
 
#  ifdef __cplusplus
2426
 
     extern "C"
2427
 
#  endif
2428
 
   int F77_DUMMY_MAIN() { return 1; }
2429
 
#endif
2430
2560
int
2431
2561
main ()
2432
2562
{
2436
2566
}
2437
2567
_ACEOF
2438
2568
ac_clean_files_save=$ac_clean_files
2439
 
ac_clean_files="$ac_clean_files a.out a.exe"
 
2569
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2440
2570
# Try to create an executable without -o first, disregard a.out.
2441
2571
# It will help us diagnose broken compilers, and finding out an intuition
2442
2572
# of exeext.
2455
2585
# Be careful to initialize this variable, since it used to be cached.
2456
2586
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2457
2587
ac_cv_exeext=
2458
 
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2459
 
                ls a.out conftest 2>/dev/null;
2460
 
                ls a.* conftest.* 2>/dev/null`; do
 
2588
# b.out is created by i960 compilers.
 
2589
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2590
do
 
2591
  test -f "$ac_file" || continue
2461
2592
  case $ac_file in
2462
 
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
2463
 
    a.out ) # We found the default executable, but exeext='' is most
2464
 
            # certainly right.
2465
 
            break;;
2466
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2467
 
          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2468
 
          export ac_cv_exeext
2469
 
          break;;
2470
 
    * ) break;;
 
2593
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 
2594
        ;;
 
2595
    conftest.$ac_ext )
 
2596
        # This is the source file.
 
2597
        ;;
 
2598
    [ab].out )
 
2599
        # We found the default executable, but exeext='' is most
 
2600
        # certainly right.
 
2601
        break;;
 
2602
    *.* )
 
2603
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2604
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
2605
        # but it would be cool to find out if it's true.  Does anybody
 
2606
        # maintain Libtool? --akim.
 
2607
        export ac_cv_exeext
 
2608
        break;;
 
2609
    * )
 
2610
        break;;
2471
2611
  esac
2472
2612
done
2473
2613
else
2474
2614
  echo "$as_me: failed program was:" >&5
2475
 
cat conftest.$ac_ext >&5
2476
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2477
 
echo "$as_me: error: C compiler cannot create executables" >&2;}
 
2615
sed 's/^/| /' conftest.$ac_ext >&5
 
2616
 
 
2617
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
2618
See \`config.log' for more details." >&5
 
2619
echo "$as_me: error: C compiler cannot create executables
 
2620
See \`config.log' for more details." >&2;}
2478
2621
   { (exit 77); exit 77; }; }
2479
2622
fi
2480
2623
 
2501
2644
        cross_compiling=yes
2502
2645
    else
2503
2646
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2504
 
If you meant to cross compile, use \`--host'." >&5
 
2647
If you meant to cross compile, use \`--host'.
 
2648
See \`config.log' for more details." >&5
2505
2649
echo "$as_me: error: cannot run C compiled programs.
2506
 
If you meant to cross compile, use \`--host'." >&2;}
 
2650
If you meant to cross compile, use \`--host'.
 
2651
See \`config.log' for more details." >&2;}
2507
2652
   { (exit 1); exit 1; }; }
2508
2653
    fi
2509
2654
  fi
2511
2656
echo "$as_me:$LINENO: result: yes" >&5
2512
2657
echo "${ECHO_T}yes" >&6
2513
2658
 
2514
 
rm -f a.out a.exe conftest$ac_cv_exeext
 
2659
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2515
2660
ac_clean_files=$ac_clean_files_save
2516
2661
# Check the compiler produces executables we can run.  If not, either
2517
2662
# the compiler is broken, or we cross compile.
2531
2676
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2532
2677
# work properly (i.e., refer to `conftest.exe'), while it won't with
2533
2678
# `rm'.
2534
 
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
 
2679
for ac_file in conftest.exe conftest conftest.*; do
 
2680
  test -f "$ac_file" || continue
2535
2681
  case $ac_file in
2536
 
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
 
2682
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2537
2683
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2538
2684
          export ac_cv_exeext
2539
2685
          break;;
2541
2687
  esac
2542
2688
done
2543
2689
else
2544
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2545
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
 
2690
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
2691
See \`config.log' for more details." >&5
 
2692
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
2693
See \`config.log' for more details." >&2;}
2546
2694
   { (exit 1); exit 1; }; }
2547
2695
fi
2548
2696
 
2560
2708
else
2561
2709
  cat >conftest.$ac_ext <<_ACEOF
2562
2710
#line $LINENO "configure"
2563
 
#include "confdefs.h"
 
2711
/* confdefs.h.  */
 
2712
_ACEOF
 
2713
cat confdefs.h >>conftest.$ac_ext
 
2714
cat >>conftest.$ac_ext <<_ACEOF
 
2715
/* end confdefs.h.  */
2564
2716
 
2565
 
#ifdef F77_DUMMY_MAIN
2566
 
#  ifdef __cplusplus
2567
 
     extern "C"
2568
 
#  endif
2569
 
   int F77_DUMMY_MAIN() { return 1; }
2570
 
#endif
2571
2717
int
2572
2718
main ()
2573
2719
{
2584
2730
  (exit $ac_status); }; then
2585
2731
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2586
2732
  case $ac_file in
2587
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
 
2733
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2588
2734
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2589
2735
       break;;
2590
2736
  esac
2591
2737
done
2592
2738
else
2593
2739
  echo "$as_me: failed program was:" >&5
2594
 
cat conftest.$ac_ext >&5
2595
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2596
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
 
2740
sed 's/^/| /' conftest.$ac_ext >&5
 
2741
 
 
2742
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
2743
See \`config.log' for more details." >&5
 
2744
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
2745
See \`config.log' for more details." >&2;}
2597
2746
   { (exit 1); exit 1; }; }
2598
2747
fi
2599
2748
 
2610
2759
else
2611
2760
  cat >conftest.$ac_ext <<_ACEOF
2612
2761
#line $LINENO "configure"
2613
 
#include "confdefs.h"
 
2762
/* confdefs.h.  */
 
2763
_ACEOF
 
2764
cat confdefs.h >>conftest.$ac_ext
 
2765
cat >>conftest.$ac_ext <<_ACEOF
 
2766
/* end confdefs.h.  */
2614
2767
 
2615
 
#ifdef F77_DUMMY_MAIN
2616
 
#  ifdef __cplusplus
2617
 
     extern "C"
2618
 
#  endif
2619
 
   int F77_DUMMY_MAIN() { return 1; }
2620
 
#endif
2621
2768
int
2622
2769
main ()
2623
2770
{
2644
2791
  ac_compiler_gnu=yes
2645
2792
else
2646
2793
  echo "$as_me: failed program was:" >&5
2647
 
cat conftest.$ac_ext >&5
 
2794
sed 's/^/| /' conftest.$ac_ext >&5
 
2795
 
2648
2796
ac_compiler_gnu=no
2649
2797
fi
2650
2798
rm -f conftest.$ac_objext conftest.$ac_ext
2664
2812
else
2665
2813
  cat >conftest.$ac_ext <<_ACEOF
2666
2814
#line $LINENO "configure"
2667
 
#include "confdefs.h"
 
2815
/* confdefs.h.  */
 
2816
_ACEOF
 
2817
cat confdefs.h >>conftest.$ac_ext
 
2818
cat >>conftest.$ac_ext <<_ACEOF
 
2819
/* end confdefs.h.  */
2668
2820
 
2669
 
#ifdef F77_DUMMY_MAIN
2670
 
#  ifdef __cplusplus
2671
 
     extern "C"
2672
 
#  endif
2673
 
   int F77_DUMMY_MAIN() { return 1; }
2674
 
#endif
2675
2821
int
2676
2822
main ()
2677
2823
{
2695
2841
  ac_cv_prog_cc_g=yes
2696
2842
else
2697
2843
  echo "$as_me: failed program was:" >&5
2698
 
cat conftest.$ac_ext >&5
 
2844
sed 's/^/| /' conftest.$ac_ext >&5
 
2845
 
2699
2846
ac_cv_prog_cc_g=no
2700
2847
fi
2701
2848
rm -f conftest.$ac_objext conftest.$ac_ext
2717
2864
    CFLAGS=
2718
2865
  fi
2719
2866
fi
 
2867
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 
2868
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 
2869
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
2870
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2871
else
 
2872
  ac_cv_prog_cc_stdc=no
 
2873
ac_save_CC=$CC
 
2874
cat >conftest.$ac_ext <<_ACEOF
 
2875
#line $LINENO "configure"
 
2876
/* confdefs.h.  */
 
2877
_ACEOF
 
2878
cat confdefs.h >>conftest.$ac_ext
 
2879
cat >>conftest.$ac_ext <<_ACEOF
 
2880
/* end confdefs.h.  */
 
2881
#include <stdarg.h>
 
2882
#include <stdio.h>
 
2883
#include <sys/types.h>
 
2884
#include <sys/stat.h>
 
2885
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
2886
struct buf { int x; };
 
2887
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
2888
static char *e (p, i)
 
2889
     char **p;
 
2890
     int i;
 
2891
{
 
2892
  return p[i];
 
2893
}
 
2894
static char *f (char * (*g) (char **, int), char **p, ...)
 
2895
{
 
2896
  char *s;
 
2897
  va_list v;
 
2898
  va_start (v,p);
 
2899
  s = g (p, va_arg (v,int));
 
2900
  va_end (v);
 
2901
  return s;
 
2902
}
 
2903
int test (int i, double x);
 
2904
struct s1 {int (*f) (int a);};
 
2905
struct s2 {int (*f) (double a);};
 
2906
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
2907
int argc;
 
2908
char **argv;
 
2909
int
 
2910
main ()
 
2911
{
 
2912
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
2913
  ;
 
2914
  return 0;
 
2915
}
 
2916
_ACEOF
 
2917
# Don't try gcc -ansi; that turns off useful extensions and
 
2918
# breaks some systems' header files.
 
2919
# AIX                   -qlanglvl=ansi
 
2920
# Ultrix and OSF/1      -std1
 
2921
# HP-UX 10.20 and later -Ae
 
2922
# HP-UX older versions  -Aa -D_HPUX_SOURCE
 
2923
# SVR4                  -Xc -D__EXTENSIONS__
 
2924
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
2925
do
 
2926
  CC="$ac_save_CC $ac_arg"
 
2927
  rm -f conftest.$ac_objext
 
2928
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2929
  (eval $ac_compile) 2>&5
 
2930
  ac_status=$?
 
2931
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2932
  (exit $ac_status); } &&
 
2933
         { ac_try='test -s conftest.$ac_objext'
 
2934
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2935
  (eval $ac_try) 2>&5
 
2936
  ac_status=$?
 
2937
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2938
  (exit $ac_status); }; }; then
 
2939
  ac_cv_prog_cc_stdc=$ac_arg
 
2940
break
 
2941
else
 
2942
  echo "$as_me: failed program was:" >&5
 
2943
sed 's/^/| /' conftest.$ac_ext >&5
 
2944
 
 
2945
fi
 
2946
rm -f conftest.$ac_objext
 
2947
done
 
2948
rm -f conftest.$ac_ext conftest.$ac_objext
 
2949
CC=$ac_save_CC
 
2950
 
 
2951
fi
 
2952
 
 
2953
case "x$ac_cv_prog_cc_stdc" in
 
2954
  x|xno)
 
2955
    echo "$as_me:$LINENO: result: none needed" >&5
 
2956
echo "${ECHO_T}none needed" >&6 ;;
 
2957
  *)
 
2958
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 
2959
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 
2960
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
2961
esac
 
2962
 
2720
2963
# Some people use a C++ compiler to compile C.  Since we use `exit',
2721
2964
# in C++ we need to declare it.  In case someone uses the same compiler
2722
2965
# for both compiling C and C++ we need to have the C++ compiler decide
2749
2992
do
2750
2993
  cat >conftest.$ac_ext <<_ACEOF
2751
2994
#line $LINENO "configure"
2752
 
#include "confdefs.h"
 
2995
/* confdefs.h.  */
 
2996
_ACEOF
 
2997
cat confdefs.h >>conftest.$ac_ext
 
2998
cat >>conftest.$ac_ext <<_ACEOF
 
2999
/* end confdefs.h.  */
2753
3000
#include <stdlib.h>
2754
3001
$ac_declaration
2755
 
#ifdef F77_DUMMY_MAIN
2756
 
#  ifdef __cplusplus
2757
 
     extern "C"
2758
 
#  endif
2759
 
   int F77_DUMMY_MAIN() { return 1; }
2760
 
#endif
2761
3002
int
2762
3003
main ()
2763
3004
{
2781
3022
  :
2782
3023
else
2783
3024
  echo "$as_me: failed program was:" >&5
2784
 
cat conftest.$ac_ext >&5
 
3025
sed 's/^/| /' conftest.$ac_ext >&5
 
3026
 
2785
3027
continue
2786
3028
fi
2787
3029
rm -f conftest.$ac_objext conftest.$ac_ext
2788
3030
  cat >conftest.$ac_ext <<_ACEOF
2789
3031
#line $LINENO "configure"
2790
 
#include "confdefs.h"
 
3032
/* confdefs.h.  */
 
3033
_ACEOF
 
3034
cat confdefs.h >>conftest.$ac_ext
 
3035
cat >>conftest.$ac_ext <<_ACEOF
 
3036
/* end confdefs.h.  */
2791
3037
$ac_declaration
2792
 
#ifdef F77_DUMMY_MAIN
2793
 
#  ifdef __cplusplus
2794
 
     extern "C"
2795
 
#  endif
2796
 
   int F77_DUMMY_MAIN() { return 1; }
2797
 
#endif
2798
3038
int
2799
3039
main ()
2800
3040
{
2818
3058
  break
2819
3059
else
2820
3060
  echo "$as_me: failed program was:" >&5
2821
 
cat conftest.$ac_ext >&5
 
3061
sed 's/^/| /' conftest.$ac_ext >&5
 
3062
 
2822
3063
fi
2823
3064
rm -f conftest.$ac_objext conftest.$ac_ext
2824
3065
done
2831
3072
 
2832
3073
else
2833
3074
  echo "$as_me: failed program was:" >&5
2834
 
cat conftest.$ac_ext >&5
 
3075
sed 's/^/| /' conftest.$ac_ext >&5
 
3076
 
2835
3077
fi
2836
3078
rm -f conftest.$ac_objext conftest.$ac_ext
2837
3079
ac_ext=c
2839
3081
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2840
3082
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2841
3083
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2842
 
 
2843
 
ac_config_commands="$ac_config_commands default-1"
 
3084
DEPDIR="${am__leading_dot}deps"
 
3085
 
 
3086
          ac_config_commands="$ac_config_commands depfiles"
 
3087
 
2844
3088
 
2845
3089
am_make=${MAKE-make}
2846
3090
cat > confinc << 'END'
2850
3094
# If we don't find an include directive, just comment out the code.
2851
3095
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2852
3096
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2853
 
am__include='#'
 
3097
am__include="#"
2854
3098
am__quote=
2855
3099
_am_result=none
2856
3100
# First try GNU make style include.
2860
3104
# In particular we don't look at `^make:' because GNU make might
2861
3105
# be invoked under some other name (usually "gmake"), in which
2862
3106
# case it prints its new name instead of `make'.
2863
 
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
 
3107
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2864
3108
   am__include=include
2865
3109
   am__quote=
2866
3110
   _am_result=GNU
2870
3114
   echo '.include "confinc"' > confmf
2871
3115
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2872
3116
      am__include=.include
2873
 
      am__quote='"'
 
3117
      am__quote="\""
2874
3118
      _am_result=BSD
2875
3119
   fi
2876
3120
fi
2880
3124
echo "${ECHO_T}$_am_result" >&6
2881
3125
rm -f confinc confmf
2882
3126
 
 
3127
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3128
if test "${enable_dependency_tracking+set}" = set; then
 
3129
  enableval="$enable_dependency_tracking"
 
3130
 
 
3131
fi;
 
3132
if test "x$enable_dependency_tracking" != xno; then
 
3133
  am_depcomp="$ac_aux_dir/depcomp"
 
3134
  AMDEPBACKSLASH='\'
 
3135
fi
 
3136
 
 
3137
 
 
3138
if test "x$enable_dependency_tracking" != xno; then
 
3139
  AMDEP_TRUE=
 
3140
  AMDEP_FALSE='#'
 
3141
else
 
3142
  AMDEP_TRUE='#'
 
3143
  AMDEP_FALSE=
 
3144
fi
 
3145
 
 
3146
 
 
3147
 
2883
3148
 
2884
3149
depcc="$CC"   am_compiler_list=
2885
3150
 
2930
3195
    if depmode=$depmode \
2931
3196
       source=conftest.c object=conftest.o \
2932
3197
       depfile=conftest.Po tmpdepfile=conftest.TPo \
2933
 
       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
 
3198
       $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \
 
3199
         >/dev/null 2>conftest.err &&
2934
3200
       grep conftest.h conftest.Po > /dev/null 2>&1 &&
2935
3201
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2936
 
      am_cv_CC_dependencies_compiler_type=$depmode
2937
 
      break
 
3202
      # icc doesn't choke on unknown options, it will just issue warnings
 
3203
      # (even with -Werror).  So we grep stderr for any message
 
3204
      # that says an option was ignored.
 
3205
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
 
3206
        am_cv_CC_dependencies_compiler_type=$depmode
 
3207
        break
 
3208
      fi
2938
3209
    fi
2939
3210
  done
2940
3211
 
2947
3218
fi
2948
3219
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2949
3220
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2950
 
CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
 
3221
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
3222
 
 
3223
 
 
3224
 
 
3225
if
 
3226
  test "x$enable_dependency_tracking" != xno \
 
3227
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
3228
  am__fastdepCC_TRUE=
 
3229
  am__fastdepCC_FALSE='#'
 
3230
else
 
3231
  am__fastdepCC_TRUE='#'
 
3232
  am__fastdepCC_FALSE=
 
3233
fi
2951
3234
 
2952
3235
 
2953
3236
ac_ext=c
2973
3256
do
2974
3257
  # Use a header file that comes with gcc, so configuring glibc
2975
3258
  # with a fresh cross-compiler works.
 
3259
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3260
  # <limits.h> exists even on freestanding compilers.
2976
3261
  # On the NeXT, cc -E runs the code through the compiler's parser,
2977
3262
  # not just through cpp. "Syntax error" is here to catch this case.
2978
3263
  cat >conftest.$ac_ext <<_ACEOF
2979
3264
#line $LINENO "configure"
2980
 
#include "confdefs.h"
2981
 
#include <assert.h>
 
3265
/* confdefs.h.  */
 
3266
_ACEOF
 
3267
cat confdefs.h >>conftest.$ac_ext
 
3268
cat >>conftest.$ac_ext <<_ACEOF
 
3269
/* end confdefs.h.  */
 
3270
#ifdef __STDC__
 
3271
# include <limits.h>
 
3272
#else
 
3273
# include <assert.h>
 
3274
#endif
2982
3275
                     Syntax error
2983
3276
_ACEOF
2984
3277
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2985
3278
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2986
3279
  ac_status=$?
2987
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
3280
  grep -v '^ *+' conftest.er1 >conftest.err
2988
3281
  rm -f conftest.er1
2989
3282
  cat conftest.err >&5
2990
3283
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3001
3294
  :
3002
3295
else
3003
3296
  echo "$as_me: failed program was:" >&5
3004
 
  cat conftest.$ac_ext >&5
 
3297
sed 's/^/| /' conftest.$ac_ext >&5
 
3298
 
3005
3299
  # Broken: fails on valid input.
3006
3300
continue
3007
3301
fi
3011
3305
  # can be detected and how.
3012
3306
  cat >conftest.$ac_ext <<_ACEOF
3013
3307
#line $LINENO "configure"
3014
 
#include "confdefs.h"
 
3308
/* confdefs.h.  */
 
3309
_ACEOF
 
3310
cat confdefs.h >>conftest.$ac_ext
 
3311
cat >>conftest.$ac_ext <<_ACEOF
 
3312
/* end confdefs.h.  */
3015
3313
#include <ac_nonexistent.h>
3016
3314
_ACEOF
3017
3315
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3018
3316
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3019
3317
  ac_status=$?
3020
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
3318
  grep -v '^ *+' conftest.er1 >conftest.err
3021
3319
  rm -f conftest.er1
3022
3320
  cat conftest.err >&5
3023
3321
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035
3333
continue
3036
3334
else
3037
3335
  echo "$as_me: failed program was:" >&5
3038
 
  cat conftest.$ac_ext >&5
 
3336
sed 's/^/| /' conftest.$ac_ext >&5
 
3337
 
3039
3338
  # Passes both tests.
3040
3339
ac_preproc_ok=:
3041
3340
break
3064
3363
do
3065
3364
  # Use a header file that comes with gcc, so configuring glibc
3066
3365
  # with a fresh cross-compiler works.
 
3366
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3367
  # <limits.h> exists even on freestanding compilers.
3067
3368
  # On the NeXT, cc -E runs the code through the compiler's parser,
3068
3369
  # not just through cpp. "Syntax error" is here to catch this case.
3069
3370
  cat >conftest.$ac_ext <<_ACEOF
3070
3371
#line $LINENO "configure"
3071
 
#include "confdefs.h"
3072
 
#include <assert.h>
 
3372
/* confdefs.h.  */
 
3373
_ACEOF
 
3374
cat confdefs.h >>conftest.$ac_ext
 
3375
cat >>conftest.$ac_ext <<_ACEOF
 
3376
/* end confdefs.h.  */
 
3377
#ifdef __STDC__
 
3378
# include <limits.h>
 
3379
#else
 
3380
# include <assert.h>
 
3381
#endif
3073
3382
                     Syntax error
3074
3383
_ACEOF
3075
3384
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3076
3385
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3077
3386
  ac_status=$?
3078
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
3387
  grep -v '^ *+' conftest.er1 >conftest.err
3079
3388
  rm -f conftest.er1
3080
3389
  cat conftest.err >&5
3081
3390
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092
3401
  :
3093
3402
else
3094
3403
  echo "$as_me: failed program was:" >&5
3095
 
  cat conftest.$ac_ext >&5
 
3404
sed 's/^/| /' conftest.$ac_ext >&5
 
3405
 
3096
3406
  # Broken: fails on valid input.
3097
3407
continue
3098
3408
fi
3102
3412
  # can be detected and how.
3103
3413
  cat >conftest.$ac_ext <<_ACEOF
3104
3414
#line $LINENO "configure"
3105
 
#include "confdefs.h"
 
3415
/* confdefs.h.  */
 
3416
_ACEOF
 
3417
cat confdefs.h >>conftest.$ac_ext
 
3418
cat >>conftest.$ac_ext <<_ACEOF
 
3419
/* end confdefs.h.  */
3106
3420
#include <ac_nonexistent.h>
3107
3421
_ACEOF
3108
3422
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3109
3423
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3110
3424
  ac_status=$?
3111
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
3425
  grep -v '^ *+' conftest.er1 >conftest.err
3112
3426
  rm -f conftest.er1
3113
3427
  cat conftest.err >&5
3114
3428
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126
3440
continue
3127
3441
else
3128
3442
  echo "$as_me: failed program was:" >&5
3129
 
  cat conftest.$ac_ext >&5
 
3443
sed 's/^/| /' conftest.$ac_ext >&5
 
3444
 
3130
3445
  # Passes both tests.
3131
3446
ac_preproc_ok=:
3132
3447
break
3139
3454
if $ac_preproc_ok; then
3140
3455
  :
3141
3456
else
3142
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
3143
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
 
3457
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
3458
See \`config.log' for more details." >&5
 
3459
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
3460
See \`config.log' for more details." >&2;}
3144
3461
   { (exit 1); exit 1; }; }
3145
3462
fi
3146
3463
 
3270
3587
else
3271
3588
  cat >conftest.$ac_ext <<_ACEOF
3272
3589
#line $LINENO "configure"
3273
 
#include "confdefs.h"
 
3590
/* confdefs.h.  */
 
3591
_ACEOF
 
3592
cat confdefs.h >>conftest.$ac_ext
 
3593
cat >>conftest.$ac_ext <<_ACEOF
 
3594
/* end confdefs.h.  */
3274
3595
 
3275
 
#ifdef F77_DUMMY_MAIN
3276
 
#  ifdef __cplusplus
3277
 
     extern "C"
3278
 
#  endif
3279
 
   int F77_DUMMY_MAIN() { return 1; }
3280
 
#endif
3281
3596
int
3282
3597
main ()
3283
3598
{
3304
3619
  ac_compiler_gnu=yes
3305
3620
else
3306
3621
  echo "$as_me: failed program was:" >&5
3307
 
cat conftest.$ac_ext >&5
 
3622
sed 's/^/| /' conftest.$ac_ext >&5
 
3623
 
3308
3624
ac_compiler_gnu=no
3309
3625
fi
3310
3626
rm -f conftest.$ac_objext conftest.$ac_ext
3324
3640
else
3325
3641
  cat >conftest.$ac_ext <<_ACEOF
3326
3642
#line $LINENO "configure"
3327
 
#include "confdefs.h"
 
3643
/* confdefs.h.  */
 
3644
_ACEOF
 
3645
cat confdefs.h >>conftest.$ac_ext
 
3646
cat >>conftest.$ac_ext <<_ACEOF
 
3647
/* end confdefs.h.  */
3328
3648
 
3329
 
#ifdef F77_DUMMY_MAIN
3330
 
#  ifdef __cplusplus
3331
 
     extern "C"
3332
 
#  endif
3333
 
   int F77_DUMMY_MAIN() { return 1; }
3334
 
#endif
3335
3649
int
3336
3650
main ()
3337
3651
{
3355
3669
  ac_cv_prog_cxx_g=yes
3356
3670
else
3357
3671
  echo "$as_me: failed program was:" >&5
3358
 
cat conftest.$ac_ext >&5
 
3672
sed 's/^/| /' conftest.$ac_ext >&5
 
3673
 
3359
3674
ac_cv_prog_cxx_g=no
3360
3675
fi
3361
3676
rm -f conftest.$ac_objext conftest.$ac_ext
3388
3703
do
3389
3704
  cat >conftest.$ac_ext <<_ACEOF
3390
3705
#line $LINENO "configure"
3391
 
#include "confdefs.h"
 
3706
/* confdefs.h.  */
 
3707
_ACEOF
 
3708
cat confdefs.h >>conftest.$ac_ext
 
3709
cat >>conftest.$ac_ext <<_ACEOF
 
3710
/* end confdefs.h.  */
3392
3711
#include <stdlib.h>
3393
3712
$ac_declaration
3394
 
#ifdef F77_DUMMY_MAIN
3395
 
#  ifdef __cplusplus
3396
 
     extern "C"
3397
 
#  endif
3398
 
   int F77_DUMMY_MAIN() { return 1; }
3399
 
#endif
3400
3713
int
3401
3714
main ()
3402
3715
{
3420
3733
  :
3421
3734
else
3422
3735
  echo "$as_me: failed program was:" >&5
3423
 
cat conftest.$ac_ext >&5
 
3736
sed 's/^/| /' conftest.$ac_ext >&5
 
3737
 
3424
3738
continue
3425
3739
fi
3426
3740
rm -f conftest.$ac_objext conftest.$ac_ext
3427
3741
  cat >conftest.$ac_ext <<_ACEOF
3428
3742
#line $LINENO "configure"
3429
 
#include "confdefs.h"
 
3743
/* confdefs.h.  */
 
3744
_ACEOF
 
3745
cat confdefs.h >>conftest.$ac_ext
 
3746
cat >>conftest.$ac_ext <<_ACEOF
 
3747
/* end confdefs.h.  */
3430
3748
$ac_declaration
3431
 
#ifdef F77_DUMMY_MAIN
3432
 
#  ifdef __cplusplus
3433
 
     extern "C"
3434
 
#  endif
3435
 
   int F77_DUMMY_MAIN() { return 1; }
3436
 
#endif
3437
3749
int
3438
3750
main ()
3439
3751
{
3457
3769
  break
3458
3770
else
3459
3771
  echo "$as_me: failed program was:" >&5
3460
 
cat conftest.$ac_ext >&5
 
3772
sed 's/^/| /' conftest.$ac_ext >&5
 
3773
 
3461
3774
fi
3462
3775
rm -f conftest.$ac_objext conftest.$ac_ext
3463
3776
done
3523
3836
    if depmode=$depmode \
3524
3837
       source=conftest.c object=conftest.o \
3525
3838
       depfile=conftest.Po tmpdepfile=conftest.TPo \
3526
 
       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
 
3839
       $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \
 
3840
         >/dev/null 2>conftest.err &&
3527
3841
       grep conftest.h conftest.Po > /dev/null 2>&1 &&
3528
3842
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3529
 
      am_cv_CXX_dependencies_compiler_type=$depmode
3530
 
      break
 
3843
      # icc doesn't choke on unknown options, it will just issue warnings
 
3844
      # (even with -Werror).  So we grep stderr for any message
 
3845
      # that says an option was ignored.
 
3846
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
 
3847
        am_cv_CXX_dependencies_compiler_type=$depmode
 
3848
        break
 
3849
      fi
3531
3850
    fi
3532
3851
  done
3533
3852
 
3540
3859
fi
3541
3860
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3542
3861
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3543
 
CXXDEPMODE="depmode=$am_cv_CXX_dependencies_compiler_type"
 
3862
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
3863
 
 
3864
 
 
3865
 
 
3866
if
 
3867
  test "x$enable_dependency_tracking" != xno \
 
3868
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
3869
  am__fastdepCXX_TRUE=
 
3870
  am__fastdepCXX_FALSE='#'
 
3871
else
 
3872
  am__fastdepCXX_TRUE='#'
 
3873
  am__fastdepCXX_FALSE=
 
3874
fi
3544
3875
 
3545
3876
 
3546
3877
ac_ext=cc
3562
3893
do
3563
3894
  # Use a header file that comes with gcc, so configuring glibc
3564
3895
  # with a fresh cross-compiler works.
 
3896
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3897
  # <limits.h> exists even on freestanding compilers.
3565
3898
  # On the NeXT, cc -E runs the code through the compiler's parser,
3566
3899
  # not just through cpp. "Syntax error" is here to catch this case.
3567
3900
  cat >conftest.$ac_ext <<_ACEOF
3568
3901
#line $LINENO "configure"
3569
 
#include "confdefs.h"
3570
 
#include <assert.h>
 
3902
/* confdefs.h.  */
 
3903
_ACEOF
 
3904
cat confdefs.h >>conftest.$ac_ext
 
3905
cat >>conftest.$ac_ext <<_ACEOF
 
3906
/* end confdefs.h.  */
 
3907
#ifdef __STDC__
 
3908
# include <limits.h>
 
3909
#else
 
3910
# include <assert.h>
 
3911
#endif
3571
3912
                     Syntax error
3572
3913
_ACEOF
3573
3914
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3574
3915
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3575
3916
  ac_status=$?
3576
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
3917
  grep -v '^ *+' conftest.er1 >conftest.err
3577
3918
  rm -f conftest.er1
3578
3919
  cat conftest.err >&5
3579
3920
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590
3931
  :
3591
3932
else
3592
3933
  echo "$as_me: failed program was:" >&5
3593
 
  cat conftest.$ac_ext >&5
 
3934
sed 's/^/| /' conftest.$ac_ext >&5
 
3935
 
3594
3936
  # Broken: fails on valid input.
3595
3937
continue
3596
3938
fi
3600
3942
  # can be detected and how.
3601
3943
  cat >conftest.$ac_ext <<_ACEOF
3602
3944
#line $LINENO "configure"
3603
 
#include "confdefs.h"
 
3945
/* confdefs.h.  */
 
3946
_ACEOF
 
3947
cat confdefs.h >>conftest.$ac_ext
 
3948
cat >>conftest.$ac_ext <<_ACEOF
 
3949
/* end confdefs.h.  */
3604
3950
#include <ac_nonexistent.h>
3605
3951
_ACEOF
3606
3952
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3607
3953
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3608
3954
  ac_status=$?
3609
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
3955
  grep -v '^ *+' conftest.er1 >conftest.err
3610
3956
  rm -f conftest.er1
3611
3957
  cat conftest.err >&5
3612
3958
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624
3970
continue
3625
3971
else
3626
3972
  echo "$as_me: failed program was:" >&5
3627
 
  cat conftest.$ac_ext >&5
 
3973
sed 's/^/| /' conftest.$ac_ext >&5
 
3974
 
3628
3975
  # Passes both tests.
3629
3976
ac_preproc_ok=:
3630
3977
break
3653
4000
do
3654
4001
  # Use a header file that comes with gcc, so configuring glibc
3655
4002
  # with a fresh cross-compiler works.
 
4003
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4004
  # <limits.h> exists even on freestanding compilers.
3656
4005
  # On the NeXT, cc -E runs the code through the compiler's parser,
3657
4006
  # not just through cpp. "Syntax error" is here to catch this case.
3658
4007
  cat >conftest.$ac_ext <<_ACEOF
3659
4008
#line $LINENO "configure"
3660
 
#include "confdefs.h"
3661
 
#include <assert.h>
 
4009
/* confdefs.h.  */
 
4010
_ACEOF
 
4011
cat confdefs.h >>conftest.$ac_ext
 
4012
cat >>conftest.$ac_ext <<_ACEOF
 
4013
/* end confdefs.h.  */
 
4014
#ifdef __STDC__
 
4015
# include <limits.h>
 
4016
#else
 
4017
# include <assert.h>
 
4018
#endif
3662
4019
                     Syntax error
3663
4020
_ACEOF
3664
4021
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3665
4022
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3666
4023
  ac_status=$?
3667
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
4024
  grep -v '^ *+' conftest.er1 >conftest.err
3668
4025
  rm -f conftest.er1
3669
4026
  cat conftest.err >&5
3670
4027
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681
4038
  :
3682
4039
else
3683
4040
  echo "$as_me: failed program was:" >&5
3684
 
  cat conftest.$ac_ext >&5
 
4041
sed 's/^/| /' conftest.$ac_ext >&5
 
4042
 
3685
4043
  # Broken: fails on valid input.
3686
4044
continue
3687
4045
fi
3691
4049
  # can be detected and how.
3692
4050
  cat >conftest.$ac_ext <<_ACEOF
3693
4051
#line $LINENO "configure"
3694
 
#include "confdefs.h"
 
4052
/* confdefs.h.  */
 
4053
_ACEOF
 
4054
cat confdefs.h >>conftest.$ac_ext
 
4055
cat >>conftest.$ac_ext <<_ACEOF
 
4056
/* end confdefs.h.  */
3695
4057
#include <ac_nonexistent.h>
3696
4058
_ACEOF
3697
4059
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3698
4060
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3699
4061
  ac_status=$?
3700
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
4062
  grep -v '^ *+' conftest.er1 >conftest.err
3701
4063
  rm -f conftest.er1
3702
4064
  cat conftest.err >&5
3703
4065
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3715
4077
continue
3716
4078
else
3717
4079
  echo "$as_me: failed program was:" >&5
3718
 
  cat conftest.$ac_ext >&5
 
4080
sed 's/^/| /' conftest.$ac_ext >&5
 
4081
 
3719
4082
  # Passes both tests.
3720
4083
ac_preproc_ok=:
3721
4084
break
3728
4091
if $ac_preproc_ok; then
3729
4092
  :
3730
4093
else
3731
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5
3732
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;}
 
4094
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
4095
See \`config.log' for more details." >&5
 
4096
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
4097
See \`config.log' for more details." >&2;}
3733
4098
   { (exit 1); exit 1; }; }
3734
4099
fi
3735
4100
 
3871
4236
CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
3872
4237
cat >conftest.$ac_ext <<_ACEOF
3873
4238
#line $LINENO "configure"
3874
 
#include "confdefs.h"
 
4239
/* confdefs.h.  */
 
4240
_ACEOF
 
4241
cat confdefs.h >>conftest.$ac_ext
 
4242
cat >>conftest.$ac_ext <<_ACEOF
 
4243
/* end confdefs.h.  */
3875
4244
 
3876
 
#ifdef F77_DUMMY_MAIN
3877
 
#  ifdef __cplusplus
3878
 
     extern "C"
3879
 
#  endif
3880
 
   int F77_DUMMY_MAIN() { return 1; }
3881
 
#endif
3882
4245
int
3883
4246
main ()
3884
4247
{
3902
4265
  sim_ac_accept_result=yes
3903
4266
else
3904
4267
  echo "$as_me: failed program was:" >&5
3905
 
cat conftest.$ac_ext >&5
 
4268
sed 's/^/| /' conftest.$ac_ext >&5
 
4269
 
3906
4270
sim_ac_accept_result=no
3907
4271
fi
3908
4272
rm -f conftest.$ac_objext conftest.$ac_ext
4134
4498
echo "$as_me:$LINENO: result: $NM" >&5
4135
4499
echo "${ECHO_T}$NM" >&6
4136
4500
 
 
4501
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4502
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
4503
if test "${lt_cv_path_SED+set}" = set; then
 
4504
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4505
else
 
4506
  # Loop through the user's path and test for sed and gsed.
 
4507
# Then use that list of sed's as ones to test for truncation.
 
4508
as_executable_p="test -f"
 
4509
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4510
for as_dir in $PATH
 
4511
do
 
4512
  IFS=$as_save_IFS
 
4513
  test -z "$as_dir" && as_dir=.
 
4514
  for ac_prog in sed gsed; do
 
4515
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4516
      if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
4517
        _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
 
4518
      fi
 
4519
    done
 
4520
  done
 
4521
done
 
4522
 
 
4523
  # Create a temporary directory, and hook for its removal unless debugging.
 
4524
$debug ||
 
4525
{
 
4526
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
4527
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
4528
}
 
4529
 
 
4530
# Create a (secure) tmp directory for tmp files.
 
4531
: ${TMPDIR=/tmp}
 
4532
{
 
4533
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
 
4534
  test -n "$tmp" && test -d "$tmp"
 
4535
}  ||
 
4536
{
 
4537
  tmp=$TMPDIR/sed$$-$RANDOM
 
4538
  (umask 077 && mkdir $tmp)
 
4539
} ||
 
4540
{
 
4541
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
 
4542
   { (exit 1); exit 1; }
 
4543
}
 
4544
  _max=0
 
4545
  _count=0
 
4546
  # Add /usr/xpg4/bin/sed as it is typically found on Solaris
 
4547
  # along with /bin/sed that truncates output.
 
4548
  for _sed in $_sed_list /usr/xpg4/bin/sed; do
 
4549
    test ! -f ${_sed} && break
 
4550
    cat /dev/null > "$tmp/sed.in"
 
4551
    _count=0
 
4552
    echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
 
4553
    # Check for GNU sed and select it if it is found.
 
4554
    if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
 
4555
      lt_cv_path_SED=${_sed}
 
4556
      break
 
4557
    fi
 
4558
    while true; do
 
4559
      cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
 
4560
      mv "$tmp/sed.tmp" "$tmp/sed.in"
 
4561
      cp "$tmp/sed.in" "$tmp/sed.nl"
 
4562
      echo >>"$tmp/sed.nl"
 
4563
      ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
 
4564
      cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
 
4565
      # 40000 chars as input seems more than enough
 
4566
      test $_count -gt 10 && break
 
4567
      _count=`expr $_count + 1`
 
4568
      if test $_count -gt $_max; then
 
4569
        _max=$_count
 
4570
        lt_cv_path_SED=$_sed
 
4571
      fi
 
4572
    done
 
4573
  done
 
4574
  rm -rf "$tmp"
 
4575
 
 
4576
fi
 
4577
 
 
4578
if test "X$SED" != "X"; then
 
4579
  lt_cv_path_SED=$SED
 
4580
else
 
4581
  SED=$lt_cv_path_SED
 
4582
fi
 
4583
echo "$as_me:$LINENO: result: $SED" >&5
 
4584
echo "${ECHO_T}$SED" >&6
 
4585
 
4137
4586
echo "$as_me:$LINENO: checking whether ln -s works" >&5
4138
4587
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4139
4588
LN_S=$as_ln_s
4145
4594
echo "${ECHO_T}no, using $LN_S" >&6
4146
4595
fi
4147
4596
 
4148
 
echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4149
 
echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
 
4597
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 
4598
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4150
4599
if test "${lt_cv_deplibs_check_method+set}" = set; then
4151
4600
  echo $ECHO_N "(cached) $ECHO_C" >&6
4152
4601
else
4223
4672
  lt_cv_file_magic_test_file=/usr/lib/libc.sl
4224
4673
  ;;
4225
4674
 
4226
 
irix5* | irix6*)
 
4675
irix5* | irix6* | nonstopux*)
4227
4676
  case $host_os in
4228
 
  irix5*)
 
4677
  irix5* | nonstopux*)
4229
4678
    # this will be overridden with pass_all, but let us keep it just in case
4230
4679
    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4231
4680
    ;;
4247
4696
# This must be Linux ELF.
4248
4697
linux-gnu*)
4249
4698
  case $host_cpu in
4250
 
  alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
 
4699
  alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*)
4251
4700
    lt_cv_deplibs_check_method=pass_all ;;
4252
4701
  *)
4253
4702
    # glibc up to 2.1.1 does not perform some relocations on ARM
4318
4767
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4319
4768
    lt_cv_file_magic_test_file=/lib/libc.so
4320
4769
    ;;
 
4770
  siemens)
 
4771
    lt_cv_deplibs_check_method=pass_all
 
4772
    ;;
4321
4773
  esac
4322
4774
  ;;
4323
4775
esac
4369
4821
  lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4370
4822
  lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
4371
4823
  ;;
4372
 
irix*)
 
4824
irix* | nonstopux*)
4373
4825
  symcode='[BCDEGRST]'
4374
4826
  ;;
 
4827
osf*)
 
4828
  symcode='[BCDEGQRST]'
 
4829
  ;;
4375
4830
solaris* | sysv5*)
4376
4831
  symcode='[BDT]'
4377
4832
  ;;
4480
4935
  (eval $ac_link) 2>&5
4481
4936
  ac_status=$?
4482
4937
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483
 
  (exit $ac_status); } && test -s conftest; then
 
4938
  (exit $ac_status); } && test -s conftest$ac_exeext; then
4484
4939
            pipe_works=yes
4485
4940
          fi
4486
4941
          LIBS="$save_LIBS"
4529
4984
 
4530
4985
 
4531
4986
 
 
4987
echo "$as_me:$LINENO: checking for egrep" >&5
 
4988
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 
4989
if test "${ac_cv_prog_egrep+set}" = set; then
 
4990
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4991
else
 
4992
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 
4993
    then ac_cv_prog_egrep='grep -E'
 
4994
    else ac_cv_prog_egrep='egrep'
 
4995
    fi
 
4996
fi
 
4997
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
 
4998
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 
4999
 EGREP=$ac_cv_prog_egrep
 
5000
 
 
5001
 
4532
5002
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4533
5003
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4534
5004
if test "${ac_cv_header_stdc+set}" = set; then
4536
5006
else
4537
5007
  cat >conftest.$ac_ext <<_ACEOF
4538
5008
#line $LINENO "configure"
4539
 
#include "confdefs.h"
 
5009
/* confdefs.h.  */
 
5010
_ACEOF
 
5011
cat confdefs.h >>conftest.$ac_ext
 
5012
cat >>conftest.$ac_ext <<_ACEOF
 
5013
/* end confdefs.h.  */
4540
5014
#include <stdlib.h>
4541
5015
#include <stdarg.h>
4542
5016
#include <string.h>
4543
5017
#include <float.h>
4544
5018
 
 
5019
int
 
5020
main ()
 
5021
{
 
5022
 
 
5023
  ;
 
5024
  return 0;
 
5025
}
4545
5026
_ACEOF
4546
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4547
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4548
 
  ac_status=$?
4549
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
4550
 
  rm -f conftest.er1
4551
 
  cat conftest.err >&5
4552
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4553
 
  (exit $ac_status); } >/dev/null; then
4554
 
  if test -s conftest.err; then
4555
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
4556
 
  else
4557
 
    ac_cpp_err=
4558
 
  fi
4559
 
else
4560
 
  ac_cpp_err=yes
4561
 
fi
4562
 
if test -z "$ac_cpp_err"; then
 
5027
rm -f conftest.$ac_objext
 
5028
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5029
  (eval $ac_compile) 2>&5
 
5030
  ac_status=$?
 
5031
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5032
  (exit $ac_status); } &&
 
5033
         { ac_try='test -s conftest.$ac_objext'
 
5034
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5035
  (eval $ac_try) 2>&5
 
5036
  ac_status=$?
 
5037
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5038
  (exit $ac_status); }; }; then
4563
5039
  ac_cv_header_stdc=yes
4564
5040
else
4565
5041
  echo "$as_me: failed program was:" >&5
4566
 
  cat conftest.$ac_ext >&5
4567
 
  ac_cv_header_stdc=no
 
5042
sed 's/^/| /' conftest.$ac_ext >&5
 
5043
 
 
5044
ac_cv_header_stdc=no
4568
5045
fi
4569
 
rm -f conftest.err conftest.$ac_ext
 
5046
rm -f conftest.$ac_objext conftest.$ac_ext
4570
5047
 
4571
5048
if test $ac_cv_header_stdc = yes; then
4572
5049
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4573
5050
  cat >conftest.$ac_ext <<_ACEOF
4574
5051
#line $LINENO "configure"
4575
 
#include "confdefs.h"
 
5052
/* confdefs.h.  */
 
5053
_ACEOF
 
5054
cat confdefs.h >>conftest.$ac_ext
 
5055
cat >>conftest.$ac_ext <<_ACEOF
 
5056
/* end confdefs.h.  */
4576
5057
#include <string.h>
4577
5058
 
4578
5059
_ACEOF
4579
5060
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4580
 
  egrep "memchr" >/dev/null 2>&1; then
 
5061
  $EGREP "memchr" >/dev/null 2>&1; then
4581
5062
  :
4582
5063
else
4583
5064
  ac_cv_header_stdc=no
4590
5071
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4591
5072
  cat >conftest.$ac_ext <<_ACEOF
4592
5073
#line $LINENO "configure"
4593
 
#include "confdefs.h"
 
5074
/* confdefs.h.  */
 
5075
_ACEOF
 
5076
cat confdefs.h >>conftest.$ac_ext
 
5077
cat >>conftest.$ac_ext <<_ACEOF
 
5078
/* end confdefs.h.  */
4594
5079
#include <stdlib.h>
4595
5080
 
4596
5081
_ACEOF
4597
5082
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4598
 
  egrep "free" >/dev/null 2>&1; then
 
5083
  $EGREP "free" >/dev/null 2>&1; then
4599
5084
  :
4600
5085
else
4601
5086
  ac_cv_header_stdc=no
4611
5096
else
4612
5097
  cat >conftest.$ac_ext <<_ACEOF
4613
5098
#line $LINENO "configure"
4614
 
#include "confdefs.h"
 
5099
/* confdefs.h.  */
 
5100
_ACEOF
 
5101
cat confdefs.h >>conftest.$ac_ext
 
5102
cat >>conftest.$ac_ext <<_ACEOF
 
5103
/* end confdefs.h.  */
4615
5104
#include <ctype.h>
4616
5105
#if ((' ' & 0x0FF) == 0x020)
4617
5106
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4618
5107
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4619
5108
#else
4620
 
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
 
5109
# define ISLOWER(c) \
 
5110
                   (('a' <= (c) && (c) <= 'i') \
4621
5111
                     || ('j' <= (c) && (c) <= 'r') \
4622
5112
                     || ('s' <= (c) && (c) <= 'z'))
4623
5113
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4650
5140
else
4651
5141
  echo "$as_me: program exited with status $ac_status" >&5
4652
5142
echo "$as_me: failed program was:" >&5
4653
 
cat conftest.$ac_ext >&5
 
5143
sed 's/^/| /' conftest.$ac_ext >&5
 
5144
 
4654
5145
( exit $ac_status )
4655
5146
ac_cv_header_stdc=no
4656
5147
fi
4657
 
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5148
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4658
5149
fi
4659
5150
fi
4660
5151
fi
4689
5180
else
4690
5181
  cat >conftest.$ac_ext <<_ACEOF
4691
5182
#line $LINENO "configure"
4692
 
#include "confdefs.h"
 
5183
/* confdefs.h.  */
 
5184
_ACEOF
 
5185
cat confdefs.h >>conftest.$ac_ext
 
5186
cat >>conftest.$ac_ext <<_ACEOF
 
5187
/* end confdefs.h.  */
4693
5188
$ac_includes_default
4694
5189
 
4695
5190
#include <$ac_header>
4709
5204
  eval "$as_ac_Header=yes"
4710
5205
else
4711
5206
  echo "$as_me: failed program was:" >&5
4712
 
cat conftest.$ac_ext >&5
 
5207
sed 's/^/| /' conftest.$ac_ext >&5
 
5208
 
4713
5209
eval "$as_ac_Header=no"
4714
5210
fi
4715
5211
rm -f conftest.$ac_objext conftest.$ac_ext
4744
5240
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4745
5241
cat >conftest.$ac_ext <<_ACEOF
4746
5242
#line $LINENO "configure"
4747
 
#include "confdefs.h"
 
5243
/* confdefs.h.  */
 
5244
_ACEOF
 
5245
cat confdefs.h >>conftest.$ac_ext
 
5246
cat >>conftest.$ac_ext <<_ACEOF
 
5247
/* end confdefs.h.  */
4748
5248
$ac_includes_default
4749
5249
#include <$ac_header>
4750
5250
_ACEOF
4763
5263
  ac_header_compiler=yes
4764
5264
else
4765
5265
  echo "$as_me: failed program was:" >&5
4766
 
cat conftest.$ac_ext >&5
 
5266
sed 's/^/| /' conftest.$ac_ext >&5
 
5267
 
4767
5268
ac_header_compiler=no
4768
5269
fi
4769
5270
rm -f conftest.$ac_objext conftest.$ac_ext
4775
5276
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4776
5277
cat >conftest.$ac_ext <<_ACEOF
4777
5278
#line $LINENO "configure"
4778
 
#include "confdefs.h"
 
5279
/* confdefs.h.  */
 
5280
_ACEOF
 
5281
cat confdefs.h >>conftest.$ac_ext
 
5282
cat >>conftest.$ac_ext <<_ACEOF
 
5283
/* end confdefs.h.  */
4779
5284
#include <$ac_header>
4780
5285
_ACEOF
4781
5286
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4782
5287
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4783
5288
  ac_status=$?
4784
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
5289
  grep -v '^ *+' conftest.er1 >conftest.err
4785
5290
  rm -f conftest.er1
4786
5291
  cat conftest.err >&5
4787
5292
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4798
5303
  ac_header_preproc=yes
4799
5304
else
4800
5305
  echo "$as_me: failed program was:" >&5
4801
 
  cat conftest.$ac_ext >&5
 
5306
sed 's/^/| /' conftest.$ac_ext >&5
 
5307
 
4802
5308
  ac_header_preproc=no
4803
5309
fi
4804
5310
rm -f conftest.err conftest.$ac_ext
4811
5317
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4812
5318
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4813
5319
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4814
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
 
5320
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
5321
    (
 
5322
      cat <<\_ASBOX
 
5323
## ------------------------------------ ##
 
5324
## Report this to bug-autoconf@gnu.org. ##
 
5325
## ------------------------------------ ##
 
5326
_ASBOX
 
5327
    ) |
 
5328
      sed "s/^/$as_me: WARNING:     /" >&2
 
5329
    ;;
4815
5330
  no:yes )
4816
5331
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4817
5332
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4818
5333
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4819
5334
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4820
5335
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4821
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
 
5336
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
5337
    (
 
5338
      cat <<\_ASBOX
 
5339
## ------------------------------------ ##
 
5340
## Report this to bug-autoconf@gnu.org. ##
 
5341
## ------------------------------------ ##
 
5342
_ASBOX
 
5343
    ) |
 
5344
      sed "s/^/$as_me: WARNING:     /" >&2
 
5345
    ;;
4822
5346
esac
4823
5347
echo "$as_me:$LINENO: checking for $ac_header" >&5
4824
5348
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4844
5368
 
4845
5369
 
4846
5370
 
 
5371
 
4847
5372
# Only perform the check for file, if the check method requires it
4848
5373
case $deplibs_check_method in
4849
5374
file_magic*)
5159
5684
case $host in
5160
5685
*-*-irix6*)
5161
5686
  # Find out which ABI we are using.
5162
 
  echo '#line 5162 "configure"' > conftest.$ac_ext
 
5687
  echo '#line 5687 "configure"' > conftest.$ac_ext
5163
5688
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5164
5689
  (eval $ac_compile) 2>&5
5165
5690
  ac_status=$?
5199
5724
 
5200
5725
     cat >conftest.$ac_ext <<_ACEOF
5201
5726
#line $LINENO "configure"
5202
 
#include "confdefs.h"
 
5727
/* confdefs.h.  */
 
5728
_ACEOF
 
5729
cat confdefs.h >>conftest.$ac_ext
 
5730
cat >>conftest.$ac_ext <<_ACEOF
 
5731
/* end confdefs.h.  */
5203
5732
 
5204
 
#ifdef F77_DUMMY_MAIN
5205
 
#  ifdef __cplusplus
5206
 
     extern "C"
5207
 
#  endif
5208
 
   int F77_DUMMY_MAIN() { return 1; }
5209
 
#endif
5210
5733
int
5211
5734
main ()
5212
5735
{
5230
5753
  lt_cv_cc_needs_belf=yes
5231
5754
else
5232
5755
  echo "$as_me: failed program was:" >&5
5233
 
cat conftest.$ac_ext >&5
 
5756
sed 's/^/| /' conftest.$ac_ext >&5
 
5757
 
5234
5758
lt_cv_cc_needs_belf=no
5235
5759
fi
5236
5760
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5402
5926
      # like `-m68040'.
5403
5927
      lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
5404
5928
      ;;
5405
 
    beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
 
5929
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5406
5930
      # PIC is the default for these OSes.
5407
5931
      ;;
5408
5932
    darwin* | rhapsody*)
5445
5969
      lt_cv_prog_cc_pic='+Z'
5446
5970
      ;;
5447
5971
 
5448
 
    irix5* | irix6*)
 
5972
    irix5* | irix6* | nonstopux*)
5449
5973
      lt_cv_prog_cc_wl='-Wl,'
5450
5974
      lt_cv_prog_cc_static='-non_shared'
5451
5975
      # PIC (with -KPIC) is the default.
5489
6013
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5490
6014
      lt_cv_prog_cc_pic='-KPIC'
5491
6015
      lt_cv_prog_cc_static='-Bstatic'
5492
 
      if test "x$host_vendor" = xsni; then
5493
 
        lt_cv_prog_cc_wl='-LD'
5494
 
      else
5495
 
        lt_cv_prog_cc_wl='-Wl,'
5496
 
      fi
 
6016
      lt_cv_prog_cc_wl='-Wl,'
5497
6017
      ;;
5498
6018
 
5499
6019
    uts4*)
5533
6053
    CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
5534
6054
    cat >conftest.$ac_ext <<_ACEOF
5535
6055
#line $LINENO "configure"
5536
 
#include "confdefs.h"
 
6056
/* confdefs.h.  */
 
6057
_ACEOF
 
6058
cat confdefs.h >>conftest.$ac_ext
 
6059
cat >>conftest.$ac_ext <<_ACEOF
 
6060
/* end confdefs.h.  */
5537
6061
 
5538
 
#ifdef F77_DUMMY_MAIN
5539
 
#  ifdef __cplusplus
5540
 
     extern "C"
5541
 
#  endif
5542
 
   int F77_DUMMY_MAIN() { return 1; }
5543
 
#endif
5544
6062
int
5545
6063
main ()
5546
6064
{
5579
6097
 
5580
6098
else
5581
6099
  echo "$as_me: failed program was:" >&5
5582
 
cat conftest.$ac_ext >&5
 
6100
sed 's/^/| /' conftest.$ac_ext >&5
 
6101
 
5583
6102
      lt_cv_prog_cc_pic_works=no
5584
6103
 
5585
6104
fi
5622
6141
  LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
5623
6142
  cat >conftest.$ac_ext <<_ACEOF
5624
6143
#line $LINENO "configure"
5625
 
#include "confdefs.h"
 
6144
/* confdefs.h.  */
 
6145
_ACEOF
 
6146
cat confdefs.h >>conftest.$ac_ext
 
6147
cat >>conftest.$ac_ext <<_ACEOF
 
6148
/* end confdefs.h.  */
5626
6149
 
5627
 
#ifdef F77_DUMMY_MAIN
5628
 
#  ifdef __cplusplus
5629
 
     extern "C"
5630
 
#  endif
5631
 
   int F77_DUMMY_MAIN() { return 1; }
5632
 
#endif
5633
6150
int
5634
6151
main ()
5635
6152
{
5653
6170
  lt_cv_prog_cc_static_works=yes
5654
6171
else
5655
6172
  echo "$as_me: failed program was:" >&5
5656
 
cat conftest.$ac_ext >&5
 
6173
sed 's/^/| /' conftest.$ac_ext >&5
 
6174
 
5657
6175
fi
5658
6176
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5659
6177
  LDFLAGS="$save_LDFLAGS"
5695
6213
save_CFLAGS="$CFLAGS"
5696
6214
CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5697
6215
compiler_c_o=no
5698
 
if { (eval echo configure:5698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
 
6216
if { (eval echo configure:6216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5699
6217
  # The compiler can only warn and ignore the option if not recognized
5700
6218
  # So say no if there are warnings
5701
6219
  if test -s out/conftest.err; then
5737
6255
  ac_objext=lo
5738
6256
  cat >conftest.$ac_ext <<_ACEOF
5739
6257
#line $LINENO "configure"
5740
 
#include "confdefs.h"
 
6258
/* confdefs.h.  */
 
6259
_ACEOF
 
6260
cat confdefs.h >>conftest.$ac_ext
 
6261
cat >>conftest.$ac_ext <<_ACEOF
 
6262
/* end confdefs.h.  */
5741
6263
 
5742
 
#ifdef F77_DUMMY_MAIN
5743
 
#  ifdef __cplusplus
5744
 
     extern "C"
5745
 
#  endif
5746
 
   int F77_DUMMY_MAIN() { return 1; }
5747
 
#endif
5748
6264
int
5749
6265
main ()
5750
6266
{
5775
6291
 
5776
6292
else
5777
6293
  echo "$as_me: failed program was:" >&5
5778
 
cat conftest.$ac_ext >&5
 
6294
sed 's/^/| /' conftest.$ac_ext >&5
 
6295
 
5779
6296
fi
5780
6297
rm -f conftest.$ac_objext conftest.$ac_ext
5781
6298
  ac_objext="$save_objext"
5823
6340
  compiler_rtti_exceptions=no
5824
6341
  cat >conftest.$ac_ext <<_ACEOF
5825
6342
#line $LINENO "configure"
5826
 
#include "confdefs.h"
 
6343
/* confdefs.h.  */
 
6344
_ACEOF
 
6345
cat confdefs.h >>conftest.$ac_ext
 
6346
cat >>conftest.$ac_ext <<_ACEOF
 
6347
/* end confdefs.h.  */
5827
6348
 
5828
 
#ifdef F77_DUMMY_MAIN
5829
 
#  ifdef __cplusplus
5830
 
     extern "C"
5831
 
#  endif
5832
 
   int F77_DUMMY_MAIN() { return 1; }
5833
 
#endif
5834
6349
int
5835
6350
main ()
5836
6351
{
5861
6376
 
5862
6377
else
5863
6378
  echo "$as_me: failed program was:" >&5
5864
 
cat conftest.$ac_ext >&5
 
6379
sed 's/^/| /' conftest.$ac_ext >&5
 
6380
 
5865
6381
fi
5866
6382
rm -f conftest.$ac_objext conftest.$ac_ext
5867
6383
  CFLAGS="$save_CFLAGS"
6033
6549
    # If the export-symbols file already is a .def file (1st line
6034
6550
    # is EXPORTS), use it as is.
6035
6551
    # If DATA tags from a recent dlltool are present, honour them!
6036
 
    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
 
6552
    archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
6037
6553
        cp $export_symbols $output_objdir/$soname-def;
6038
6554
      else
6039
6555
        echo EXPORTS > $output_objdir/$soname-def;
6042
6558
         set dummy \$symbol;
6043
6559
         case \$# in
6044
6560
           2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
 
6561
           4) echo "   \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
6045
6562
           *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
6046
6563
         esac;
6047
6564
         _lt_hint=`expr 1 + \$_lt_hint`;
6154
6671
      # need to do runtime linking.
6155
6672
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6156
6673
        for ld_flag in $LDFLAGS; do
6157
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
6674
          case $ld_flag in
 
6675
          *-brtl*)
6158
6676
            aix_use_runtimelinking=yes
6159
6677
            break
6160
 
          fi
 
6678
          ;;
 
6679
          esac
6161
6680
        done
6162
6681
      esac
6163
6682
 
6229
6748
        allow_undefined_flag='${wl}-berok'
6230
6749
        # This is a bit strange, but is similar to how AIX traditionally builds
6231
6750
        # it's shared libraries.
6232
 
        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
 
6751
        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $output_objdir/$libname$release.a $output_objdir/$soname'
6233
6752
      fi
6234
6753
    fi
6235
6754
    ;;
6271
6790
    esac
6272
6791
    # FIXME: Relying on posixy $() will cause problems for
6273
6792
    #        cross-compilation, but unfortunately the echo tests do not
6274
 
    #        yet detect zsh echo's removal of \ escapes.
6275
 
    archive_cmds='$nonopt $(test x$module = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
 
6793
    #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
 
6794
    #        `"' quotes if we put them in here... so don't!
 
6795
    archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)'
6276
6796
    # We need to add '_' to the symbols in $export_symbols first
6277
6797
    #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
6278
6798
    hardcode_direct=yes
6324
6844
    export_dynamic_flag_spec='${wl}-E'
6325
6845
    ;;
6326
6846
 
6327
 
  irix5* | irix6*)
 
6847
  irix5* | irix6* | nonstopux*)
6328
6848
    if test "$GCC" = yes; then
6329
6849
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
6850
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6330
6851
    else
6331
6852
      archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
 
6853
      hardcode_libdir_flag_spec='-rpath $libdir'
6332
6854
    fi
6333
 
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6334
6855
    hardcode_libdir_separator=:
6335
6856
    link_all_deplibs=yes
6336
6857
    ;;
6358
6879
    hardcode_direct=yes
6359
6880
    hardcode_shlibpath_var=no
6360
6881
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6361
 
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
 
6882
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6362
6883
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6363
6884
      export_dynamic_flag_spec='${wl}-E'
6364
6885
    else
6368
6889
        hardcode_libdir_flag_spec='-R$libdir'
6369
6890
        ;;
6370
6891
      *)
6371
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
 
6892
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6372
6893
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6373
6894
        ;;
6374
6895
      esac
6480
7001
    ;;
6481
7002
 
6482
7003
  sysv4)
6483
 
    if test "x$host_vendor" = xsno; then
6484
 
      archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags'
6485
 
      hardcode_direct=yes # is this really true???
6486
 
    else
6487
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6488
 
      hardcode_direct=no #Motorola manual says yes, but my tests say they lie
6489
 
    fi
 
7004
    case $host_vendor in
 
7005
      sni)
 
7006
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
7007
        hardcode_direct=yes # is this really true???
 
7008
        ;;
 
7009
      siemens)
 
7010
        ## LD is ld it makes a PLAMLIB
 
7011
        ## CC just makes a GrossModule.
 
7012
        archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
7013
        reload_cmds='$CC -r -o $output$reload_objs'
 
7014
        hardcode_direct=no
 
7015
        ;;
 
7016
      motorola)
 
7017
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
7018
        hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
7019
        ;;
 
7020
    esac
6490
7021
    runpath_var='LD_RUN_PATH'
6491
7022
    hardcode_shlibpath_var=no
6492
7023
    ;;
6634
7165
 
6635
7166
aix4* | aix5*)
6636
7167
  version_type=linux
 
7168
  need_lib_prefix=no
 
7169
  need_version=no
 
7170
  hardcode_into_libs=yes
6637
7171
  if test "$host_cpu" = ia64; then
6638
7172
    # AIX 5 supports IA64
6639
7173
    library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
6672
7206
    fi
6673
7207
    shlibpath_var=LIBPATH
6674
7208
  fi
 
7209
  hardcode_into_libs=yes
6675
7210
  ;;
6676
7211
 
6677
7212
amigaos*)
6719
7254
    ;;
6720
7255
  yes,mingw*)
6721
7256
    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
6722
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
 
7257
    sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
6723
7258
    ;;
6724
7259
  yes,pw32*)
6725
7260
    library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
6751
7286
  dynamic_linker=no
6752
7287
  ;;
6753
7288
 
 
7289
freebsd*-gnu*)
 
7290
  version_type=linux
 
7291
  need_lib_prefix=no
 
7292
  need_version=no
 
7293
  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
 
7294
  soname_spec='${libname}${release}.so$major'
 
7295
  shlibpath_var=LD_LIBRARY_PATH
 
7296
  shlibpath_overrides_runpath=no
 
7297
  hardcode_into_libs=yes
 
7298
  dynamic_linker='GNU/FreeBSD ld.so'
 
7299
  ;;
 
7300
 
6754
7301
freebsd*)
6755
7302
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
6756
7303
  version_type=freebsd-$objformat
6802
7349
  postinstall_cmds='chmod 555 $lib'
6803
7350
  ;;
6804
7351
 
6805
 
irix5* | irix6*)
6806
 
  version_type=irix
 
7352
irix5* | irix6* | nonstopux*)
 
7353
  case $host_os in
 
7354
    nonstopux*) version_type=nonstopux ;;
 
7355
    *)          version_type=irix ;;
 
7356
  esac
6807
7357
  need_lib_prefix=no
6808
7358
  need_version=no
6809
7359
  soname_spec='${libname}${release}.so$major'
6810
7360
  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
6811
7361
  case $host_os in
6812
 
  irix5*)
 
7362
  irix5* | nonstopux*)
6813
7363
    libsuff= shlibsuff=
6814
7364
    ;;
6815
7365
  *)
6913
7463
osf3* | osf4* | osf5*)
6914
7464
  version_type=osf
6915
7465
  need_version=no
6916
 
  soname_spec='${libname}${release}.so'
6917
 
  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
 
7466
  need_lib_prefix=no
 
7467
  soname_spec='${libname}${release}.so$major'
 
7468
  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6918
7469
  shlibpath_var=LD_LIBRARY_PATH
6919
7470
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
6920
7471
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
7472
  hardcode_into_libs=yes
6921
7473
  ;;
6922
7474
 
6923
7475
sco3.2v5*)
6960
7512
  case $host_vendor in
6961
7513
    sni)
6962
7514
      shlibpath_overrides_runpath=no
 
7515
      need_lib_prefix=no
 
7516
      export_dynamic_flag_spec='${wl}-Blargedynsym'
 
7517
      runpath_var=LD_RUN_PATH
 
7518
      ;;
 
7519
    siemens)
 
7520
      need_lib_prefix=no
6963
7521
      ;;
6964
7522
    motorola)
6965
7523
      need_lib_prefix=no
7082
7640
else
7083
7641
  cat >conftest.$ac_ext <<_ACEOF
7084
7642
#line $LINENO "configure"
7085
 
#include "confdefs.h"
 
7643
/* confdefs.h.  */
 
7644
_ACEOF
 
7645
cat confdefs.h >>conftest.$ac_ext
 
7646
cat >>conftest.$ac_ext <<_ACEOF
 
7647
/* end confdefs.h.  */
7086
7648
/* System header to define __stub macros and hopefully few prototypes,
7087
 
    which can conflict with char shl_load (); below.  */
7088
 
#include <assert.h>
 
7649
    which can conflict with char shl_load (); below.
 
7650
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7651
    <limits.h> exists even on freestanding compilers.  */
 
7652
#ifdef __STDC__
 
7653
# include <limits.h>
 
7654
#else
 
7655
# include <assert.h>
 
7656
#endif
7089
7657
/* Override any gcc2 internal prototype to avoid an error.  */
7090
7658
#ifdef __cplusplus
7091
7659
extern "C"
 
7660
{
7092
7661
#endif
7093
7662
/* We use char because int might match the return type of a gcc2
7094
7663
   builtin and then its argument prototype would still apply.  */
7095
7664
char shl_load ();
7096
 
char (*f) ();
7097
 
 
7098
 
#ifdef F77_DUMMY_MAIN
7099
 
#  ifdef __cplusplus
7100
 
     extern "C"
7101
 
#  endif
7102
 
   int F77_DUMMY_MAIN() { return 1; }
7103
 
#endif
7104
 
int
7105
 
main ()
7106
 
{
7107
7665
/* The GNU C library defines this for functions which it implements
7108
7666
    to always fail with ENOSYS.  Some functions are actually named
7109
7667
    something starting with __ and the normal name is an alias.  */
7110
7668
#if defined (__stub_shl_load) || defined (__stub___shl_load)
7111
7669
choke me
7112
7670
#else
7113
 
f = shl_load;
 
7671
char (*f) () = shl_load;
 
7672
#endif
 
7673
#ifdef __cplusplus
 
7674
}
7114
7675
#endif
7115
7676
 
 
7677
int
 
7678
main ()
 
7679
{
 
7680
return f != shl_load;
7116
7681
  ;
7117
7682
  return 0;
7118
7683
}
7132
7697
  ac_cv_func_shl_load=yes
7133
7698
else
7134
7699
  echo "$as_me: failed program was:" >&5
7135
 
cat conftest.$ac_ext >&5
 
7700
sed 's/^/| /' conftest.$ac_ext >&5
 
7701
 
7136
7702
ac_cv_func_shl_load=no
7137
7703
fi
7138
7704
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7151
7717
LIBS="-ldld  $LIBS"
7152
7718
cat >conftest.$ac_ext <<_ACEOF
7153
7719
#line $LINENO "configure"
7154
 
#include "confdefs.h"
 
7720
/* confdefs.h.  */
 
7721
_ACEOF
 
7722
cat confdefs.h >>conftest.$ac_ext
 
7723
cat >>conftest.$ac_ext <<_ACEOF
 
7724
/* end confdefs.h.  */
7155
7725
 
7156
7726
/* Override any gcc2 internal prototype to avoid an error.  */
7157
7727
#ifdef __cplusplus
7160
7730
/* We use char because int might match the return type of a gcc2
7161
7731
   builtin and then its argument prototype would still apply.  */
7162
7732
char shl_load ();
7163
 
#ifdef F77_DUMMY_MAIN
7164
 
#  ifdef __cplusplus
7165
 
     extern "C"
7166
 
#  endif
7167
 
   int F77_DUMMY_MAIN() { return 1; }
7168
 
#endif
7169
7733
int
7170
7734
main ()
7171
7735
{
7189
7753
  ac_cv_lib_dld_shl_load=yes
7190
7754
else
7191
7755
  echo "$as_me: failed program was:" >&5
7192
 
cat conftest.$ac_ext >&5
 
7756
sed 's/^/| /' conftest.$ac_ext >&5
 
7757
 
7193
7758
ac_cv_lib_dld_shl_load=no
7194
7759
fi
7195
7760
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7207
7772
else
7208
7773
  cat >conftest.$ac_ext <<_ACEOF
7209
7774
#line $LINENO "configure"
7210
 
#include "confdefs.h"
 
7775
/* confdefs.h.  */
 
7776
_ACEOF
 
7777
cat confdefs.h >>conftest.$ac_ext
 
7778
cat >>conftest.$ac_ext <<_ACEOF
 
7779
/* end confdefs.h.  */
7211
7780
/* System header to define __stub macros and hopefully few prototypes,
7212
 
    which can conflict with char dlopen (); below.  */
7213
 
#include <assert.h>
 
7781
    which can conflict with char dlopen (); below.
 
7782
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7783
    <limits.h> exists even on freestanding compilers.  */
 
7784
#ifdef __STDC__
 
7785
# include <limits.h>
 
7786
#else
 
7787
# include <assert.h>
 
7788
#endif
7214
7789
/* Override any gcc2 internal prototype to avoid an error.  */
7215
7790
#ifdef __cplusplus
7216
7791
extern "C"
 
7792
{
7217
7793
#endif
7218
7794
/* We use char because int might match the return type of a gcc2
7219
7795
   builtin and then its argument prototype would still apply.  */
7220
7796
char dlopen ();
7221
 
char (*f) ();
7222
 
 
7223
 
#ifdef F77_DUMMY_MAIN
7224
 
#  ifdef __cplusplus
7225
 
     extern "C"
7226
 
#  endif
7227
 
   int F77_DUMMY_MAIN() { return 1; }
7228
 
#endif
7229
 
int
7230
 
main ()
7231
 
{
7232
7797
/* The GNU C library defines this for functions which it implements
7233
7798
    to always fail with ENOSYS.  Some functions are actually named
7234
7799
    something starting with __ and the normal name is an alias.  */
7235
7800
#if defined (__stub_dlopen) || defined (__stub___dlopen)
7236
7801
choke me
7237
7802
#else
7238
 
f = dlopen;
 
7803
char (*f) () = dlopen;
 
7804
#endif
 
7805
#ifdef __cplusplus
 
7806
}
7239
7807
#endif
7240
7808
 
 
7809
int
 
7810
main ()
 
7811
{
 
7812
return f != dlopen;
7241
7813
  ;
7242
7814
  return 0;
7243
7815
}
7257
7829
  ac_cv_func_dlopen=yes
7258
7830
else
7259
7831
  echo "$as_me: failed program was:" >&5
7260
 
cat conftest.$ac_ext >&5
 
7832
sed 's/^/| /' conftest.$ac_ext >&5
 
7833
 
7261
7834
ac_cv_func_dlopen=no
7262
7835
fi
7263
7836
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7276
7849
LIBS="-ldl  $LIBS"
7277
7850
cat >conftest.$ac_ext <<_ACEOF
7278
7851
#line $LINENO "configure"
7279
 
#include "confdefs.h"
 
7852
/* confdefs.h.  */
 
7853
_ACEOF
 
7854
cat confdefs.h >>conftest.$ac_ext
 
7855
cat >>conftest.$ac_ext <<_ACEOF
 
7856
/* end confdefs.h.  */
7280
7857
 
7281
7858
/* Override any gcc2 internal prototype to avoid an error.  */
7282
7859
#ifdef __cplusplus
7285
7862
/* We use char because int might match the return type of a gcc2
7286
7863
   builtin and then its argument prototype would still apply.  */
7287
7864
char dlopen ();
7288
 
#ifdef F77_DUMMY_MAIN
7289
 
#  ifdef __cplusplus
7290
 
     extern "C"
7291
 
#  endif
7292
 
   int F77_DUMMY_MAIN() { return 1; }
7293
 
#endif
7294
7865
int
7295
7866
main ()
7296
7867
{
7314
7885
  ac_cv_lib_dl_dlopen=yes
7315
7886
else
7316
7887
  echo "$as_me: failed program was:" >&5
7317
 
cat conftest.$ac_ext >&5
 
7888
sed 's/^/| /' conftest.$ac_ext >&5
 
7889
 
7318
7890
ac_cv_lib_dl_dlopen=no
7319
7891
fi
7320
7892
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7334
7906
LIBS="-lsvld  $LIBS"
7335
7907
cat >conftest.$ac_ext <<_ACEOF
7336
7908
#line $LINENO "configure"
7337
 
#include "confdefs.h"
 
7909
/* confdefs.h.  */
 
7910
_ACEOF
 
7911
cat confdefs.h >>conftest.$ac_ext
 
7912
cat >>conftest.$ac_ext <<_ACEOF
 
7913
/* end confdefs.h.  */
7338
7914
 
7339
7915
/* Override any gcc2 internal prototype to avoid an error.  */
7340
7916
#ifdef __cplusplus
7343
7919
/* We use char because int might match the return type of a gcc2
7344
7920
   builtin and then its argument prototype would still apply.  */
7345
7921
char dlopen ();
7346
 
#ifdef F77_DUMMY_MAIN
7347
 
#  ifdef __cplusplus
7348
 
     extern "C"
7349
 
#  endif
7350
 
   int F77_DUMMY_MAIN() { return 1; }
7351
 
#endif
7352
7922
int
7353
7923
main ()
7354
7924
{
7372
7942
  ac_cv_lib_svld_dlopen=yes
7373
7943
else
7374
7944
  echo "$as_me: failed program was:" >&5
7375
 
cat conftest.$ac_ext >&5
 
7945
sed 's/^/| /' conftest.$ac_ext >&5
 
7946
 
7376
7947
ac_cv_lib_svld_dlopen=no
7377
7948
fi
7378
7949
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7392
7963
LIBS="-ldld  $LIBS"
7393
7964
cat >conftest.$ac_ext <<_ACEOF
7394
7965
#line $LINENO "configure"
7395
 
#include "confdefs.h"
 
7966
/* confdefs.h.  */
 
7967
_ACEOF
 
7968
cat confdefs.h >>conftest.$ac_ext
 
7969
cat >>conftest.$ac_ext <<_ACEOF
 
7970
/* end confdefs.h.  */
7396
7971
 
7397
7972
/* Override any gcc2 internal prototype to avoid an error.  */
7398
7973
#ifdef __cplusplus
7401
7976
/* We use char because int might match the return type of a gcc2
7402
7977
   builtin and then its argument prototype would still apply.  */
7403
7978
char dld_link ();
7404
 
#ifdef F77_DUMMY_MAIN
7405
 
#  ifdef __cplusplus
7406
 
     extern "C"
7407
 
#  endif
7408
 
   int F77_DUMMY_MAIN() { return 1; }
7409
 
#endif
7410
7979
int
7411
7980
main ()
7412
7981
{
7430
7999
  ac_cv_lib_dld_dld_link=yes
7431
8000
else
7432
8001
  echo "$as_me: failed program was:" >&5
7433
 
cat conftest.$ac_ext >&5
 
8002
sed 's/^/| /' conftest.$ac_ext >&5
 
8003
 
7434
8004
ac_cv_lib_dld_dld_link=no
7435
8005
fi
7436
8006
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7488
8058
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7489
8059
  lt_status=$lt_dlunknown
7490
8060
  cat > conftest.$ac_ext <<EOF
7491
 
#line 7491 "configure"
 
8061
#line 8061 "configure"
7492
8062
#include "confdefs.h"
7493
8063
 
7494
8064
#if HAVE_DLFCN_H
7586
8156
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7587
8157
  lt_status=$lt_dlunknown
7588
8158
  cat > conftest.$ac_ext <<EOF
7589
 
#line 7589 "configure"
 
8159
#line 8159 "configure"
7590
8160
#include "confdefs.h"
7591
8161
 
7592
8162
#if HAVE_DLFCN_H
7769
8339
  # Now quote all the things that may contain metacharacters while being
7770
8340
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
7771
8341
  # variables and quote the copies for generation of the libtool script.
7772
 
  for var in echo old_CC old_CFLAGS \
 
8342
  for var in echo old_CC old_CFLAGS SED \
7773
8343
    AR AR_FLAGS CC LD LN_S NM SHELL \
7774
8344
    reload_flag reload_cmds wl \
7775
8345
    pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
7831
8401
# configuration script generated by Autoconf, you may include it under
7832
8402
# the same distribution terms that you use for the rest of that program.
7833
8403
 
 
8404
# A sed that does not truncate output.
 
8405
SED=$lt_SED
 
8406
 
7834
8407
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
7835
 
Xsed="sed -e s/^X//"
 
8408
Xsed="${SED} -e s/^X//"
7836
8409
 
7837
8410
# The HP-UX ksh and POSIX shell print the target directory to stdout
7838
8411
# if CDPATH is set.
8378
8951
  BUILD_LIBRARY_FALSE=
8379
8952
fi
8380
8953
 
 
8954
 
8381
8955
# *******************************************************************
8382
8956
# * Do we want to build the documentation?
8383
8957
# *******************************************************************
8447
9021
fi
8448
9022
 
8449
9023
 
 
9024
 
8450
9025
if test x"$want_html" = x"yes"; then
8451
9026
  BUILD_HTMLPAGES_TRUE=
8452
9027
  BUILD_HTMLPAGES_FALSE='#'
8455
9030
  BUILD_HTMLPAGES_FALSE=
8456
9031
fi
8457
9032
 
 
9033
 
8458
9034
if test x"$want_man" = x"yes"; then
8459
9035
  if test x${sim_ac_configuration_settings+set} != xset; then
8460
9036
  sim_ac_configuration_settings="manpage installation:$mandir"
8634
9210
  BUILD_METAFILES_TRUE='#'
8635
9211
  BUILD_METAFILES_FALSE=
8636
9212
fi
 
9213
 
8637
9214
meta_prefix=moc_
8638
9215
 
8639
9216
 
8668
9245
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8669
9246
cat >conftest.$ac_ext <<_ACEOF
8670
9247
#line $LINENO "configure"
8671
 
#include "confdefs.h"
 
9248
/* confdefs.h.  */
 
9249
_ACEOF
 
9250
cat confdefs.h >>conftest.$ac_ext
 
9251
cat >>conftest.$ac_ext <<_ACEOF
 
9252
/* end confdefs.h.  */
8672
9253
$ac_includes_default
8673
9254
#include <$ac_header>
8674
9255
_ACEOF
8687
9268
  ac_header_compiler=yes
8688
9269
else
8689
9270
  echo "$as_me: failed program was:" >&5
8690
 
cat conftest.$ac_ext >&5
 
9271
sed 's/^/| /' conftest.$ac_ext >&5
 
9272
 
8691
9273
ac_header_compiler=no
8692
9274
fi
8693
9275
rm -f conftest.$ac_objext conftest.$ac_ext
8699
9281
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8700
9282
cat >conftest.$ac_ext <<_ACEOF
8701
9283
#line $LINENO "configure"
8702
 
#include "confdefs.h"
 
9284
/* confdefs.h.  */
 
9285
_ACEOF
 
9286
cat confdefs.h >>conftest.$ac_ext
 
9287
cat >>conftest.$ac_ext <<_ACEOF
 
9288
/* end confdefs.h.  */
8703
9289
#include <$ac_header>
8704
9290
_ACEOF
8705
9291
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8706
9292
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8707
9293
  ac_status=$?
8708
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
9294
  grep -v '^ *+' conftest.er1 >conftest.err
8709
9295
  rm -f conftest.er1
8710
9296
  cat conftest.err >&5
8711
9297
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722
9308
  ac_header_preproc=yes
8723
9309
else
8724
9310
  echo "$as_me: failed program was:" >&5
8725
 
  cat conftest.$ac_ext >&5
 
9311
sed 's/^/| /' conftest.$ac_ext >&5
 
9312
 
8726
9313
  ac_header_preproc=no
8727
9314
fi
8728
9315
rm -f conftest.err conftest.$ac_ext
8735
9322
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8736
9323
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8737
9324
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8738
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
 
9325
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
9326
    (
 
9327
      cat <<\_ASBOX
 
9328
## ------------------------------------ ##
 
9329
## Report this to bug-autoconf@gnu.org. ##
 
9330
## ------------------------------------ ##
 
9331
_ASBOX
 
9332
    ) |
 
9333
      sed "s/^/$as_me: WARNING:     /" >&2
 
9334
    ;;
8739
9335
  no:yes )
8740
9336
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8741
9337
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8742
9338
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8743
9339
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8744
9340
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8745
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
 
9341
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
9342
    (
 
9343
      cat <<\_ASBOX
 
9344
## ------------------------------------ ##
 
9345
## Report this to bug-autoconf@gnu.org. ##
 
9346
## ------------------------------------ ##
 
9347
_ASBOX
 
9348
    ) |
 
9349
      sed "s/^/$as_me: WARNING:     /" >&2
 
9350
    ;;
8746
9351
esac
8747
9352
echo "$as_me:$LINENO: checking for $ac_header" >&5
8748
9353
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8772
9377
echo $ECHO_N "checking for GetEnvironmentVariable() function... $ECHO_C" >&6
8773
9378
cat >conftest.$ac_ext <<_ACEOF
8774
9379
#line $LINENO "configure"
8775
 
#include "confdefs.h"
 
9380
/* confdefs.h.  */
 
9381
_ACEOF
 
9382
cat confdefs.h >>conftest.$ac_ext
 
9383
cat >>conftest.$ac_ext <<_ACEOF
 
9384
/* end confdefs.h.  */
8776
9385
#include <windows.h>
8777
 
#ifdef F77_DUMMY_MAIN
8778
 
#  ifdef __cplusplus
8779
 
     extern "C"
8780
 
#  endif
8781
 
   int F77_DUMMY_MAIN() { return 1; }
8782
 
#endif
8783
9386
int
8784
9387
main ()
8785
9388
{
8809
9412
 
8810
9413
else
8811
9414
  echo "$as_me: failed program was:" >&5
8812
 
cat conftest.$ac_ext >&5
 
9415
sed 's/^/| /' conftest.$ac_ext >&5
 
9416
 
8813
9417
echo "$as_me:$LINENO: result: no" >&5
8814
9418
echo "${ECHO_T}no" >&6
8815
9419
fi
8852
9456
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8853
9457
cat >conftest.$ac_ext <<_ACEOF
8854
9458
#line $LINENO "configure"
8855
 
#include "confdefs.h"
 
9459
/* confdefs.h.  */
 
9460
_ACEOF
 
9461
cat confdefs.h >>conftest.$ac_ext
 
9462
cat >>conftest.$ac_ext <<_ACEOF
 
9463
/* end confdefs.h.  */
8856
9464
$ac_includes_default
8857
9465
#include <$ac_header>
8858
9466
_ACEOF
8871
9479
  ac_header_compiler=yes
8872
9480
else
8873
9481
  echo "$as_me: failed program was:" >&5
8874
 
cat conftest.$ac_ext >&5
 
9482
sed 's/^/| /' conftest.$ac_ext >&5
 
9483
 
8875
9484
ac_header_compiler=no
8876
9485
fi
8877
9486
rm -f conftest.$ac_objext conftest.$ac_ext
8883
9492
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8884
9493
cat >conftest.$ac_ext <<_ACEOF
8885
9494
#line $LINENO "configure"
8886
 
#include "confdefs.h"
 
9495
/* confdefs.h.  */
 
9496
_ACEOF
 
9497
cat confdefs.h >>conftest.$ac_ext
 
9498
cat >>conftest.$ac_ext <<_ACEOF
 
9499
/* end confdefs.h.  */
8887
9500
#include <$ac_header>
8888
9501
_ACEOF
8889
9502
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8890
9503
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8891
9504
  ac_status=$?
8892
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
9505
  grep -v '^ *+' conftest.er1 >conftest.err
8893
9506
  rm -f conftest.er1
8894
9507
  cat conftest.err >&5
8895
9508
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8906
9519
  ac_header_preproc=yes
8907
9520
else
8908
9521
  echo "$as_me: failed program was:" >&5
8909
 
  cat conftest.$ac_ext >&5
 
9522
sed 's/^/| /' conftest.$ac_ext >&5
 
9523
 
8910
9524
  ac_header_preproc=no
8911
9525
fi
8912
9526
rm -f conftest.err conftest.$ac_ext
8919
9533
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8920
9534
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8921
9535
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8922
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
 
9536
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
9537
    (
 
9538
      cat <<\_ASBOX
 
9539
## ------------------------------------ ##
 
9540
## Report this to bug-autoconf@gnu.org. ##
 
9541
## ------------------------------------ ##
 
9542
_ASBOX
 
9543
    ) |
 
9544
      sed "s/^/$as_me: WARNING:     /" >&2
 
9545
    ;;
8923
9546
  no:yes )
8924
9547
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8925
9548
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8926
9549
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8927
9550
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8928
9551
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8929
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
 
9552
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
9553
    (
 
9554
      cat <<\_ASBOX
 
9555
## ------------------------------------ ##
 
9556
## Report this to bug-autoconf@gnu.org. ##
 
9557
## ------------------------------------ ##
 
9558
_ASBOX
 
9559
    ) |
 
9560
      sed "s/^/$as_me: WARNING:     /" >&2
 
9561
    ;;
8930
9562
esac
8931
9563
echo "$as_me:$LINENO: checking for $ac_header" >&5
8932
9564
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8956
9588
else
8957
9589
  cat >conftest.$ac_ext <<_ACEOF
8958
9590
#line $LINENO "configure"
8959
 
#include "confdefs.h"
 
9591
/* confdefs.h.  */
 
9592
_ACEOF
 
9593
cat confdefs.h >>conftest.$ac_ext
 
9594
cat >>conftest.$ac_ext <<_ACEOF
 
9595
/* end confdefs.h.  */
8960
9596
 
8961
9597
#if HAVE_WINDOWS_H
8962
9598
#include <windows.h>
8963
9599
#endif /* HAVE_WINDOWS_H */
8964
9600
 
8965
 
#ifdef F77_DUMMY_MAIN
8966
 
#  ifdef __cplusplus
8967
 
     extern "C"
8968
 
#  endif
8969
 
   int F77_DUMMY_MAIN() { return 1; }
8970
 
#endif
8971
9601
int
8972
9602
main ()
8973
9603
{
8991
9621
  sim_cv_lib_loadlibrary_avail=yes
8992
9622
else
8993
9623
  echo "$as_me: failed program was:" >&5
8994
 
cat conftest.$ac_ext >&5
 
9624
sed 's/^/| /' conftest.$ac_ext >&5
 
9625
 
8995
9626
sim_cv_lib_loadlibrary_avail=no
8996
9627
fi
8997
9628
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9120
9751
  # First, try using that file with no special directory specified.
9121
9752
  cat >conftest.$ac_ext <<_ACEOF
9122
9753
#line $LINENO "configure"
9123
 
#include "confdefs.h"
 
9754
/* confdefs.h.  */
 
9755
_ACEOF
 
9756
cat confdefs.h >>conftest.$ac_ext
 
9757
cat >>conftest.$ac_ext <<_ACEOF
 
9758
/* end confdefs.h.  */
9124
9759
#include <X11/Intrinsic.h>
9125
9760
_ACEOF
9126
9761
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9127
9762
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9128
9763
  ac_status=$?
9129
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
9764
  grep -v '^ *+' conftest.er1 >conftest.err
9130
9765
  rm -f conftest.er1
9131
9766
  cat conftest.err >&5
9132
9767
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144
9779
ac_x_includes=
9145
9780
else
9146
9781
  echo "$as_me: failed program was:" >&5
9147
 
  cat conftest.$ac_ext >&5
 
9782
sed 's/^/| /' conftest.$ac_ext >&5
 
9783
 
9148
9784
  for ac_dir in $ac_x_header_dirs; do
9149
9785
  if test -r "$ac_dir/X11/Intrinsic.h"; then
9150
9786
    ac_x_includes=$ac_dir
9163
9799
  LIBS="-lXt $LIBS"
9164
9800
  cat >conftest.$ac_ext <<_ACEOF
9165
9801
#line $LINENO "configure"
9166
 
#include "confdefs.h"
 
9802
/* confdefs.h.  */
 
9803
_ACEOF
 
9804
cat confdefs.h >>conftest.$ac_ext
 
9805
cat >>conftest.$ac_ext <<_ACEOF
 
9806
/* end confdefs.h.  */
9167
9807
#include <X11/Intrinsic.h>
9168
 
#ifdef F77_DUMMY_MAIN
9169
 
#  ifdef __cplusplus
9170
 
     extern "C"
9171
 
#  endif
9172
 
   int F77_DUMMY_MAIN() { return 1; }
9173
 
#endif
9174
9808
int
9175
9809
main ()
9176
9810
{
9196
9830
ac_x_libraries=
9197
9831
else
9198
9832
  echo "$as_me: failed program was:" >&5
9199
 
cat conftest.$ac_ext >&5
 
9833
sed 's/^/| /' conftest.$ac_ext >&5
 
9834
 
9200
9835
LIBS=$ac_save_LIBS
9201
9836
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9202
9837
do
9266
9901
      ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9267
9902
      cat >conftest.$ac_ext <<_ACEOF
9268
9903
#line $LINENO "configure"
9269
 
#include "confdefs.h"
 
9904
/* confdefs.h.  */
 
9905
_ACEOF
 
9906
cat confdefs.h >>conftest.$ac_ext
 
9907
cat >>conftest.$ac_ext <<_ACEOF
 
9908
/* end confdefs.h.  */
9270
9909
 
9271
 
#ifdef F77_DUMMY_MAIN
9272
 
#  ifdef __cplusplus
9273
 
     extern "C"
9274
 
#  endif
9275
 
   int F77_DUMMY_MAIN() { return 1; }
9276
 
#endif
9277
9910
int
9278
9911
main ()
9279
9912
{
9297
9930
  ac_R_nospace=yes
9298
9931
else
9299
9932
  echo "$as_me: failed program was:" >&5
9300
 
cat conftest.$ac_ext >&5
 
9933
sed 's/^/| /' conftest.$ac_ext >&5
 
9934
 
9301
9935
ac_R_nospace=no
9302
9936
fi
9303
9937
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9309
9943
        LIBS="$ac_xsave_LIBS -R $x_libraries"
9310
9944
        cat >conftest.$ac_ext <<_ACEOF
9311
9945
#line $LINENO "configure"
9312
 
#include "confdefs.h"
 
9946
/* confdefs.h.  */
 
9947
_ACEOF
 
9948
cat confdefs.h >>conftest.$ac_ext
 
9949
cat >>conftest.$ac_ext <<_ACEOF
 
9950
/* end confdefs.h.  */
9313
9951
 
9314
 
#ifdef F77_DUMMY_MAIN
9315
 
#  ifdef __cplusplus
9316
 
     extern "C"
9317
 
#  endif
9318
 
   int F77_DUMMY_MAIN() { return 1; }
9319
 
#endif
9320
9952
int
9321
9953
main ()
9322
9954
{
9340
9972
  ac_R_space=yes
9341
9973
else
9342
9974
  echo "$as_me: failed program was:" >&5
9343
 
cat conftest.$ac_ext >&5
 
9975
sed 's/^/| /' conftest.$ac_ext >&5
 
9976
 
9344
9977
ac_R_space=no
9345
9978
fi
9346
9979
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9370
10003
    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9371
10004
    cat >conftest.$ac_ext <<_ACEOF
9372
10005
#line $LINENO "configure"
9373
 
#include "confdefs.h"
 
10006
/* confdefs.h.  */
 
10007
_ACEOF
 
10008
cat confdefs.h >>conftest.$ac_ext
 
10009
cat >>conftest.$ac_ext <<_ACEOF
 
10010
/* end confdefs.h.  */
9374
10011
 
9375
10012
/* Override any gcc2 internal prototype to avoid an error.  */
9376
10013
#ifdef __cplusplus
9379
10016
/* We use char because int might match the return type of a gcc2
9380
10017
   builtin and then its argument prototype would still apply.  */
9381
10018
char XOpenDisplay ();
9382
 
#ifdef F77_DUMMY_MAIN
9383
 
#  ifdef __cplusplus
9384
 
     extern "C"
9385
 
#  endif
9386
 
   int F77_DUMMY_MAIN() { return 1; }
9387
 
#endif
9388
10019
int
9389
10020
main ()
9390
10021
{
9408
10039
  :
9409
10040
else
9410
10041
  echo "$as_me: failed program was:" >&5
9411
 
cat conftest.$ac_ext >&5
 
10042
sed 's/^/| /' conftest.$ac_ext >&5
 
10043
 
9412
10044
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
9413
10045
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
9414
10046
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
9418
10050
LIBS="-ldnet  $LIBS"
9419
10051
cat >conftest.$ac_ext <<_ACEOF
9420
10052
#line $LINENO "configure"
9421
 
#include "confdefs.h"
 
10053
/* confdefs.h.  */
 
10054
_ACEOF
 
10055
cat confdefs.h >>conftest.$ac_ext
 
10056
cat >>conftest.$ac_ext <<_ACEOF
 
10057
/* end confdefs.h.  */
9422
10058
 
9423
10059
/* Override any gcc2 internal prototype to avoid an error.  */
9424
10060
#ifdef __cplusplus
9427
10063
/* We use char because int might match the return type of a gcc2
9428
10064
   builtin and then its argument prototype would still apply.  */
9429
10065
char dnet_ntoa ();
9430
 
#ifdef F77_DUMMY_MAIN
9431
 
#  ifdef __cplusplus
9432
 
     extern "C"
9433
 
#  endif
9434
 
   int F77_DUMMY_MAIN() { return 1; }
9435
 
#endif
9436
10066
int
9437
10067
main ()
9438
10068
{
9456
10086
  ac_cv_lib_dnet_dnet_ntoa=yes
9457
10087
else
9458
10088
  echo "$as_me: failed program was:" >&5
9459
 
cat conftest.$ac_ext >&5
 
10089
sed 's/^/| /' conftest.$ac_ext >&5
 
10090
 
9460
10091
ac_cv_lib_dnet_dnet_ntoa=no
9461
10092
fi
9462
10093
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9478
10109
LIBS="-ldnet_stub  $LIBS"
9479
10110
cat >conftest.$ac_ext <<_ACEOF
9480
10111
#line $LINENO "configure"
9481
 
#include "confdefs.h"
 
10112
/* confdefs.h.  */
 
10113
_ACEOF
 
10114
cat confdefs.h >>conftest.$ac_ext
 
10115
cat >>conftest.$ac_ext <<_ACEOF
 
10116
/* end confdefs.h.  */
9482
10117
 
9483
10118
/* Override any gcc2 internal prototype to avoid an error.  */
9484
10119
#ifdef __cplusplus
9487
10122
/* We use char because int might match the return type of a gcc2
9488
10123
   builtin and then its argument prototype would still apply.  */
9489
10124
char dnet_ntoa ();
9490
 
#ifdef F77_DUMMY_MAIN
9491
 
#  ifdef __cplusplus
9492
 
     extern "C"
9493
 
#  endif
9494
 
   int F77_DUMMY_MAIN() { return 1; }
9495
 
#endif
9496
10125
int
9497
10126
main ()
9498
10127
{
9516
10145
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
9517
10146
else
9518
10147
  echo "$as_me: failed program was:" >&5
9519
 
cat conftest.$ac_ext >&5
 
10148
sed 's/^/| /' conftest.$ac_ext >&5
 
10149
 
9520
10150
ac_cv_lib_dnet_stub_dnet_ntoa=no
9521
10151
fi
9522
10152
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9548
10178
else
9549
10179
  cat >conftest.$ac_ext <<_ACEOF
9550
10180
#line $LINENO "configure"
9551
 
#include "confdefs.h"
 
10181
/* confdefs.h.  */
 
10182
_ACEOF
 
10183
cat confdefs.h >>conftest.$ac_ext
 
10184
cat >>conftest.$ac_ext <<_ACEOF
 
10185
/* end confdefs.h.  */
9552
10186
/* System header to define __stub macros and hopefully few prototypes,
9553
 
    which can conflict with char gethostbyname (); below.  */
9554
 
#include <assert.h>
 
10187
    which can conflict with char gethostbyname (); below.
 
10188
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
10189
    <limits.h> exists even on freestanding compilers.  */
 
10190
#ifdef __STDC__
 
10191
# include <limits.h>
 
10192
#else
 
10193
# include <assert.h>
 
10194
#endif
9555
10195
/* Override any gcc2 internal prototype to avoid an error.  */
9556
10196
#ifdef __cplusplus
9557
10197
extern "C"
 
10198
{
9558
10199
#endif
9559
10200
/* We use char because int might match the return type of a gcc2
9560
10201
   builtin and then its argument prototype would still apply.  */
9561
10202
char gethostbyname ();
9562
 
char (*f) ();
9563
 
 
9564
 
#ifdef F77_DUMMY_MAIN
9565
 
#  ifdef __cplusplus
9566
 
     extern "C"
9567
 
#  endif
9568
 
   int F77_DUMMY_MAIN() { return 1; }
9569
 
#endif
9570
 
int
9571
 
main ()
9572
 
{
9573
10203
/* The GNU C library defines this for functions which it implements
9574
10204
    to always fail with ENOSYS.  Some functions are actually named
9575
10205
    something starting with __ and the normal name is an alias.  */
9576
10206
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
9577
10207
choke me
9578
10208
#else
9579
 
f = gethostbyname;
 
10209
char (*f) () = gethostbyname;
 
10210
#endif
 
10211
#ifdef __cplusplus
 
10212
}
9580
10213
#endif
9581
10214
 
 
10215
int
 
10216
main ()
 
10217
{
 
10218
return f != gethostbyname;
9582
10219
  ;
9583
10220
  return 0;
9584
10221
}
9598
10235
  ac_cv_func_gethostbyname=yes
9599
10236
else
9600
10237
  echo "$as_me: failed program was:" >&5
9601
 
cat conftest.$ac_ext >&5
 
10238
sed 's/^/| /' conftest.$ac_ext >&5
 
10239
 
9602
10240
ac_cv_func_gethostbyname=no
9603
10241
fi
9604
10242
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9616
10254
LIBS="-lnsl  $LIBS"
9617
10255
cat >conftest.$ac_ext <<_ACEOF
9618
10256
#line $LINENO "configure"
9619
 
#include "confdefs.h"
 
10257
/* confdefs.h.  */
 
10258
_ACEOF
 
10259
cat confdefs.h >>conftest.$ac_ext
 
10260
cat >>conftest.$ac_ext <<_ACEOF
 
10261
/* end confdefs.h.  */
9620
10262
 
9621
10263
/* Override any gcc2 internal prototype to avoid an error.  */
9622
10264
#ifdef __cplusplus
9625
10267
/* We use char because int might match the return type of a gcc2
9626
10268
   builtin and then its argument prototype would still apply.  */
9627
10269
char gethostbyname ();
9628
 
#ifdef F77_DUMMY_MAIN
9629
 
#  ifdef __cplusplus
9630
 
     extern "C"
9631
 
#  endif
9632
 
   int F77_DUMMY_MAIN() { return 1; }
9633
 
#endif
9634
10270
int
9635
10271
main ()
9636
10272
{
9654
10290
  ac_cv_lib_nsl_gethostbyname=yes
9655
10291
else
9656
10292
  echo "$as_me: failed program was:" >&5
9657
 
cat conftest.$ac_ext >&5
 
10293
sed 's/^/| /' conftest.$ac_ext >&5
 
10294
 
9658
10295
ac_cv_lib_nsl_gethostbyname=no
9659
10296
fi
9660
10297
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9676
10313
LIBS="-lbsd  $LIBS"
9677
10314
cat >conftest.$ac_ext <<_ACEOF
9678
10315
#line $LINENO "configure"
9679
 
#include "confdefs.h"
 
10316
/* confdefs.h.  */
 
10317
_ACEOF
 
10318
cat confdefs.h >>conftest.$ac_ext
 
10319
cat >>conftest.$ac_ext <<_ACEOF
 
10320
/* end confdefs.h.  */
9680
10321
 
9681
10322
/* Override any gcc2 internal prototype to avoid an error.  */
9682
10323
#ifdef __cplusplus
9685
10326
/* We use char because int might match the return type of a gcc2
9686
10327
   builtin and then its argument prototype would still apply.  */
9687
10328
char gethostbyname ();
9688
 
#ifdef F77_DUMMY_MAIN
9689
 
#  ifdef __cplusplus
9690
 
     extern "C"
9691
 
#  endif
9692
 
   int F77_DUMMY_MAIN() { return 1; }
9693
 
#endif
9694
10329
int
9695
10330
main ()
9696
10331
{
9714
10349
  ac_cv_lib_bsd_gethostbyname=yes
9715
10350
else
9716
10351
  echo "$as_me: failed program was:" >&5
9717
 
cat conftest.$ac_ext >&5
 
10352
sed 's/^/| /' conftest.$ac_ext >&5
 
10353
 
9718
10354
ac_cv_lib_bsd_gethostbyname=no
9719
10355
fi
9720
10356
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9733
10369
    # socket/setsockopt and other routines are undefined under SCO ODT
9734
10370
    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
9735
10371
    # on later versions), says Simon Leinen: it contains gethostby*
9736
 
    # variants that don't use the nameserver (or something).  -lsocket
 
10372
    # variants that don't use the name server (or something).  -lsocket
9737
10373
    # must be given before -lnsl if both are needed.  We assume that
9738
10374
    # if connect needs -lnsl, so does gethostbyname.
9739
10375
    echo "$as_me:$LINENO: checking for connect" >&5
9743
10379
else
9744
10380
  cat >conftest.$ac_ext <<_ACEOF
9745
10381
#line $LINENO "configure"
9746
 
#include "confdefs.h"
 
10382
/* confdefs.h.  */
 
10383
_ACEOF
 
10384
cat confdefs.h >>conftest.$ac_ext
 
10385
cat >>conftest.$ac_ext <<_ACEOF
 
10386
/* end confdefs.h.  */
9747
10387
/* System header to define __stub macros and hopefully few prototypes,
9748
 
    which can conflict with char connect (); below.  */
9749
 
#include <assert.h>
 
10388
    which can conflict with char connect (); below.
 
10389
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
10390
    <limits.h> exists even on freestanding compilers.  */
 
10391
#ifdef __STDC__
 
10392
# include <limits.h>
 
10393
#else
 
10394
# include <assert.h>
 
10395
#endif
9750
10396
/* Override any gcc2 internal prototype to avoid an error.  */
9751
10397
#ifdef __cplusplus
9752
10398
extern "C"
 
10399
{
9753
10400
#endif
9754
10401
/* We use char because int might match the return type of a gcc2
9755
10402
   builtin and then its argument prototype would still apply.  */
9756
10403
char connect ();
9757
 
char (*f) ();
9758
 
 
9759
 
#ifdef F77_DUMMY_MAIN
9760
 
#  ifdef __cplusplus
9761
 
     extern "C"
9762
 
#  endif
9763
 
   int F77_DUMMY_MAIN() { return 1; }
9764
 
#endif
9765
 
int
9766
 
main ()
9767
 
{
9768
10404
/* The GNU C library defines this for functions which it implements
9769
10405
    to always fail with ENOSYS.  Some functions are actually named
9770
10406
    something starting with __ and the normal name is an alias.  */
9771
10407
#if defined (__stub_connect) || defined (__stub___connect)
9772
10408
choke me
9773
10409
#else
9774
 
f = connect;
 
10410
char (*f) () = connect;
 
10411
#endif
 
10412
#ifdef __cplusplus
 
10413
}
9775
10414
#endif
9776
10415
 
 
10416
int
 
10417
main ()
 
10418
{
 
10419
return f != connect;
9777
10420
  ;
9778
10421
  return 0;
9779
10422
}
9793
10436
  ac_cv_func_connect=yes
9794
10437
else
9795
10438
  echo "$as_me: failed program was:" >&5
9796
 
cat conftest.$ac_ext >&5
 
10439
sed 's/^/| /' conftest.$ac_ext >&5
 
10440
 
9797
10441
ac_cv_func_connect=no
9798
10442
fi
9799
10443
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9811
10455
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9812
10456
cat >conftest.$ac_ext <<_ACEOF
9813
10457
#line $LINENO "configure"
9814
 
#include "confdefs.h"
 
10458
/* confdefs.h.  */
 
10459
_ACEOF
 
10460
cat confdefs.h >>conftest.$ac_ext
 
10461
cat >>conftest.$ac_ext <<_ACEOF
 
10462
/* end confdefs.h.  */
9815
10463
 
9816
10464
/* Override any gcc2 internal prototype to avoid an error.  */
9817
10465
#ifdef __cplusplus
9820
10468
/* We use char because int might match the return type of a gcc2
9821
10469
   builtin and then its argument prototype would still apply.  */
9822
10470
char connect ();
9823
 
#ifdef F77_DUMMY_MAIN
9824
 
#  ifdef __cplusplus
9825
 
     extern "C"
9826
 
#  endif
9827
 
   int F77_DUMMY_MAIN() { return 1; }
9828
 
#endif
9829
10471
int
9830
10472
main ()
9831
10473
{
9849
10491
  ac_cv_lib_socket_connect=yes
9850
10492
else
9851
10493
  echo "$as_me: failed program was:" >&5
9852
 
cat conftest.$ac_ext >&5
 
10494
sed 's/^/| /' conftest.$ac_ext >&5
 
10495
 
9853
10496
ac_cv_lib_socket_connect=no
9854
10497
fi
9855
10498
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9871
10514
else
9872
10515
  cat >conftest.$ac_ext <<_ACEOF
9873
10516
#line $LINENO "configure"
9874
 
#include "confdefs.h"
 
10517
/* confdefs.h.  */
 
10518
_ACEOF
 
10519
cat confdefs.h >>conftest.$ac_ext
 
10520
cat >>conftest.$ac_ext <<_ACEOF
 
10521
/* end confdefs.h.  */
9875
10522
/* System header to define __stub macros and hopefully few prototypes,
9876
 
    which can conflict with char remove (); below.  */
9877
 
#include <assert.h>
 
10523
    which can conflict with char remove (); below.
 
10524
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
10525
    <limits.h> exists even on freestanding compilers.  */
 
10526
#ifdef __STDC__
 
10527
# include <limits.h>
 
10528
#else
 
10529
# include <assert.h>
 
10530
#endif
9878
10531
/* Override any gcc2 internal prototype to avoid an error.  */
9879
10532
#ifdef __cplusplus
9880
10533
extern "C"
 
10534
{
9881
10535
#endif
9882
10536
/* We use char because int might match the return type of a gcc2
9883
10537
   builtin and then its argument prototype would still apply.  */
9884
10538
char remove ();
9885
 
char (*f) ();
9886
 
 
9887
 
#ifdef F77_DUMMY_MAIN
9888
 
#  ifdef __cplusplus
9889
 
     extern "C"
9890
 
#  endif
9891
 
   int F77_DUMMY_MAIN() { return 1; }
9892
 
#endif
9893
 
int
9894
 
main ()
9895
 
{
9896
10539
/* The GNU C library defines this for functions which it implements
9897
10540
    to always fail with ENOSYS.  Some functions are actually named
9898
10541
    something starting with __ and the normal name is an alias.  */
9899
10542
#if defined (__stub_remove) || defined (__stub___remove)
9900
10543
choke me
9901
10544
#else
9902
 
f = remove;
 
10545
char (*f) () = remove;
 
10546
#endif
 
10547
#ifdef __cplusplus
 
10548
}
9903
10549
#endif
9904
10550
 
 
10551
int
 
10552
main ()
 
10553
{
 
10554
return f != remove;
9905
10555
  ;
9906
10556
  return 0;
9907
10557
}
9921
10571
  ac_cv_func_remove=yes
9922
10572
else
9923
10573
  echo "$as_me: failed program was:" >&5
9924
 
cat conftest.$ac_ext >&5
 
10574
sed 's/^/| /' conftest.$ac_ext >&5
 
10575
 
9925
10576
ac_cv_func_remove=no
9926
10577
fi
9927
10578
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9939
10590
LIBS="-lposix  $LIBS"
9940
10591
cat >conftest.$ac_ext <<_ACEOF
9941
10592
#line $LINENO "configure"
9942
 
#include "confdefs.h"
 
10593
/* confdefs.h.  */
 
10594
_ACEOF
 
10595
cat confdefs.h >>conftest.$ac_ext
 
10596
cat >>conftest.$ac_ext <<_ACEOF
 
10597
/* end confdefs.h.  */
9943
10598
 
9944
10599
/* Override any gcc2 internal prototype to avoid an error.  */
9945
10600
#ifdef __cplusplus
9948
10603
/* We use char because int might match the return type of a gcc2
9949
10604
   builtin and then its argument prototype would still apply.  */
9950
10605
char remove ();
9951
 
#ifdef F77_DUMMY_MAIN
9952
 
#  ifdef __cplusplus
9953
 
     extern "C"
9954
 
#  endif
9955
 
   int F77_DUMMY_MAIN() { return 1; }
9956
 
#endif
9957
10606
int
9958
10607
main ()
9959
10608
{
9977
10626
  ac_cv_lib_posix_remove=yes
9978
10627
else
9979
10628
  echo "$as_me: failed program was:" >&5
9980
 
cat conftest.$ac_ext >&5
 
10629
sed 's/^/| /' conftest.$ac_ext >&5
 
10630
 
9981
10631
ac_cv_lib_posix_remove=no
9982
10632
fi
9983
10633
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9999
10649
else
10000
10650
  cat >conftest.$ac_ext <<_ACEOF
10001
10651
#line $LINENO "configure"
10002
 
#include "confdefs.h"
 
10652
/* confdefs.h.  */
 
10653
_ACEOF
 
10654
cat confdefs.h >>conftest.$ac_ext
 
10655
cat >>conftest.$ac_ext <<_ACEOF
 
10656
/* end confdefs.h.  */
10003
10657
/* System header to define __stub macros and hopefully few prototypes,
10004
 
    which can conflict with char shmat (); below.  */
10005
 
#include <assert.h>
 
10658
    which can conflict with char shmat (); below.
 
10659
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
10660
    <limits.h> exists even on freestanding compilers.  */
 
10661
#ifdef __STDC__
 
10662
# include <limits.h>
 
10663
#else
 
10664
# include <assert.h>
 
10665
#endif
10006
10666
/* Override any gcc2 internal prototype to avoid an error.  */
10007
10667
#ifdef __cplusplus
10008
10668
extern "C"
 
10669
{
10009
10670
#endif
10010
10671
/* We use char because int might match the return type of a gcc2
10011
10672
   builtin and then its argument prototype would still apply.  */
10012
10673
char shmat ();
10013
 
char (*f) ();
10014
 
 
10015
 
#ifdef F77_DUMMY_MAIN
10016
 
#  ifdef __cplusplus
10017
 
     extern "C"
10018
 
#  endif
10019
 
   int F77_DUMMY_MAIN() { return 1; }
10020
 
#endif
10021
 
int
10022
 
main ()
10023
 
{
10024
10674
/* The GNU C library defines this for functions which it implements
10025
10675
    to always fail with ENOSYS.  Some functions are actually named
10026
10676
    something starting with __ and the normal name is an alias.  */
10027
10677
#if defined (__stub_shmat) || defined (__stub___shmat)
10028
10678
choke me
10029
10679
#else
10030
 
f = shmat;
 
10680
char (*f) () = shmat;
 
10681
#endif
 
10682
#ifdef __cplusplus
 
10683
}
10031
10684
#endif
10032
10685
 
 
10686
int
 
10687
main ()
 
10688
{
 
10689
return f != shmat;
10033
10690
  ;
10034
10691
  return 0;
10035
10692
}
10049
10706
  ac_cv_func_shmat=yes
10050
10707
else
10051
10708
  echo "$as_me: failed program was:" >&5
10052
 
cat conftest.$ac_ext >&5
 
10709
sed 's/^/| /' conftest.$ac_ext >&5
 
10710
 
10053
10711
ac_cv_func_shmat=no
10054
10712
fi
10055
10713
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10067
10725
LIBS="-lipc  $LIBS"
10068
10726
cat >conftest.$ac_ext <<_ACEOF
10069
10727
#line $LINENO "configure"
10070
 
#include "confdefs.h"
 
10728
/* confdefs.h.  */
 
10729
_ACEOF
 
10730
cat confdefs.h >>conftest.$ac_ext
 
10731
cat >>conftest.$ac_ext <<_ACEOF
 
10732
/* end confdefs.h.  */
10071
10733
 
10072
10734
/* Override any gcc2 internal prototype to avoid an error.  */
10073
10735
#ifdef __cplusplus
10076
10738
/* We use char because int might match the return type of a gcc2
10077
10739
   builtin and then its argument prototype would still apply.  */
10078
10740
char shmat ();
10079
 
#ifdef F77_DUMMY_MAIN
10080
 
#  ifdef __cplusplus
10081
 
     extern "C"
10082
 
#  endif
10083
 
   int F77_DUMMY_MAIN() { return 1; }
10084
 
#endif
10085
10741
int
10086
10742
main ()
10087
10743
{
10105
10761
  ac_cv_lib_ipc_shmat=yes
10106
10762
else
10107
10763
  echo "$as_me: failed program was:" >&5
10108
 
cat conftest.$ac_ext >&5
 
10764
sed 's/^/| /' conftest.$ac_ext >&5
 
10765
 
10109
10766
ac_cv_lib_ipc_shmat=no
10110
10767
fi
10111
10768
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10138
10795
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10139
10796
cat >conftest.$ac_ext <<_ACEOF
10140
10797
#line $LINENO "configure"
10141
 
#include "confdefs.h"
 
10798
/* confdefs.h.  */
 
10799
_ACEOF
 
10800
cat confdefs.h >>conftest.$ac_ext
 
10801
cat >>conftest.$ac_ext <<_ACEOF
 
10802
/* end confdefs.h.  */
10142
10803
 
10143
10804
/* Override any gcc2 internal prototype to avoid an error.  */
10144
10805
#ifdef __cplusplus
10147
10808
/* We use char because int might match the return type of a gcc2
10148
10809
   builtin and then its argument prototype would still apply.  */
10149
10810
char IceConnectionNumber ();
10150
 
#ifdef F77_DUMMY_MAIN
10151
 
#  ifdef __cplusplus
10152
 
     extern "C"
10153
 
#  endif
10154
 
   int F77_DUMMY_MAIN() { return 1; }
10155
 
#endif
10156
10811
int
10157
10812
main ()
10158
10813
{
10176
10831
  ac_cv_lib_ICE_IceConnectionNumber=yes
10177
10832
else
10178
10833
  echo "$as_me: failed program was:" >&5
10179
 
cat conftest.$ac_ext >&5
 
10834
sed 's/^/| /' conftest.$ac_ext >&5
 
10835
 
10180
10836
ac_cv_lib_ICE_IceConnectionNumber=no
10181
10837
fi
10182
10838
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10251
10907
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10252
10908
cat >conftest.$ac_ext <<_ACEOF
10253
10909
#line $LINENO "configure"
10254
 
#include "confdefs.h"
 
10910
/* confdefs.h.  */
 
10911
_ACEOF
 
10912
cat confdefs.h >>conftest.$ac_ext
 
10913
cat >>conftest.$ac_ext <<_ACEOF
 
10914
/* end confdefs.h.  */
10255
10915
$ac_includes_default
10256
10916
#include <$ac_header>
10257
10917
_ACEOF
10270
10930
  ac_header_compiler=yes
10271
10931
else
10272
10932
  echo "$as_me: failed program was:" >&5
10273
 
cat conftest.$ac_ext >&5
 
10933
sed 's/^/| /' conftest.$ac_ext >&5
 
10934
 
10274
10935
ac_header_compiler=no
10275
10936
fi
10276
10937
rm -f conftest.$ac_objext conftest.$ac_ext
10282
10943
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10283
10944
cat >conftest.$ac_ext <<_ACEOF
10284
10945
#line $LINENO "configure"
10285
 
#include "confdefs.h"
 
10946
/* confdefs.h.  */
 
10947
_ACEOF
 
10948
cat confdefs.h >>conftest.$ac_ext
 
10949
cat >>conftest.$ac_ext <<_ACEOF
 
10950
/* end confdefs.h.  */
10286
10951
#include <$ac_header>
10287
10952
_ACEOF
10288
10953
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10289
10954
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10290
10955
  ac_status=$?
10291
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
10956
  grep -v '^ *+' conftest.er1 >conftest.err
10292
10957
  rm -f conftest.er1
10293
10958
  cat conftest.err >&5
10294
10959
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10305
10970
  ac_header_preproc=yes
10306
10971
else
10307
10972
  echo "$as_me: failed program was:" >&5
10308
 
  cat conftest.$ac_ext >&5
 
10973
sed 's/^/| /' conftest.$ac_ext >&5
 
10974
 
10309
10975
  ac_header_preproc=no
10310
10976
fi
10311
10977
rm -f conftest.err conftest.$ac_ext
10318
10984
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10319
10985
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10320
10986
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10321
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
 
10987
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
10988
    (
 
10989
      cat <<\_ASBOX
 
10990
## ------------------------------------ ##
 
10991
## Report this to bug-autoconf@gnu.org. ##
 
10992
## ------------------------------------ ##
 
10993
_ASBOX
 
10994
    ) |
 
10995
      sed "s/^/$as_me: WARNING:     /" >&2
 
10996
    ;;
10322
10997
  no:yes )
10323
10998
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10324
10999
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10325
11000
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10326
11001
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10327
11002
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10328
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
 
11003
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
11004
    (
 
11005
      cat <<\_ASBOX
 
11006
## ------------------------------------ ##
 
11007
## Report this to bug-autoconf@gnu.org. ##
 
11008
## ------------------------------------ ##
 
11009
_ASBOX
 
11010
    ) |
 
11011
      sed "s/^/$as_me: WARNING:     /" >&2
 
11012
    ;;
10329
11013
esac
10330
11014
echo "$as_me:$LINENO: checking for $ac_header" >&5
10331
11015
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10358
11042
      LIBS="$sim_ac_dl_libcheck $sim_ac_save_libs"
10359
11043
      cat >conftest.$ac_ext <<_ACEOF
10360
11044
#line $LINENO "configure"
10361
 
#include "confdefs.h"
 
11045
/* confdefs.h.  */
 
11046
_ACEOF
 
11047
cat confdefs.h >>conftest.$ac_ext
 
11048
cat >>conftest.$ac_ext <<_ACEOF
 
11049
/* end confdefs.h.  */
10362
11050
 
10363
11051
#if HAVE_DLFCN_H
10364
11052
#include <dlfcn.h>
10365
11053
#endif /* HAVE_DLFCN_H */
10366
11054
 
10367
 
#ifdef F77_DUMMY_MAIN
10368
 
#  ifdef __cplusplus
10369
 
     extern "C"
10370
 
#  endif
10371
 
   int F77_DUMMY_MAIN() { return 1; }
10372
 
#endif
10373
11055
int
10374
11056
main ()
10375
11057
{
10395
11077
 
10396
11078
else
10397
11079
  echo "$as_me: failed program was:" >&5
10398
 
cat conftest.$ac_ext >&5
 
11080
sed 's/^/| /' conftest.$ac_ext >&5
 
11081
 
10399
11082
fi
10400
11083
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10401
11084
    fi
10463
11146
else
10464
11147
  cat >conftest.$ac_ext <<_ACEOF
10465
11148
#line $LINENO "configure"
10466
 
#include "confdefs.h"
 
11149
/* confdefs.h.  */
 
11150
_ACEOF
 
11151
cat confdefs.h >>conftest.$ac_ext
 
11152
cat >>conftest.$ac_ext <<_ACEOF
 
11153
/* end confdefs.h.  */
10467
11154
#include <X11/Xlib.h>
10468
 
#ifdef F77_DUMMY_MAIN
10469
 
#  ifdef __cplusplus
10470
 
     extern "C"
10471
 
#  endif
10472
 
   int F77_DUMMY_MAIN() { return 1; }
10473
 
#endif
10474
11155
int
10475
11156
main ()
10476
11157
{
10494
11175
  sim_cv_lib_x11_avail=yes
10495
11176
else
10496
11177
  echo "$as_me: failed program was:" >&5
10497
 
cat conftest.$ac_ext >&5
 
11178
sed 's/^/| /' conftest.$ac_ext >&5
 
11179
 
10498
11180
sim_cv_lib_x11_avail=no
10499
11181
fi
10500
11182
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10533
11215
else
10534
11216
  cat >conftest.$ac_ext <<_ACEOF
10535
11217
#line $LINENO "configure"
10536
 
#include "confdefs.h"
 
11218
/* confdefs.h.  */
 
11219
_ACEOF
 
11220
cat confdefs.h >>conftest.$ac_ext
 
11221
cat >>conftest.$ac_ext <<_ACEOF
 
11222
/* end confdefs.h.  */
10537
11223
#include <X11/Xlib.h>
10538
11224
               #include <X11/extensions/XShm.h>
10539
 
#ifdef F77_DUMMY_MAIN
10540
 
#  ifdef __cplusplus
10541
 
     extern "C"
10542
 
#  endif
10543
 
   int F77_DUMMY_MAIN() { return 1; }
10544
 
#endif
10545
11225
int
10546
11226
main ()
10547
11227
{
10565
11245
  sim_cv_lib_x11shmem_avail=yes
10566
11246
else
10567
11247
  echo "$as_me: failed program was:" >&5
10568
 
cat conftest.$ac_ext >&5
 
11248
sed 's/^/| /' conftest.$ac_ext >&5
 
11249
 
10569
11250
sim_cv_lib_x11shmem_avail=no
10570
11251
fi
10571
11252
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10595
11276
else
10596
11277
  cat >conftest.$ac_ext <<_ACEOF
10597
11278
#line $LINENO "configure"
10598
 
#include "confdefs.h"
 
11279
/* confdefs.h.  */
 
11280
_ACEOF
 
11281
cat confdefs.h >>conftest.$ac_ext
 
11282
cat >>conftest.$ac_ext <<_ACEOF
 
11283
/* end confdefs.h.  */
10599
11284
#include <X11/Xlib.h>
10600
11285
                #include <X11/Xmu/Xmu.h>
10601
11286
                #include <X11/Xmu/StdCmap.h>
10602
 
#ifdef F77_DUMMY_MAIN
10603
 
#  ifdef __cplusplus
10604
 
     extern "C"
10605
 
#  endif
10606
 
   int F77_DUMMY_MAIN() { return 1; }
10607
 
#endif
10608
11287
int
10609
11288
main ()
10610
11289
{
10628
11307
  sim_cv_lib_x11mu_avail=yes
10629
11308
else
10630
11309
  echo "$as_me: failed program was:" >&5
10631
 
cat conftest.$ac_ext >&5
 
11310
sed 's/^/| /' conftest.$ac_ext >&5
 
11311
 
10632
11312
sim_cv_lib_x11mu_avail=no
10633
11313
fi
10634
11314
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10658
11338
else
10659
11339
  cat >conftest.$ac_ext <<_ACEOF
10660
11340
#line $LINENO "configure"
10661
 
#include "confdefs.h"
 
11341
/* confdefs.h.  */
 
11342
_ACEOF
 
11343
cat confdefs.h >>conftest.$ac_ext
 
11344
cat >>conftest.$ac_ext <<_ACEOF
 
11345
/* end confdefs.h.  */
10662
11346
#include <X11/extensions/XInput.h>
10663
 
#ifdef F77_DUMMY_MAIN
10664
 
#  ifdef __cplusplus
10665
 
     extern "C"
10666
 
#  endif
10667
 
   int F77_DUMMY_MAIN() { return 1; }
10668
 
#endif
10669
11347
int
10670
11348
main ()
10671
11349
{
10689
11367
  sim_cv_lib_x11xid_avail=yes
10690
11368
else
10691
11369
  echo "$as_me: failed program was:" >&5
10692
 
cat conftest.$ac_ext >&5
 
11370
sed 's/^/| /' conftest.$ac_ext >&5
 
11371
 
10693
11372
sim_cv_lib_x11xid_avail=no
10694
11373
fi
10695
11374
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10778
11457
CPPFLAGS="$CPPFLAGS -framework OpenGL"
10779
11458
cat >conftest.$ac_ext <<_ACEOF
10780
11459
#line $LINENO "configure"
10781
 
#include "confdefs.h"
 
11460
/* confdefs.h.  */
 
11461
_ACEOF
 
11462
cat confdefs.h >>conftest.$ac_ext
 
11463
cat >>conftest.$ac_ext <<_ACEOF
 
11464
/* end confdefs.h.  */
10782
11465
 
10783
 
#ifdef F77_DUMMY_MAIN
10784
 
#  ifdef __cplusplus
10785
 
     extern "C"
10786
 
#  endif
10787
 
   int F77_DUMMY_MAIN() { return 1; }
10788
 
#endif
10789
11466
int
10790
11467
main ()
10791
11468
{
10809
11486
  sim_ac_accept_result=yes
10810
11487
else
10811
11488
  echo "$as_me: failed program was:" >&5
10812
 
cat conftest.$ac_ext >&5
 
11489
sed 's/^/| /' conftest.$ac_ext >&5
 
11490
 
10813
11491
sim_ac_accept_result=no
10814
11492
fi
10815
11493
rm -f conftest.$ac_objext conftest.$ac_ext
10870
11548
 
10871
11549
cat >conftest.$ac_ext <<_ACEOF
10872
11550
#line $LINENO "configure"
10873
 
#include "confdefs.h"
 
11551
/* confdefs.h.  */
 
11552
_ACEOF
 
11553
cat confdefs.h >>conftest.$ac_ext
 
11554
cat >>conftest.$ac_ext <<_ACEOF
 
11555
/* end confdefs.h.  */
10874
11556
#include <GL/gl.h>
10875
11557
_ACEOF
10876
11558
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10877
11559
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10878
11560
  ac_status=$?
10879
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
11561
  grep -v '^ *+' conftest.er1 >conftest.err
10880
11562
  rm -f conftest.er1
10881
11563
  cat conftest.err >&5
10882
11564
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893
11575
  ac_cv_header_GL_gl_h=yes
10894
11576
else
10895
11577
  echo "$as_me: failed program was:" >&5
10896
 
  cat conftest.$ac_ext >&5
 
11578
sed 's/^/| /' conftest.$ac_ext >&5
 
11579
 
10897
11580
  ac_cv_header_GL_gl_h=no
10898
11581
fi
10899
11582
rm -f conftest.err conftest.$ac_ext
10912
11595
 
10913
11596
cat >conftest.$ac_ext <<_ACEOF
10914
11597
#line $LINENO "configure"
10915
 
#include "confdefs.h"
 
11598
/* confdefs.h.  */
 
11599
_ACEOF
 
11600
cat confdefs.h >>conftest.$ac_ext
 
11601
cat >>conftest.$ac_ext <<_ACEOF
 
11602
/* end confdefs.h.  */
10916
11603
#include <OpenGL/gl.h>
10917
11604
_ACEOF
10918
11605
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10919
11606
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10920
11607
  ac_status=$?
10921
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
11608
  grep -v '^ *+' conftest.er1 >conftest.err
10922
11609
  rm -f conftest.er1
10923
11610
  cat conftest.err >&5
10924
11611
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935
11622
  ac_cv_header_OpenGL_gl_h=yes
10936
11623
else
10937
11624
  echo "$as_me: failed program was:" >&5
10938
 
  cat conftest.$ac_ext >&5
 
11625
sed 's/^/| /' conftest.$ac_ext >&5
 
11626
 
10939
11627
  ac_cv_header_OpenGL_gl_h=no
10940
11628
fi
10941
11629
rm -f conftest.err conftest.$ac_ext
11038
11726
      LIBS="$sim_ac_pthreads_libcheck $sim_ac_save_libs"
11039
11727
      cat >conftest.$ac_ext <<_ACEOF
11040
11728
#line $LINENO "configure"
11041
 
#include "confdefs.h"
 
11729
/* confdefs.h.  */
 
11730
_ACEOF
 
11731
cat confdefs.h >>conftest.$ac_ext
 
11732
cat >>conftest.$ac_ext <<_ACEOF
 
11733
/* end confdefs.h.  */
11042
11734
#include <pthread.h>
11043
 
#ifdef F77_DUMMY_MAIN
11044
 
#  ifdef __cplusplus
11045
 
     extern "C"
11046
 
#  endif
11047
 
   int F77_DUMMY_MAIN() { return 1; }
11048
 
#endif
11049
11735
int
11050
11736
main ()
11051
11737
{
11071
11757
 
11072
11758
else
11073
11759
  echo "$as_me: failed program was:" >&5
11074
 
cat conftest.$ac_ext >&5
 
11760
sed 's/^/| /' conftest.$ac_ext >&5
 
11761
 
11075
11762
fi
11076
11763
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11077
11764
    fi
11093
11780
else
11094
11781
  cat >conftest.$ac_ext <<_ACEOF
11095
11782
#line $LINENO "configure"
11096
 
#include "confdefs.h"
 
11783
/* confdefs.h.  */
 
11784
_ACEOF
 
11785
cat confdefs.h >>conftest.$ac_ext
 
11786
cat >>conftest.$ac_ext <<_ACEOF
 
11787
/* end confdefs.h.  */
11097
11788
#include <pthread.h>
11098
 
#ifdef F77_DUMMY_MAIN
11099
 
#  ifdef __cplusplus
11100
 
     extern "C"
11101
 
#  endif
11102
 
   int F77_DUMMY_MAIN() { return 1; }
11103
 
#endif
11104
11789
int
11105
11790
main ()
11106
11791
{
11125
11810
  sim_cv_lib_pthread_timespec_resolution=nsecs
11126
11811
else
11127
11812
  echo "$as_me: failed program was:" >&5
11128
 
cat conftest.$ac_ext >&5
 
11813
sed 's/^/| /' conftest.$ac_ext >&5
 
11814
 
11129
11815
sim_cv_lib_pthread_timespec_resolution=usecs
11130
11816
fi
11131
11817
rm -f conftest.$ac_objext conftest.$ac_ext
11167
11853
          LIBS="$sim_ac_ogl_libcheck $sim_ac_oglchk_pthreadslib $sim_ac_save_libs"
11168
11854
          cat >conftest.$ac_ext <<_ACEOF
11169
11855
#line $LINENO "configure"
11170
 
#include "confdefs.h"
 
11856
/* confdefs.h.  */
 
11857
_ACEOF
 
11858
cat confdefs.h >>conftest.$ac_ext
 
11859
cat >>conftest.$ac_ext <<_ACEOF
 
11860
/* end confdefs.h.  */
11171
11861
#ifdef HAVE_WINDOWS_H
11172
11862
             #include <windows.h>
11173
11863
             #endif
11179
11869
             #include <OpenGL/gl.h>
11180
11870
             #endif
11181
11871
 
11182
 
#ifdef F77_DUMMY_MAIN
11183
 
#  ifdef __cplusplus
11184
 
     extern "C"
11185
 
#  endif
11186
 
   int F77_DUMMY_MAIN() { return 1; }
11187
 
#endif
11188
11872
int
11189
11873
main ()
11190
11874
{
11212
11896
 
11213
11897
else
11214
11898
  echo "$as_me: failed program was:" >&5
11215
 
cat conftest.$ac_ext >&5
 
11899
sed 's/^/| /' conftest.$ac_ext >&5
 
11900
 
11216
11901
fi
11217
11902
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11218
11903
        fi
11270
11955
 
11271
11956
cat >conftest.$ac_ext <<_ACEOF
11272
11957
#line $LINENO "configure"
11273
 
#include "confdefs.h"
 
11958
/* confdefs.h.  */
 
11959
_ACEOF
 
11960
cat confdefs.h >>conftest.$ac_ext
 
11961
cat >>conftest.$ac_ext <<_ACEOF
 
11962
/* end confdefs.h.  */
11274
11963
#include <GL/glu.h>
11275
11964
_ACEOF
11276
11965
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11277
11966
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11278
11967
  ac_status=$?
11279
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
11968
  grep -v '^ *+' conftest.er1 >conftest.err
11280
11969
  rm -f conftest.er1
11281
11970
  cat conftest.err >&5
11282
11971
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11293
11982
  ac_cv_header_GL_glu_h=yes
11294
11983
else
11295
11984
  echo "$as_me: failed program was:" >&5
11296
 
  cat conftest.$ac_ext >&5
 
11985
sed 's/^/| /' conftest.$ac_ext >&5
 
11986
 
11297
11987
  ac_cv_header_GL_glu_h=no
11298
11988
fi
11299
11989
rm -f conftest.err conftest.$ac_ext
11312
12002
 
11313
12003
cat >conftest.$ac_ext <<_ACEOF
11314
12004
#line $LINENO "configure"
11315
 
#include "confdefs.h"
 
12005
/* confdefs.h.  */
 
12006
_ACEOF
 
12007
cat confdefs.h >>conftest.$ac_ext
 
12008
cat >>conftest.$ac_ext <<_ACEOF
 
12009
/* end confdefs.h.  */
11316
12010
#include <OpenGL/glu.h>
11317
12011
_ACEOF
11318
12012
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11319
12013
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11320
12014
  ac_status=$?
11321
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
12015
  grep -v '^ *+' conftest.er1 >conftest.err
11322
12016
  rm -f conftest.er1
11323
12017
  cat conftest.err >&5
11324
12018
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11335
12029
  ac_cv_header_OpenGL_glu_h=yes
11336
12030
else
11337
12031
  echo "$as_me: failed program was:" >&5
11338
 
  cat conftest.$ac_ext >&5
 
12032
sed 's/^/| /' conftest.$ac_ext >&5
 
12033
 
11339
12034
  ac_cv_header_OpenGL_glu_h=no
11340
12035
fi
11341
12036
rm -f conftest.err conftest.$ac_ext
11436
12131
        LIBS="$sim_ac_glu_libcheck $sim_ac_save_libs"
11437
12132
        cat >conftest.$ac_ext <<_ACEOF
11438
12133
#line $LINENO "configure"
11439
 
#include "confdefs.h"
 
12134
/* confdefs.h.  */
 
12135
_ACEOF
 
12136
cat confdefs.h >>conftest.$ac_ext
 
12137
cat >>conftest.$ac_ext <<_ACEOF
 
12138
/* end confdefs.h.  */
11440
12139
 
11441
12140
#ifdef HAVE_WINDOWS_H
11442
12141
#include <windows.h>
11456
12155
#endif
11457
12156
#endif
11458
12157
 
11459
 
#ifdef F77_DUMMY_MAIN
11460
 
#  ifdef __cplusplus
11461
 
     extern "C"
11462
 
#  endif
11463
 
   int F77_DUMMY_MAIN() { return 1; }
11464
 
#endif
11465
12158
int
11466
12159
main ()
11467
12160
{
11490
12183
  sim_cv_lib_glu="$sim_ac_glu_libcheck"
11491
12184
else
11492
12185
  echo "$as_me: failed program was:" >&5
11493
 
cat conftest.$ac_ext >&5
 
12186
sed 's/^/| /' conftest.$ac_ext >&5
 
12187
 
11494
12188
fi
11495
12189
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11496
12190
      fi
11582
12276
    LIBS="$sim_ac_inventor_image_libs $LIBS"
11583
12277
    cat >conftest.$ac_ext <<_ACEOF
11584
12278
#line $LINENO "configure"
11585
 
#include "confdefs.h"
 
12279
/* confdefs.h.  */
 
12280
_ACEOF
 
12281
cat confdefs.h >>conftest.$ac_ext
 
12282
cat >>conftest.$ac_ext <<_ACEOF
 
12283
/* end confdefs.h.  */
11586
12284
 
11587
 
#ifdef F77_DUMMY_MAIN
11588
 
#  ifdef __cplusplus
11589
 
     extern "C"
11590
 
#  endif
11591
 
   int F77_DUMMY_MAIN() { return 1; }
11592
 
#endif
11593
12285
int
11594
12286
main ()
11595
12287
{
11613
12305
  sim_cv_have_inventor_image=true
11614
12306
else
11615
12307
  echo "$as_me: failed program was:" >&5
11616
 
cat conftest.$ac_ext >&5
 
12308
sed 's/^/| /' conftest.$ac_ext >&5
 
12309
 
11617
12310
sim_cv_have_inventor_image=false
11618
12311
fi
11619
12312
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11670
12363
echo $ECHO_N "checking Inventor/SbBasic.h usability... $ECHO_C" >&6
11671
12364
cat >conftest.$ac_ext <<_ACEOF
11672
12365
#line $LINENO "configure"
11673
 
#include "confdefs.h"
 
12366
/* confdefs.h.  */
 
12367
_ACEOF
 
12368
cat confdefs.h >>conftest.$ac_ext
 
12369
cat >>conftest.$ac_ext <<_ACEOF
 
12370
/* end confdefs.h.  */
11674
12371
$ac_includes_default
11675
12372
#include <Inventor/SbBasic.h>
11676
12373
_ACEOF
11689
12386
  ac_header_compiler=yes
11690
12387
else
11691
12388
  echo "$as_me: failed program was:" >&5
11692
 
cat conftest.$ac_ext >&5
 
12389
sed 's/^/| /' conftest.$ac_ext >&5
 
12390
 
11693
12391
ac_header_compiler=no
11694
12392
fi
11695
12393
rm -f conftest.$ac_objext conftest.$ac_ext
11701
12399
echo $ECHO_N "checking Inventor/SbBasic.h presence... $ECHO_C" >&6
11702
12400
cat >conftest.$ac_ext <<_ACEOF
11703
12401
#line $LINENO "configure"
11704
 
#include "confdefs.h"
 
12402
/* confdefs.h.  */
 
12403
_ACEOF
 
12404
cat confdefs.h >>conftest.$ac_ext
 
12405
cat >>conftest.$ac_ext <<_ACEOF
 
12406
/* end confdefs.h.  */
11705
12407
#include <Inventor/SbBasic.h>
11706
12408
_ACEOF
11707
12409
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11708
12410
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11709
12411
  ac_status=$?
11710
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
12412
  grep -v '^ *+' conftest.er1 >conftest.err
11711
12413
  rm -f conftest.er1
11712
12414
  cat conftest.err >&5
11713
12415
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724
12426
  ac_header_preproc=yes
11725
12427
else
11726
12428
  echo "$as_me: failed program was:" >&5
11727
 
  cat conftest.$ac_ext >&5
 
12429
sed 's/^/| /' conftest.$ac_ext >&5
 
12430
 
11728
12431
  ac_header_preproc=no
11729
12432
fi
11730
12433
rm -f conftest.err conftest.$ac_ext
11737
12440
    { echo "$as_me:$LINENO: WARNING: Inventor/SbBasic.h: accepted by the compiler, rejected by the preprocessor!" >&5
11738
12441
echo "$as_me: WARNING: Inventor/SbBasic.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11739
12442
    { echo "$as_me:$LINENO: WARNING: Inventor/SbBasic.h: proceeding with the preprocessor's result" >&5
11740
 
echo "$as_me: WARNING: Inventor/SbBasic.h: proceeding with the preprocessor's result" >&2;};;
 
12443
echo "$as_me: WARNING: Inventor/SbBasic.h: proceeding with the preprocessor's result" >&2;}
 
12444
    (
 
12445
      cat <<\_ASBOX
 
12446
## ------------------------------------ ##
 
12447
## Report this to bug-autoconf@gnu.org. ##
 
12448
## ------------------------------------ ##
 
12449
_ASBOX
 
12450
    ) |
 
12451
      sed "s/^/$as_me: WARNING:     /" >&2
 
12452
    ;;
11741
12453
  no:yes )
11742
12454
    { echo "$as_me:$LINENO: WARNING: Inventor/SbBasic.h: present but cannot be compiled" >&5
11743
12455
echo "$as_me: WARNING: Inventor/SbBasic.h: present but cannot be compiled" >&2;}
11744
12456
    { echo "$as_me:$LINENO: WARNING: Inventor/SbBasic.h: check for missing prerequisite headers?" >&5
11745
12457
echo "$as_me: WARNING: Inventor/SbBasic.h: check for missing prerequisite headers?" >&2;}
11746
12458
    { echo "$as_me:$LINENO: WARNING: Inventor/SbBasic.h: proceeding with the preprocessor's result" >&5
11747
 
echo "$as_me: WARNING: Inventor/SbBasic.h: proceeding with the preprocessor's result" >&2;};;
 
12459
echo "$as_me: WARNING: Inventor/SbBasic.h: proceeding with the preprocessor's result" >&2;}
 
12460
    (
 
12461
      cat <<\_ASBOX
 
12462
## ------------------------------------ ##
 
12463
## Report this to bug-autoconf@gnu.org. ##
 
12464
## ------------------------------------ ##
 
12465
_ASBOX
 
12466
    ) |
 
12467
      sed "s/^/$as_me: WARNING:     /" >&2
 
12468
    ;;
11748
12469
esac
11749
12470
echo "$as_me:$LINENO: checking for Inventor/SbBasic.h" >&5
11750
12471
echo $ECHO_N "checking for Inventor/SbBasic.h... $ECHO_C" >&6
11823
12544
        LIBS="$sim_ac_iv_libcheck $sim_ac_inventor_image_libs $sim_ac_save_LIBS"
11824
12545
        cat >conftest.$ac_ext <<_ACEOF
11825
12546
#line $LINENO "configure"
11826
 
#include "confdefs.h"
 
12547
/* confdefs.h.  */
 
12548
_ACEOF
 
12549
cat confdefs.h >>conftest.$ac_ext
 
12550
cat >>conftest.$ac_ext <<_ACEOF
 
12551
/* end confdefs.h.  */
11827
12552
#include <Inventor/SoDB.h>
11828
 
#ifdef F77_DUMMY_MAIN
11829
 
#  ifdef __cplusplus
11830
 
     extern "C"
11831
 
#  endif
11832
 
   int F77_DUMMY_MAIN() { return 1; }
11833
 
#endif
11834
12553
int
11835
12554
main ()
11836
12555
{
11855
12574
                     sim_ac_inventor_cppflags="$sim_ac_iv_cppflags_loop $sim_ac_inventor_cppflags"
11856
12575
else
11857
12576
  echo "$as_me: failed program was:" >&5
11858
 
cat conftest.$ac_ext >&5
 
12577
sed 's/^/| /' conftest.$ac_ext >&5
 
12578
 
11859
12579
fi
11860
12580
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11861
12581
      fi
11928
12648
 
11929
12649
cat >conftest.$ac_ext <<_ACEOF
11930
12650
#line $LINENO "configure"
11931
 
#include "confdefs.h"
 
12651
/* confdefs.h.  */
 
12652
_ACEOF
 
12653
cat confdefs.h >>conftest.$ac_ext
 
12654
cat >>conftest.$ac_ext <<_ACEOF
 
12655
/* end confdefs.h.  */
11932
12656
#include <GL/gl.h>
11933
12657
_ACEOF
11934
12658
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11935
12659
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11936
12660
  ac_status=$?
11937
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
12661
  grep -v '^ *+' conftest.er1 >conftest.err
11938
12662
  rm -f conftest.er1
11939
12663
  cat conftest.err >&5
11940
12664
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951
12675
  ac_cv_header_GL_gl_h=yes
11952
12676
else
11953
12677
  echo "$as_me: failed program was:" >&5
11954
 
  cat conftest.$ac_ext >&5
 
12678
sed 's/^/| /' conftest.$ac_ext >&5
 
12679
 
11955
12680
  ac_cv_header_GL_gl_h=no
11956
12681
fi
11957
12682
rm -f conftest.err conftest.$ac_ext
11970
12695
 
11971
12696
cat >conftest.$ac_ext <<_ACEOF
11972
12697
#line $LINENO "configure"
11973
 
#include "confdefs.h"
 
12698
/* confdefs.h.  */
 
12699
_ACEOF
 
12700
cat confdefs.h >>conftest.$ac_ext
 
12701
cat >>conftest.$ac_ext <<_ACEOF
 
12702
/* end confdefs.h.  */
11974
12703
#include <OpenGL/gl.h>
11975
12704
_ACEOF
11976
12705
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11977
12706
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11978
12707
  ac_status=$?
11979
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
12708
  grep -v '^ *+' conftest.er1 >conftest.err
11980
12709
  rm -f conftest.er1
11981
12710
  cat conftest.err >&5
11982
12711
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11993
12722
  ac_cv_header_OpenGL_gl_h=yes
11994
12723
else
11995
12724
  echo "$as_me: failed program was:" >&5
11996
 
  cat conftest.$ac_ext >&5
 
12725
sed 's/^/| /' conftest.$ac_ext >&5
 
12726
 
11997
12727
  ac_cv_header_OpenGL_gl_h=no
11998
12728
fi
11999
12729
rm -f conftest.err conftest.$ac_ext
12158
12888
 
12159
12889
      cat >conftest.$ac_ext <<_ACEOF
12160
12890
#line $LINENO "configure"
12161
 
#include "confdefs.h"
 
12891
/* confdefs.h.  */
 
12892
_ACEOF
 
12893
cat confdefs.h >>conftest.$ac_ext
 
12894
cat >>conftest.$ac_ext <<_ACEOF
 
12895
/* end confdefs.h.  */
12162
12896
#include <Inventor/SoDB.h>
12163
 
#ifdef F77_DUMMY_MAIN
12164
 
#  ifdef __cplusplus
12165
 
     extern "C"
12166
 
#  endif
12167
 
   int F77_DUMMY_MAIN() { return 1; }
12168
 
#endif
12169
12897
int
12170
12898
main ()
12171
12899
{
12189
12917
  sim_cv_coin_avail=true
12190
12918
else
12191
12919
  echo "$as_me: failed program was:" >&5
12192
 
cat conftest.$ac_ext >&5
 
12920
sed 's/^/| /' conftest.$ac_ext >&5
 
12921
 
12193
12922
sim_cv_coin_avail=false
12194
12923
fi
12195
12924
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12239
12968
else
12240
12969
  cat >conftest.$ac_ext <<_ACEOF
12241
12970
#line $LINENO "configure"
12242
 
#include "confdefs.h"
 
12971
/* confdefs.h.  */
 
12972
_ACEOF
 
12973
cat confdefs.h >>conftest.$ac_ext
 
12974
cat >>conftest.$ac_ext <<_ACEOF
 
12975
/* end confdefs.h.  */
12243
12976
#include <X11/Xlib.h>
12244
 
#ifdef F77_DUMMY_MAIN
12245
 
#  ifdef __cplusplus
12246
 
     extern "C"
12247
 
#  endif
12248
 
   int F77_DUMMY_MAIN() { return 1; }
12249
 
#endif
12250
12977
int
12251
12978
main ()
12252
12979
{
12270
12997
  sim_cv_x11_ready=true
12271
12998
else
12272
12999
  echo "$as_me: failed program was:" >&5
12273
 
cat conftest.$ac_ext >&5
 
13000
sed 's/^/| /' conftest.$ac_ext >&5
 
13001
 
12274
13002
sim_cv_x11_ready=false
12275
13003
fi
12276
13004
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12319
13047
else
12320
13048
  cat >conftest.$ac_ext <<_ACEOF
12321
13049
#line $LINENO "configure"
12322
 
#include "confdefs.h"
 
13050
/* confdefs.h.  */
 
13051
_ACEOF
 
13052
cat confdefs.h >>conftest.$ac_ext
 
13053
cat >>conftest.$ac_ext <<_ACEOF
 
13054
/* end confdefs.h.  */
12323
13055
#include <X11/Xlib.h>
12324
 
#ifdef F77_DUMMY_MAIN
12325
 
#  ifdef __cplusplus
12326
 
     extern "C"
12327
 
#  endif
12328
 
   int F77_DUMMY_MAIN() { return 1; }
12329
 
#endif
12330
13056
int
12331
13057
main ()
12332
13058
{
12350
13076
  sim_cv_lib_x11_avail=yes
12351
13077
else
12352
13078
  echo "$as_me: failed program was:" >&5
12353
 
cat conftest.$ac_ext >&5
 
13079
sed 's/^/| /' conftest.$ac_ext >&5
 
13080
 
12354
13081
sim_cv_lib_x11_avail=no
12355
13082
fi
12356
13083
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12394
13121
else
12395
13122
  cat >conftest.$ac_ext <<_ACEOF
12396
13123
#line $LINENO "configure"
12397
 
#include "confdefs.h"
 
13124
/* confdefs.h.  */
 
13125
_ACEOF
 
13126
cat confdefs.h >>conftest.$ac_ext
 
13127
cat >>conftest.$ac_ext <<_ACEOF
 
13128
/* end confdefs.h.  */
12398
13129
#include <X11/Xlib.h>
12399
13130
               #include <X11/extensions/XShm.h>
12400
 
#ifdef F77_DUMMY_MAIN
12401
 
#  ifdef __cplusplus
12402
 
     extern "C"
12403
 
#  endif
12404
 
   int F77_DUMMY_MAIN() { return 1; }
12405
 
#endif
12406
13131
int
12407
13132
main ()
12408
13133
{
12426
13151
  sim_cv_lib_x11shmem_avail=yes
12427
13152
else
12428
13153
  echo "$as_me: failed program was:" >&5
12429
 
cat conftest.$ac_ext >&5
 
13154
sed 's/^/| /' conftest.$ac_ext >&5
 
13155
 
12430
13156
sim_cv_lib_x11shmem_avail=no
12431
13157
fi
12432
13158
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12459
13185
else
12460
13186
  cat >conftest.$ac_ext <<_ACEOF
12461
13187
#line $LINENO "configure"
12462
 
#include "confdefs.h"
 
13188
/* confdefs.h.  */
 
13189
_ACEOF
 
13190
cat confdefs.h >>conftest.$ac_ext
 
13191
cat >>conftest.$ac_ext <<_ACEOF
 
13192
/* end confdefs.h.  */
12463
13193
#include <X11/Xlib.h>
12464
13194
                #include <X11/Xmu/Xmu.h>
12465
13195
                #include <X11/Xmu/StdCmap.h>
12466
 
#ifdef F77_DUMMY_MAIN
12467
 
#  ifdef __cplusplus
12468
 
     extern "C"
12469
 
#  endif
12470
 
   int F77_DUMMY_MAIN() { return 1; }
12471
 
#endif
12472
13196
int
12473
13197
main ()
12474
13198
{
12492
13216
  sim_cv_lib_x11mu_avail=yes
12493
13217
else
12494
13218
  echo "$as_me: failed program was:" >&5
12495
 
cat conftest.$ac_ext >&5
 
13219
sed 's/^/| /' conftest.$ac_ext >&5
 
13220
 
12496
13221
sim_cv_lib_x11mu_avail=no
12497
13222
fi
12498
13223
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12527
13252
else
12528
13253
  cat >conftest.$ac_ext <<_ACEOF
12529
13254
#line $LINENO "configure"
12530
 
#include "confdefs.h"
 
13255
/* confdefs.h.  */
 
13256
_ACEOF
 
13257
cat confdefs.h >>conftest.$ac_ext
 
13258
cat >>conftest.$ac_ext <<_ACEOF
 
13259
/* end confdefs.h.  */
12531
13260
#include <X11/extensions/XInput.h>
12532
 
#ifdef F77_DUMMY_MAIN
12533
 
#  ifdef __cplusplus
12534
 
     extern "C"
12535
 
#  endif
12536
 
   int F77_DUMMY_MAIN() { return 1; }
12537
 
#endif
12538
13261
int
12539
13262
main ()
12540
13263
{
12558
13281
  sim_cv_lib_x11xid_avail=yes
12559
13282
else
12560
13283
  echo "$as_me: failed program was:" >&5
12561
 
cat conftest.$ac_ext >&5
 
13284
sed 's/^/| /' conftest.$ac_ext >&5
 
13285
 
12562
13286
sim_cv_lib_x11xid_avail=no
12563
13287
fi
12564
13288
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12592
13316
else
12593
13317
  cat >conftest.$ac_ext <<_ACEOF
12594
13318
#line $LINENO "configure"
12595
 
#include "confdefs.h"
 
13319
/* confdefs.h.  */
 
13320
_ACEOF
 
13321
cat confdefs.h >>conftest.$ac_ext
 
13322
cat >>conftest.$ac_ext <<_ACEOF
 
13323
/* end confdefs.h.  */
12596
13324
 
12597
13325
#include <GL/glx.h>
12598
13326
#include <GL/gl.h>
12599
13327
 
12600
 
#ifdef F77_DUMMY_MAIN
12601
 
#  ifdef __cplusplus
12602
 
     extern "C"
12603
 
#  endif
12604
 
   int F77_DUMMY_MAIN() { return 1; }
12605
 
#endif
12606
13328
int
12607
13329
main ()
12608
13330
{
12631
13353
  sim_cv_have_glx=true
12632
13354
else
12633
13355
  echo "$as_me: failed program was:" >&5
12634
 
cat conftest.$ac_ext >&5
 
13356
sed 's/^/| /' conftest.$ac_ext >&5
 
13357
 
12635
13358
sim_cv_have_glx=false
12636
13359
fi
12637
13360
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12662
13385
else
12663
13386
  cat >conftest.$ac_ext <<_ACEOF
12664
13387
#line $LINENO "configure"
12665
 
#include "confdefs.h"
 
13388
/* confdefs.h.  */
 
13389
_ACEOF
 
13390
cat confdefs.h >>conftest.$ac_ext
 
13391
cat >>conftest.$ac_ext <<_ACEOF
 
13392
/* end confdefs.h.  */
12666
13393
#include <X11/Xlib.h>
12667
 
#ifdef F77_DUMMY_MAIN
12668
 
#  ifdef __cplusplus
12669
 
     extern "C"
12670
 
#  endif
12671
 
   int F77_DUMMY_MAIN() { return 1; }
12672
 
#endif
12673
13394
int
12674
13395
main ()
12675
13396
{
12693
13414
  sim_cv_x11_ready=true
12694
13415
else
12695
13416
  echo "$as_me: failed program was:" >&5
12696
 
cat conftest.$ac_ext >&5
 
13417
sed 's/^/| /' conftest.$ac_ext >&5
 
13418
 
12697
13419
sim_cv_x11_ready=false
12698
13420
fi
12699
13421
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12721
13443
else
12722
13444
  cat >conftest.$ac_ext <<_ACEOF
12723
13445
#line $LINENO "configure"
12724
 
#include "confdefs.h"
 
13446
/* confdefs.h.  */
 
13447
_ACEOF
 
13448
cat confdefs.h >>conftest.$ac_ext
 
13449
cat >>conftest.$ac_ext <<_ACEOF
 
13450
/* end confdefs.h.  */
12725
13451
#include <Inventor/nodes/SoPolygonOffset.h>
12726
 
#ifdef F77_DUMMY_MAIN
12727
 
#  ifdef __cplusplus
12728
 
     extern "C"
12729
 
#  endif
12730
 
   int F77_DUMMY_MAIN() { return 1; }
12731
 
#endif
12732
13452
int
12733
13453
main ()
12734
13454
{
12752
13472
  sim_cv_have_oiv_sopolygonoffset_node=true
12753
13473
else
12754
13474
  echo "$as_me: failed program was:" >&5
12755
 
cat conftest.$ac_ext >&5
 
13475
sed 's/^/| /' conftest.$ac_ext >&5
 
13476
 
12756
13477
sim_cv_have_oiv_sopolygonoffset_node=false
12757
13478
fi
12758
13479
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12781
13502
else
12782
13503
  cat >conftest.$ac_ext <<_ACEOF
12783
13504
#line $LINENO "configure"
12784
 
#include "confdefs.h"
 
13505
/* confdefs.h.  */
 
13506
_ACEOF
 
13507
cat confdefs.h >>conftest.$ac_ext
 
13508
cat >>conftest.$ac_ext <<_ACEOF
 
13509
/* end confdefs.h.  */
12785
13510
#include <Inventor/events/SoKeyboardEvent.h>
12786
 
#ifdef F77_DUMMY_MAIN
12787
 
#  ifdef __cplusplus
12788
 
     extern "C"
12789
 
#  endif
12790
 
   int F77_DUMMY_MAIN() { return 1; }
12791
 
#endif
12792
13511
int
12793
13512
main ()
12794
13513
{
12814
13533
  sim_cv_have_oiv_have_sokeyboardevent_delete=true
12815
13534
else
12816
13535
  echo "$as_me: failed program was:" >&5
12817
 
cat conftest.$ac_ext >&5
 
13536
sed 's/^/| /' conftest.$ac_ext >&5
 
13537
 
12818
13538
sim_cv_have_oiv_have_sokeyboardevent_delete=false
12819
13539
fi
12820
13540
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12843
13563
else
12844
13564
  cat >conftest.$ac_ext <<_ACEOF
12845
13565
#line $LINENO "configure"
12846
 
#include "confdefs.h"
 
13566
/* confdefs.h.  */
 
13567
_ACEOF
 
13568
cat confdefs.h >>conftest.$ac_ext
 
13569
cat >>conftest.$ac_ext <<_ACEOF
 
13570
/* end confdefs.h.  */
12847
13571
#include <Inventor/events/SoMouseButtonEvent.h>
12848
 
#ifdef F77_DUMMY_MAIN
12849
 
#  ifdef __cplusplus
12850
 
     extern "C"
12851
 
#  endif
12852
 
   int F77_DUMMY_MAIN() { return 1; }
12853
 
#endif
12854
13572
int
12855
13573
main ()
12856
13574
{
12876
13594
  sim_cv_have_oiv_have_somousebuttonevent_button5=true
12877
13595
else
12878
13596
  echo "$as_me: failed program was:" >&5
12879
 
cat conftest.$ac_ext >&5
 
13597
sed 's/^/| /' conftest.$ac_ext >&5
 
13598
 
12880
13599
sim_cv_have_oiv_have_somousebuttonevent_button5=false
12881
13600
fi
12882
13601
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12905
13624
else
12906
13625
  cat >conftest.$ac_ext <<_ACEOF
12907
13626
#line $LINENO "configure"
12908
 
#include "confdefs.h"
 
13627
/* confdefs.h.  */
 
13628
_ACEOF
 
13629
cat confdefs.h >>conftest.$ac_ext
 
13630
cat >>conftest.$ac_ext <<_ACEOF
 
13631
/* end confdefs.h.  */
12909
13632
#include <Inventor/nodes/SoPerspectiveCamera.h>
12910
 
#ifdef F77_DUMMY_MAIN
12911
 
#  ifdef __cplusplus
12912
 
     extern "C"
12913
 
#  endif
12914
 
   int F77_DUMMY_MAIN() { return 1; }
12915
 
#endif
12916
13633
int
12917
13634
main ()
12918
13635
{
12938
13655
  sim_cv_have_oiv_have_socamera_setstereomode=true
12939
13656
else
12940
13657
  echo "$as_me: failed program was:" >&5
12941
 
cat conftest.$ac_ext >&5
 
13658
sed 's/^/| /' conftest.$ac_ext >&5
 
13659
 
12942
13660
sim_cv_have_oiv_have_socamera_setstereomode=false
12943
13661
fi
12944
13662
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12990
13708
echo $ECHO_N "checking for Open Inventor extension library $sim_ac_iv_extension... $ECHO_C" >&6
12991
13709
    cat >conftest.$ac_ext <<_ACEOF
12992
13710
#line $LINENO "configure"
12993
 
#include "confdefs.h"
 
13711
/* confdefs.h.  */
 
13712
_ACEOF
 
13713
cat confdefs.h >>conftest.$ac_ext
 
13714
cat >>conftest.$ac_ext <<_ACEOF
 
13715
/* end confdefs.h.  */
12994
13716
#include <Inventor/SoDB.h>
12995
 
#ifdef F77_DUMMY_MAIN
12996
 
#  ifdef __cplusplus
12997
 
     extern "C"
12998
 
#  endif
12999
 
   int F77_DUMMY_MAIN() { return 1; }
13000
 
#endif
13001
13717
int
13002
13718
main ()
13003
13719
{
13023
13739
echo "${ECHO_T}linkable" >&6
13024
13740
else
13025
13741
  echo "$as_me: failed program was:" >&5
13026
 
cat conftest.$ac_ext >&5
 
13742
sed 's/^/| /' conftest.$ac_ext >&5
 
13743
 
13027
13744
echo "$as_me:$LINENO: result: unlinkable - discarded" >&5
13028
13745
echo "${ECHO_T}unlinkable - discarded" >&6
13029
13746
fi
13034
13751
echo $ECHO_N "checking for Open Inventor extension $sim_ac_iv_extension... $ECHO_C" >&6
13035
13752
    cat >conftest.$ac_ext <<_ACEOF
13036
13753
#line $LINENO "configure"
13037
 
#include "confdefs.h"
 
13754
/* confdefs.h.  */
 
13755
_ACEOF
 
13756
cat confdefs.h >>conftest.$ac_ext
 
13757
cat >>conftest.$ac_ext <<_ACEOF
 
13758
/* end confdefs.h.  */
13038
13759
#include <Inventor/SoDB.h>
13039
13760
// hack up a declaration and see if the mangled name is found by the linker
13040
13761
class $sim_ac_iv_extension {
13041
13762
public:
13042
13763
static void initClass(void);
13043
13764
};
13044
 
#ifdef F77_DUMMY_MAIN
13045
 
#  ifdef __cplusplus
13046
 
     extern "C"
13047
 
#  endif
13048
 
   int F77_DUMMY_MAIN() { return 1; }
13049
 
#endif
13050
13765
int
13051
13766
main ()
13052
13767
{
13077
13792
 
13078
13793
else
13079
13794
  echo "$as_me: failed program was:" >&5
13080
 
cat conftest.$ac_ext >&5
 
13795
sed 's/^/| /' conftest.$ac_ext >&5
 
13796
 
13081
13797
 
13082
13798
  echo "$as_me:$LINENO: result: not found" >&5
13083
13799
echo "${ECHO_T}not found" >&6
13130
13846
else
13131
13847
  cat >conftest.$ac_ext <<_ACEOF
13132
13848
#line $LINENO "configure"
13133
 
#include "confdefs.h"
 
13849
/* confdefs.h.  */
 
13850
_ACEOF
 
13851
cat confdefs.h >>conftest.$ac_ext
 
13852
cat >>conftest.$ac_ext <<_ACEOF
 
13853
/* end confdefs.h.  */
13134
13854
#include <X11/Xlib.h>
13135
13855
                #include <X11/Xmu/Xmu.h>
13136
13856
                #include <X11/Xmu/StdCmap.h>
13137
 
#ifdef F77_DUMMY_MAIN
13138
 
#  ifdef __cplusplus
13139
 
     extern "C"
13140
 
#  endif
13141
 
   int F77_DUMMY_MAIN() { return 1; }
13142
 
#endif
13143
13857
int
13144
13858
main ()
13145
13859
{
13163
13877
  sim_cv_lib_x11mu_avail=yes
13164
13878
else
13165
13879
  echo "$as_me: failed program was:" >&5
13166
 
cat conftest.$ac_ext >&5
 
13880
sed 's/^/| /' conftest.$ac_ext >&5
 
13881
 
13167
13882
sim_cv_lib_x11mu_avail=no
13168
13883
fi
13169
13884
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13350
14065
 
13351
14066
cat >conftest.$ac_ext <<_ACEOF
13352
14067
#line $LINENO "configure"
13353
 
#include "confdefs.h"
 
14068
/* confdefs.h.  */
 
14069
_ACEOF
 
14070
cat confdefs.h >>conftest.$ac_ext
 
14071
cat >>conftest.$ac_ext <<_ACEOF
 
14072
/* end confdefs.h.  */
13354
14073
#include <qglobal.h>
13355
14074
_ACEOF
13356
14075
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13357
14076
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13358
14077
  ac_status=$?
13359
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
14078
  grep -v '^ *+' conftest.er1 >conftest.err
13360
14079
  rm -f conftest.er1
13361
14080
  cat conftest.err >&5
13362
14081
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13373
14092
  ac_cv_header_qglobal_h=yes
13374
14093
else
13375
14094
  echo "$as_me: failed program was:" >&5
13376
 
  cat conftest.$ac_ext >&5
 
14095
sed 's/^/| /' conftest.$ac_ext >&5
 
14096
 
13377
14097
  ac_cv_header_qglobal_h=no
13378
14098
fi
13379
14099
rm -f conftest.err conftest.$ac_ext
13388
14108
 
13389
14109
cat >conftest.$ac_ext <<_ACEOF
13390
14110
#line $LINENO "configure"
13391
 
#include "confdefs.h"
 
14111
/* confdefs.h.  */
 
14112
_ACEOF
 
14113
cat confdefs.h >>conftest.$ac_ext
 
14114
cat >>conftest.$ac_ext <<_ACEOF
 
14115
/* end confdefs.h.  */
13392
14116
#include <qglobal.h>
13393
14117
_ACEOF
13394
14118
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13395
14119
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13396
14120
  ac_status=$?
13397
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
14121
  grep -v '^ *+' conftest.er1 >conftest.err
13398
14122
  rm -f conftest.er1
13399
14123
  cat conftest.err >&5
13400
14124
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13411
14135
  ac_cv_header_qglobal_h=yes
13412
14136
else
13413
14137
  echo "$as_me: failed program was:" >&5
13414
 
  cat conftest.$ac_ext >&5
 
14138
sed 's/^/| /' conftest.$ac_ext >&5
 
14139
 
13415
14140
  ac_cv_header_qglobal_h=no
13416
14141
fi
13417
14142
rm -f conftest.err conftest.$ac_ext
13506
14231
  # Qt/X11 is currently not supported on Mac OS X.
13507
14232
    cat >conftest.$ac_ext <<_ACEOF
13508
14233
#line $LINENO "configure"
13509
 
#include "confdefs.h"
 
14234
/* confdefs.h.  */
 
14235
_ACEOF
 
14236
cat confdefs.h >>conftest.$ac_ext
 
14237
cat >>conftest.$ac_ext <<_ACEOF
 
14238
/* end confdefs.h.  */
13510
14239
#include <qapplication.h>
13511
 
#ifdef F77_DUMMY_MAIN
13512
 
#  ifdef __cplusplus
13513
 
     extern "C"
13514
 
#  endif
13515
 
   int F77_DUMMY_MAIN() { return 1; }
13516
 
#endif
13517
14240
int
13518
14241
main ()
13519
14242
{
13539
14262
  :
13540
14263
else
13541
14264
  echo "$as_me: failed program was:" >&5
13542
 
cat conftest.$ac_ext >&5
 
14265
sed 's/^/| /' conftest.$ac_ext >&5
 
14266
 
13543
14267
 
13544
14268
echo >&2 ""
13545
14269
 
13617
14341
        LIBS="$CONFIG_QTLIBS $sim_ac_save_libs"
13618
14342
        cat >conftest.$ac_ext <<_ACEOF
13619
14343
#line $LINENO "configure"
13620
 
#include "confdefs.h"
 
14344
/* confdefs.h.  */
 
14345
_ACEOF
 
14346
cat confdefs.h >>conftest.$ac_ext
 
14347
cat >>conftest.$ac_ext <<_ACEOF
 
14348
/* end confdefs.h.  */
13621
14349
#include <qapplication.h>
13622
 
#ifdef F77_DUMMY_MAIN
13623
 
#  ifdef __cplusplus
13624
 
     extern "C"
13625
 
#  endif
13626
 
   int F77_DUMMY_MAIN() { return 1; }
13627
 
#endif
13628
14350
int
13629
14351
main ()
13630
14352
{
13650
14372
                     sim_ac_qt_cppflags="$sim_ac_qt_incflags $sim_ac_qt_cppflags_loop"
13651
14373
else
13652
14374
  echo "$as_me: failed program was:" >&5
13653
 
cat conftest.$ac_ext >&5
 
14375
sed 's/^/| /' conftest.$ac_ext >&5
 
14376
 
13654
14377
fi
13655
14378
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13656
14379
      done
13728
14451
            LIBS="$sim_ac_qt_libcheck $sim_ac_save_libs"
13729
14452
            cat >conftest.$ac_ext <<_ACEOF
13730
14453
#line $LINENO "configure"
13731
 
#include "confdefs.h"
 
14454
/* confdefs.h.  */
 
14455
_ACEOF
 
14456
cat confdefs.h >>conftest.$ac_ext
 
14457
cat >>conftest.$ac_ext <<_ACEOF
 
14458
/* end confdefs.h.  */
13732
14459
#include <qapplication.h>
13733
 
#ifdef F77_DUMMY_MAIN
13734
 
#  ifdef __cplusplus
13735
 
     extern "C"
13736
 
#  endif
13737
 
   int F77_DUMMY_MAIN() { return 1; }
13738
 
#endif
13739
14460
int
13740
14461
main ()
13741
14462
{
13761
14482
                         sim_ac_qt_cppflags="$sim_ac_qt_incflags $sim_ac_qt_cppflags_loop"
13762
14483
else
13763
14484
  echo "$as_me: failed program was:" >&5
13764
 
cat conftest.$ac_ext >&5
 
14485
sed 's/^/| /' conftest.$ac_ext >&5
 
14486
 
13765
14487
fi
13766
14488
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13767
14489
          fi
13840
14562
else
13841
14563
  cat >conftest.$ac_ext <<_ACEOF
13842
14564
#line $LINENO "configure"
13843
 
#include "confdefs.h"
 
14565
/* confdefs.h.  */
 
14566
_ACEOF
 
14567
cat confdefs.h >>conftest.$ac_ext
 
14568
cat >>conftest.$ac_ext <<_ACEOF
 
14569
/* end confdefs.h.  */
13844
14570
#include <qgl.h>
13845
 
#ifdef F77_DUMMY_MAIN
13846
 
#  ifdef __cplusplus
13847
 
     extern "C"
13848
 
#  endif
13849
 
   int F77_DUMMY_MAIN() { return 1; }
13850
 
#endif
13851
14571
int
13852
14572
main ()
13853
14573
{
13871
14591
  sim_cv_lib_qgl_integrated=yes
13872
14592
else
13873
14593
  echo "$as_me: failed program was:" >&5
13874
 
cat conftest.$ac_ext >&5
 
14594
sed 's/^/| /' conftest.$ac_ext >&5
 
14595
 
13875
14596
sim_cv_lib_qgl_integrated=no
13876
14597
fi
13877
14598
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13899
14620
        LIBS="$sim_ac_qgl_libcheck $sim_ac_save_LIBS"
13900
14621
        cat >conftest.$ac_ext <<_ACEOF
13901
14622
#line $LINENO "configure"
13902
 
#include "confdefs.h"
 
14623
/* confdefs.h.  */
 
14624
_ACEOF
 
14625
cat confdefs.h >>conftest.$ac_ext
 
14626
cat >>conftest.$ac_ext <<_ACEOF
 
14627
/* end confdefs.h.  */
13903
14628
#include <qgl.h>
13904
 
#ifdef F77_DUMMY_MAIN
13905
 
#  ifdef __cplusplus
13906
 
     extern "C"
13907
 
#  endif
13908
 
   int F77_DUMMY_MAIN() { return 1; }
13909
 
#endif
13910
14629
int
13911
14630
main ()
13912
14631
{
13930
14649
  sim_ac_qgl_libs="$sim_ac_qgl_libcheck"
13931
14650
else
13932
14651
  echo "$as_me: failed program was:" >&5
13933
 
cat conftest.$ac_ext >&5
 
14652
sed 's/^/| /' conftest.$ac_ext >&5
 
14653
 
13934
14654
fi
13935
14655
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13936
14656
      fi
13993
14713
else
13994
14714
  cat >conftest.$ac_ext <<_ACEOF
13995
14715
#line $LINENO "configure"
13996
 
#include "confdefs.h"
 
14716
/* confdefs.h.  */
 
14717
_ACEOF
 
14718
cat confdefs.h >>conftest.$ac_ext
 
14719
cat >>conftest.$ac_ext <<_ACEOF
 
14720
/* end confdefs.h.  */
13997
14721
#include <qkeycode.h>
13998
 
#ifdef F77_DUMMY_MAIN
13999
 
#  ifdef __cplusplus
14000
 
     extern "C"
14001
 
#  endif
14002
 
   int F77_DUMMY_MAIN() { return 1; }
14003
 
#endif
14004
14722
int
14005
14723
main ()
14006
14724
{
14024
14742
  sim_cv_def_qt_keypad=true
14025
14743
else
14026
14744
  echo "$as_me: failed program was:" >&5
14027
 
cat conftest.$ac_ext >&5
 
14745
sed 's/^/| /' conftest.$ac_ext >&5
 
14746
 
14028
14747
sim_cv_def_qt_keypad=false
14029
14748
fi
14030
14749
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14048
14767
else
14049
14768
  cat >conftest.$ac_ext <<_ACEOF
14050
14769
#line $LINENO "configure"
14051
 
#include "confdefs.h"
 
14770
/* confdefs.h.  */
 
14771
_ACEOF
 
14772
cat confdefs.h >>conftest.$ac_ext
 
14773
cat >>conftest.$ac_ext <<_ACEOF
 
14774
/* end confdefs.h.  */
14052
14775
#include <qwidget.h>
14053
 
#ifdef F77_DUMMY_MAIN
14054
 
#  ifdef __cplusplus
14055
 
     extern "C"
14056
 
#  endif
14057
 
   int F77_DUMMY_MAIN() { return 1; }
14058
 
#endif
14059
14776
int
14060
14777
main ()
14061
14778
{
14079
14796
  sim_cv_def_qwidget_showfullscreen=true
14080
14797
else
14081
14798
  echo "$as_me: failed program was:" >&5
14082
 
cat conftest.$ac_ext >&5
 
14799
sed 's/^/| /' conftest.$ac_ext >&5
 
14800
 
14083
14801
sim_cv_def_qwidget_showfullscreen=false
14084
14802
fi
14085
14803
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14103
14821
else
14104
14822
  cat >conftest.$ac_ext <<_ACEOF
14105
14823
#line $LINENO "configure"
14106
 
#include "confdefs.h"
 
14824
/* confdefs.h.  */
 
14825
_ACEOF
 
14826
cat confdefs.h >>conftest.$ac_ext
 
14827
cat >>conftest.$ac_ext <<_ACEOF
 
14828
/* end confdefs.h.  */
14107
14829
#include <qgl.h>
14108
 
#ifdef F77_DUMMY_MAIN
14109
 
#  ifdef __cplusplus
14110
 
     extern "C"
14111
 
#  endif
14112
 
   int F77_DUMMY_MAIN() { return 1; }
14113
 
#endif
14114
14830
int
14115
14831
main ()
14116
14832
{
14134
14850
  sim_cv_func_qglformat_eq_op=true
14135
14851
else
14136
14852
  echo "$as_me: failed program was:" >&5
14137
 
cat conftest.$ac_ext >&5
 
14853
sed 's/^/| /' conftest.$ac_ext >&5
 
14854
 
14138
14855
sim_cv_func_qglformat_eq_op=false
14139
14856
fi
14140
14857
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14158
14875
else
14159
14876
  cat >conftest.$ac_ext <<_ACEOF
14160
14877
#line $LINENO "configure"
14161
 
#include "confdefs.h"
 
14878
/* confdefs.h.  */
 
14879
_ACEOF
 
14880
cat confdefs.h >>conftest.$ac_ext
 
14881
cat >>conftest.$ac_ext <<_ACEOF
 
14882
/* end confdefs.h.  */
14162
14883
#include <qgl.h>
14163
 
#ifdef F77_DUMMY_MAIN
14164
 
#  ifdef __cplusplus
14165
 
     extern "C"
14166
 
#  endif
14167
 
   int F77_DUMMY_MAIN() { return 1; }
14168
 
#endif
14169
14884
int
14170
14885
main ()
14171
14886
{
14189
14904
  sim_cv_func_qglformat_setoverlay=yes
14190
14905
else
14191
14906
  echo "$as_me: failed program was:" >&5
14192
 
cat conftest.$ac_ext >&5
 
14907
sed 's/^/| /' conftest.$ac_ext >&5
 
14908
 
14193
14909
sim_cv_func_qglformat_setoverlay=no
14194
14910
fi
14195
14911
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14213
14929
else
14214
14930
  cat >conftest.$ac_ext <<_ACEOF
14215
14931
#line $LINENO "configure"
14216
 
#include "confdefs.h"
 
14932
/* confdefs.h.  */
 
14933
_ACEOF
 
14934
cat confdefs.h >>conftest.$ac_ext
 
14935
cat >>conftest.$ac_ext <<_ACEOF
 
14936
/* end confdefs.h.  */
14217
14937
#include <qgl.h>
14218
14938
class MyGLWidget : public QGLWidget {
14219
14939
public: MyGLWidget() {setAutoBufferSwap(FALSE);} };
14220
 
#ifdef F77_DUMMY_MAIN
14221
 
#  ifdef __cplusplus
14222
 
     extern "C"
14223
 
#  endif
14224
 
   int F77_DUMMY_MAIN() { return 1; }
14225
 
#endif
14226
14940
int
14227
14941
main ()
14228
14942
{
14246
14960
  sim_cv_func_qglwidget_setautobufferswap=yes
14247
14961
else
14248
14962
  echo "$as_me: failed program was:" >&5
14249
 
cat conftest.$ac_ext >&5
 
14963
sed 's/^/| /' conftest.$ac_ext >&5
 
14964
 
14250
14965
sim_cv_func_qglwidget_setautobufferswap=no
14251
14966
fi
14252
14967
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14282
14997
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14283
14998
cat >conftest.$ac_ext <<_ACEOF
14284
14999
#line $LINENO "configure"
14285
 
#include "confdefs.h"
 
15000
/* confdefs.h.  */
 
15001
_ACEOF
 
15002
cat confdefs.h >>conftest.$ac_ext
 
15003
cat >>conftest.$ac_ext <<_ACEOF
 
15004
/* end confdefs.h.  */
14286
15005
$ac_includes_default
14287
15006
#include <$ac_header>
14288
15007
_ACEOF
14301
15020
  ac_header_compiler=yes
14302
15021
else
14303
15022
  echo "$as_me: failed program was:" >&5
14304
 
cat conftest.$ac_ext >&5
 
15023
sed 's/^/| /' conftest.$ac_ext >&5
 
15024
 
14305
15025
ac_header_compiler=no
14306
15026
fi
14307
15027
rm -f conftest.$ac_objext conftest.$ac_ext
14313
15033
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14314
15034
cat >conftest.$ac_ext <<_ACEOF
14315
15035
#line $LINENO "configure"
14316
 
#include "confdefs.h"
 
15036
/* confdefs.h.  */
 
15037
_ACEOF
 
15038
cat confdefs.h >>conftest.$ac_ext
 
15039
cat >>conftest.$ac_ext <<_ACEOF
 
15040
/* end confdefs.h.  */
14317
15041
#include <$ac_header>
14318
15042
_ACEOF
14319
15043
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14320
15044
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14321
15045
  ac_status=$?
14322
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
15046
  grep -v '^ *+' conftest.er1 >conftest.err
14323
15047
  rm -f conftest.er1
14324
15048
  cat conftest.err >&5
14325
15049
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14336
15060
  ac_header_preproc=yes
14337
15061
else
14338
15062
  echo "$as_me: failed program was:" >&5
14339
 
  cat conftest.$ac_ext >&5
 
15063
sed 's/^/| /' conftest.$ac_ext >&5
 
15064
 
14340
15065
  ac_header_preproc=no
14341
15066
fi
14342
15067
rm -f conftest.err conftest.$ac_ext
14349
15074
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14350
15075
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14351
15076
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14352
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
 
15077
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
15078
    (
 
15079
      cat <<\_ASBOX
 
15080
## ------------------------------------ ##
 
15081
## Report this to bug-autoconf@gnu.org. ##
 
15082
## ------------------------------------ ##
 
15083
_ASBOX
 
15084
    ) |
 
15085
      sed "s/^/$as_me: WARNING:     /" >&2
 
15086
    ;;
14353
15087
  no:yes )
14354
15088
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14355
15089
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14356
15090
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14357
15091
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14358
15092
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14359
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
 
15093
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
15094
    (
 
15095
      cat <<\_ASBOX
 
15096
## ------------------------------------ ##
 
15097
## Report this to bug-autoconf@gnu.org. ##
 
15098
## ------------------------------------ ##
 
15099
_ASBOX
 
15100
    ) |
 
15101
      sed "s/^/$as_me: WARNING:     /" >&2
 
15102
    ;;
14360
15103
esac
14361
15104
echo "$as_me:$LINENO: checking for $ac_header" >&5
14362
15105
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14394
15137
  HAVE_JOYSTICK_LINUX_FALSE=
14395
15138
fi
14396
15139
 
 
15140
 
14397
15141
#SIM_AC_CHECK_JOYSTICK_LINUX([
14398
15142
#  AC_DEFINE(HAVE_JOYSTICK_LINUX, ,
14399
15143
#    [Define to enable Linux Joystick driver support])
14450
15194
  # compliant with the C99 ISO/IEC 9899:1999 standard.
14451
15195
  cat >conftest.$ac_ext <<_ACEOF
14452
15196
#line $LINENO "configure"
14453
 
#include "confdefs.h"
 
15197
/* confdefs.h.  */
 
15198
_ACEOF
 
15199
cat confdefs.h >>conftest.$ac_ext
 
15200
cat >>conftest.$ac_ext <<_ACEOF
 
15201
/* end confdefs.h.  */
14454
15202
#include <stdio.h>
14455
 
#ifdef F77_DUMMY_MAIN
14456
 
#  ifdef __cplusplus
14457
 
     extern "C"
14458
 
#  endif
14459
 
   int F77_DUMMY_MAIN() { return 1; }
14460
 
#endif
14461
15203
int
14462
15204
main ()
14463
15205
{
14481
15223
  sim_cv_var_functionname=__func__
14482
15224
else
14483
15225
  echo "$as_me: failed program was:" >&5
14484
 
cat conftest.$ac_ext >&5
 
15226
sed 's/^/| /' conftest.$ac_ext >&5
 
15227
 
14485
15228
sim_cv_var_functionname=none
14486
15229
fi
14487
15230
rm -f conftest.$ac_objext conftest.$ac_ext
14489
15232
    # GCC uses __PRETTY_FUNCTION__
14490
15233
    cat >conftest.$ac_ext <<_ACEOF
14491
15234
#line $LINENO "configure"
14492
 
#include "confdefs.h"
 
15235
/* confdefs.h.  */
 
15236
_ACEOF
 
15237
cat confdefs.h >>conftest.$ac_ext
 
15238
cat >>conftest.$ac_ext <<_ACEOF
 
15239
/* end confdefs.h.  */
14493
15240
#include <stdio.h>
14494
 
#ifdef F77_DUMMY_MAIN
14495
 
#  ifdef __cplusplus
14496
 
     extern "C"
14497
 
#  endif
14498
 
   int F77_DUMMY_MAIN() { return 1; }
14499
 
#endif
14500
15241
int
14501
15242
main ()
14502
15243
{
14520
15261
  sim_cv_var_functionname=__PRETTY_FUNCTION__
14521
15262
else
14522
15263
  echo "$as_me: failed program was:" >&5
14523
 
cat conftest.$ac_ext >&5
 
15264
sed 's/^/| /' conftest.$ac_ext >&5
 
15265
 
14524
15266
sim_cv_var_functionname=none
14525
15267
fi
14526
15268
rm -f conftest.$ac_objext conftest.$ac_ext
14528
15270
  if test x"$sim_cv_var_functionname" = x"none"; then
14529
15271
    cat >conftest.$ac_ext <<_ACEOF
14530
15272
#line $LINENO "configure"
14531
 
#include "confdefs.h"
 
15273
/* confdefs.h.  */
 
15274
_ACEOF
 
15275
cat confdefs.h >>conftest.$ac_ext
 
15276
cat >>conftest.$ac_ext <<_ACEOF
 
15277
/* end confdefs.h.  */
14532
15278
#include <stdio.h>
14533
 
#ifdef F77_DUMMY_MAIN
14534
 
#  ifdef __cplusplus
14535
 
     extern "C"
14536
 
#  endif
14537
 
   int F77_DUMMY_MAIN() { return 1; }
14538
 
#endif
14539
15279
int
14540
15280
main ()
14541
15281
{
14559
15299
  sim_cv_var_functionname=__FUNCTION__
14560
15300
else
14561
15301
  echo "$as_me: failed program was:" >&5
14562
 
cat conftest.$ac_ext >&5
 
15302
sed 's/^/| /' conftest.$ac_ext >&5
 
15303
 
14563
15304
sim_cv_var_functionname=none
14564
15305
fi
14565
15306
rm -f conftest.$ac_objext conftest.$ac_ext
14679
15420
CPPFLAGS="$CPPFLAGS -fno-exceptions"
14680
15421
cat >conftest.$ac_ext <<_ACEOF
14681
15422
#line $LINENO "configure"
14682
 
#include "confdefs.h"
 
15423
/* confdefs.h.  */
 
15424
_ACEOF
 
15425
cat confdefs.h >>conftest.$ac_ext
 
15426
cat >>conftest.$ac_ext <<_ACEOF
 
15427
/* end confdefs.h.  */
14683
15428
 
14684
 
#ifdef F77_DUMMY_MAIN
14685
 
#  ifdef __cplusplus
14686
 
     extern "C"
14687
 
#  endif
14688
 
   int F77_DUMMY_MAIN() { return 1; }
14689
 
#endif
14690
15429
int
14691
15430
main ()
14692
15431
{
14710
15449
  sim_ac_accept_result=yes
14711
15450
else
14712
15451
  echo "$as_me: failed program was:" >&5
14713
 
cat conftest.$ac_ext >&5
 
15452
sed 's/^/| /' conftest.$ac_ext >&5
 
15453
 
14714
15454
sim_ac_accept_result=no
14715
15455
fi
14716
15456
rm -f conftest.$ac_objext conftest.$ac_ext
14748
15488
CPPFLAGS="$CPPFLAGS -fno-handle-exceptions"
14749
15489
cat >conftest.$ac_ext <<_ACEOF
14750
15490
#line $LINENO "configure"
14751
 
#include "confdefs.h"
 
15491
/* confdefs.h.  */
 
15492
_ACEOF
 
15493
cat confdefs.h >>conftest.$ac_ext
 
15494
cat >>conftest.$ac_ext <<_ACEOF
 
15495
/* end confdefs.h.  */
14752
15496
 
14753
 
#ifdef F77_DUMMY_MAIN
14754
 
#  ifdef __cplusplus
14755
 
     extern "C"
14756
 
#  endif
14757
 
   int F77_DUMMY_MAIN() { return 1; }
14758
 
#endif
14759
15497
int
14760
15498
main ()
14761
15499
{
14779
15517
  sim_ac_accept_result=yes
14780
15518
else
14781
15519
  echo "$as_me: failed program was:" >&5
14782
 
cat conftest.$ac_ext >&5
 
15520
sed 's/^/| /' conftest.$ac_ext >&5
 
15521
 
14783
15522
sim_ac_accept_result=no
14784
15523
fi
14785
15524
rm -f conftest.$ac_objext conftest.$ac_ext
14875
15614
CPPFLAGS="$CPPFLAGS -W -Wall -Wno-unused"
14876
15615
cat >conftest.$ac_ext <<_ACEOF
14877
15616
#line $LINENO "configure"
14878
 
#include "confdefs.h"
 
15617
/* confdefs.h.  */
 
15618
_ACEOF
 
15619
cat confdefs.h >>conftest.$ac_ext
 
15620
cat >>conftest.$ac_ext <<_ACEOF
 
15621
/* end confdefs.h.  */
14879
15622
 
14880
 
#ifdef F77_DUMMY_MAIN
14881
 
#  ifdef __cplusplus
14882
 
     extern "C"
14883
 
#  endif
14884
 
   int F77_DUMMY_MAIN() { return 1; }
14885
 
#endif
14886
15623
int
14887
15624
main ()
14888
15625
{
14906
15643
  sim_ac_accept_result=yes
14907
15644
else
14908
15645
  echo "$as_me: failed program was:" >&5
14909
 
cat conftest.$ac_ext >&5
 
15646
sed 's/^/| /' conftest.$ac_ext >&5
 
15647
 
14910
15648
sim_ac_accept_result=no
14911
15649
fi
14912
15650
rm -f conftest.$ac_objext conftest.$ac_ext
14943
15681
CPPFLAGS="$CPPFLAGS -Wno-multichar"
14944
15682
cat >conftest.$ac_ext <<_ACEOF
14945
15683
#line $LINENO "configure"
14946
 
#include "confdefs.h"
 
15684
/* confdefs.h.  */
 
15685
_ACEOF
 
15686
cat confdefs.h >>conftest.$ac_ext
 
15687
cat >>conftest.$ac_ext <<_ACEOF
 
15688
/* end confdefs.h.  */
14947
15689
 
14948
 
#ifdef F77_DUMMY_MAIN
14949
 
#  ifdef __cplusplus
14950
 
     extern "C"
14951
 
#  endif
14952
 
   int F77_DUMMY_MAIN() { return 1; }
14953
 
#endif
14954
15690
int
14955
15691
main ()
14956
15692
{
14974
15710
  sim_ac_accept_result=yes
14975
15711
else
14976
15712
  echo "$as_me: failed program was:" >&5
14977
 
cat conftest.$ac_ext >&5
 
15713
sed 's/^/| /' conftest.$ac_ext >&5
 
15714
 
14978
15715
sim_ac_accept_result=no
14979
15716
fi
14980
15717
rm -f conftest.$ac_objext conftest.$ac_ext
15014
15751
CPPFLAGS="$CPPFLAGS -W -Wall -Wno-unused"
15015
15752
cat >conftest.$ac_ext <<_ACEOF
15016
15753
#line $LINENO "configure"
15017
 
#include "confdefs.h"
 
15754
/* confdefs.h.  */
 
15755
_ACEOF
 
15756
cat confdefs.h >>conftest.$ac_ext
 
15757
cat >>conftest.$ac_ext <<_ACEOF
 
15758
/* end confdefs.h.  */
15018
15759
 
15019
 
#ifdef F77_DUMMY_MAIN
15020
 
#  ifdef __cplusplus
15021
 
     extern "C"
15022
 
#  endif
15023
 
   int F77_DUMMY_MAIN() { return 1; }
15024
 
#endif
15025
15760
int
15026
15761
main ()
15027
15762
{
15045
15780
  sim_ac_accept_result=yes
15046
15781
else
15047
15782
  echo "$as_me: failed program was:" >&5
15048
 
cat conftest.$ac_ext >&5
 
15783
sed 's/^/| /' conftest.$ac_ext >&5
 
15784
 
15049
15785
sim_ac_accept_result=no
15050
15786
fi
15051
15787
rm -f conftest.$ac_objext conftest.$ac_ext
15082
15818
CPPFLAGS="$CPPFLAGS -Wno-multichar"
15083
15819
cat >conftest.$ac_ext <<_ACEOF
15084
15820
#line $LINENO "configure"
15085
 
#include "confdefs.h"
 
15821
/* confdefs.h.  */
 
15822
_ACEOF
 
15823
cat confdefs.h >>conftest.$ac_ext
 
15824
cat >>conftest.$ac_ext <<_ACEOF
 
15825
/* end confdefs.h.  */
15086
15826
 
15087
 
#ifdef F77_DUMMY_MAIN
15088
 
#  ifdef __cplusplus
15089
 
     extern "C"
15090
 
#  endif
15091
 
   int F77_DUMMY_MAIN() { return 1; }
15092
 
#endif
15093
15827
int
15094
15828
main ()
15095
15829
{
15113
15847
  sim_ac_accept_result=yes
15114
15848
else
15115
15849
  echo "$as_me: failed program was:" >&5
15116
 
cat conftest.$ac_ext >&5
 
15850
sed 's/^/| /' conftest.$ac_ext >&5
 
15851
 
15117
15852
sim_ac_accept_result=no
15118
15853
fi
15119
15854
rm -f conftest.$ac_objext conftest.$ac_ext
15156
15891
CPPFLAGS="$CPPFLAGS -fullwarn"
15157
15892
cat >conftest.$ac_ext <<_ACEOF
15158
15893
#line $LINENO "configure"
15159
 
#include "confdefs.h"
 
15894
/* confdefs.h.  */
 
15895
_ACEOF
 
15896
cat confdefs.h >>conftest.$ac_ext
 
15897
cat >>conftest.$ac_ext <<_ACEOF
 
15898
/* end confdefs.h.  */
15160
15899
 
15161
 
#ifdef F77_DUMMY_MAIN
15162
 
#  ifdef __cplusplus
15163
 
     extern "C"
15164
 
#  endif
15165
 
   int F77_DUMMY_MAIN() { return 1; }
15166
 
#endif
15167
15900
int
15168
15901
main ()
15169
15902
{
15187
15920
  sim_ac_accept_result=yes
15188
15921
else
15189
15922
  echo "$as_me: failed program was:" >&5
15190
 
cat conftest.$ac_ext >&5
 
15923
sed 's/^/| /' conftest.$ac_ext >&5
 
15924
 
15191
15925
sim_ac_accept_result=no
15192
15926
fi
15193
15927
rm -f conftest.$ac_objext conftest.$ac_ext
15226
15960
CPPFLAGS="$CPPFLAGS -fullwarn"
15227
15961
cat >conftest.$ac_ext <<_ACEOF
15228
15962
#line $LINENO "configure"
15229
 
#include "confdefs.h"
 
15963
/* confdefs.h.  */
 
15964
_ACEOF
 
15965
cat confdefs.h >>conftest.$ac_ext
 
15966
cat >>conftest.$ac_ext <<_ACEOF
 
15967
/* end confdefs.h.  */
15230
15968
 
15231
 
#ifdef F77_DUMMY_MAIN
15232
 
#  ifdef __cplusplus
15233
 
     extern "C"
15234
 
#  endif
15235
 
   int F77_DUMMY_MAIN() { return 1; }
15236
 
#endif
15237
15969
int
15238
15970
main ()
15239
15971
{
15257
15989
  sim_ac_accept_result=yes
15258
15990
else
15259
15991
  echo "$as_me: failed program was:" >&5
15260
 
cat conftest.$ac_ext >&5
 
15992
sed 's/^/| /' conftest.$ac_ext >&5
 
15993
 
15261
15994
sim_ac_accept_result=no
15262
15995
fi
15263
15996
rm -f conftest.$ac_objext conftest.$ac_ext
15324
16057
CPPFLAGS="$CPPFLAGS $sim_ac_bogus_warnings"
15325
16058
cat >conftest.$ac_ext <<_ACEOF
15326
16059
#line $LINENO "configure"
15327
 
#include "confdefs.h"
 
16060
/* confdefs.h.  */
 
16061
_ACEOF
 
16062
cat confdefs.h >>conftest.$ac_ext
 
16063
cat >>conftest.$ac_ext <<_ACEOF
 
16064
/* end confdefs.h.  */
15328
16065
 
15329
 
#ifdef F77_DUMMY_MAIN
15330
 
#  ifdef __cplusplus
15331
 
     extern "C"
15332
 
#  endif
15333
 
   int F77_DUMMY_MAIN() { return 1; }
15334
 
#endif
15335
16066
int
15336
16067
main ()
15337
16068
{
15355
16086
  sim_ac_accept_result=yes
15356
16087
else
15357
16088
  echo "$as_me: failed program was:" >&5
15358
 
cat conftest.$ac_ext >&5
 
16089
sed 's/^/| /' conftest.$ac_ext >&5
 
16090
 
15359
16091
sim_ac_accept_result=no
15360
16092
fi
15361
16093
rm -f conftest.$ac_objext conftest.$ac_ext
15394
16126
CPPFLAGS="$CPPFLAGS $sim_ac_bogus_warnings"
15395
16127
cat >conftest.$ac_ext <<_ACEOF
15396
16128
#line $LINENO "configure"
15397
 
#include "confdefs.h"
 
16129
/* confdefs.h.  */
 
16130
_ACEOF
 
16131
cat confdefs.h >>conftest.$ac_ext
 
16132
cat >>conftest.$ac_ext <<_ACEOF
 
16133
/* end confdefs.h.  */
15398
16134
 
15399
 
#ifdef F77_DUMMY_MAIN
15400
 
#  ifdef __cplusplus
15401
 
     extern "C"
15402
 
#  endif
15403
 
   int F77_DUMMY_MAIN() { return 1; }
15404
 
#endif
15405
16135
int
15406
16136
main ()
15407
16137
{
15425
16155
  sim_ac_accept_result=yes
15426
16156
else
15427
16157
  echo "$as_me: failed program was:" >&5
15428
 
cat conftest.$ac_ext >&5
 
16158
sed 's/^/| /' conftest.$ac_ext >&5
 
16159
 
15429
16160
sim_ac_accept_result=no
15430
16161
fi
15431
16162
rm -f conftest.$ac_objext conftest.$ac_ext
15623
16354
  MAC_FRAMEWORK_FALSE=
15624
16355
fi
15625
16356
 
 
16357
 
15626
16358
# for sub-configure in data/
15627
16359
export sim_ac_framework
15628
16360
export MAC_FRAMEWORK_NAME MAC_FRAMEWORK_PREFIX MAC_FRAMEWORK_VERSION
15986
16718
  BUILD_WITH_MSVC_FALSE=
15987
16719
fi
15988
16720
 
 
16721
 
15989
16722
if $BUILD_WITH_MSVC; then
15990
16723
  rm -f vc60.pdb
15991
16724
  ## Ensure that if we link with Coin, we use the same C library as Coin
16181
16914
# script -- not just from the Makefile -- as the data/configure script
16182
16915
# depends on it. (data/configure is temporarily disabled, BTW, but anyway..)
16183
16916
 
16184
 
ac_config_files="$ac_config_files soqt-$CONFIG.cfg:src/Inventor/Qt/common/sogui.cfg.in Makefile src/Makefile src/Inventor/Makefile src/Inventor/Qt/Makefile src/Inventor/Qt/devices/Makefile src/Inventor/Qt/viewers/Makefile src/Inventor/Qt/widgets/Makefile man/Makefile man/man1/Makefile man/man3/Makefile html/Makefile"
 
16917
                                                                                                                        ac_config_files="$ac_config_files soqt-$CONFIG.cfg:src/Inventor/Qt/common/sogui.cfg.in Makefile src/Makefile src/Inventor/Makefile src/Inventor/Qt/Makefile src/Inventor/Qt/devices/Makefile src/Inventor/Qt/viewers/Makefile src/Inventor/Qt/widgets/Makefile man/Makefile man/man1/Makefile man/man3/Makefile html/Makefile"
16185
16918
cat >confcache <<\_ACEOF
16186
16919
# This file is a shell script that caches the results of configure
16187
16920
# tests run on this system so they can be shared between configure
16192
16925
# config.status only pays attention to the cache file if you give it
16193
16926
# the --recheck option to rerun configure.
16194
16927
#
16195
 
# `ac_cv_env_foo' variables (set or unset) will be overriden when
 
16928
# `ac_cv_env_foo' variables (set or unset) will be overridden when
16196
16929
# loading this file, other *unset* `ac_cv_foo' will be assigned the
16197
16930
# following values.
16198
16931
 
16227
16960
     t end
16228
16961
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16229
16962
     : end' >>confcache
16230
 
if cmp -s $cache_file confcache; then :; else
 
16963
if diff $cache_file confcache >/dev/null 2>&1; then :; else
16231
16964
  if test -w $cache_file; then
16232
16965
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
16233
16966
    cat confcache >$cache_file
16258
16991
 
16259
16992
DEFS=-DHAVE_CONFIG_H
16260
16993
 
 
16994
ac_libobjs=
 
16995
ac_ltlibobjs=
 
16996
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
16997
  # 1. Remove the extension, and $U if already installed.
 
16998
  ac_i=`echo "$ac_i" |
 
16999
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
17000
  # 2. Add them.
 
17001
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
 
17002
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
17003
done
 
17004
LIBOBJS=$ac_libobjs
 
17005
 
 
17006
LTLIBOBJS=$ac_ltlibobjs
 
17007
 
 
17008
 
 
17009
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 
17010
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 
17011
Usually this means the macro was only invoked conditionally." >&5
 
17012
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 
17013
Usually this means the macro was only invoked conditionally." >&2;}
 
17014
   { (exit 1); exit 1; }; }
 
17015
fi
 
17016
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
17017
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
17018
Usually this means the macro was only invoked conditionally." >&5
 
17019
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
17020
Usually this means the macro was only invoked conditionally." >&2;}
 
17021
   { (exit 1); exit 1; }; }
 
17022
fi
 
17023
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
17024
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
17025
Usually this means the macro was only invoked conditionally." >&5
 
17026
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
17027
Usually this means the macro was only invoked conditionally." >&2;}
 
17028
   { (exit 1); exit 1; }; }
 
17029
fi
 
17030
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
17031
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 
17032
Usually this means the macro was only invoked conditionally." >&5
 
17033
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
17034
Usually this means the macro was only invoked conditionally." >&2;}
 
17035
   { (exit 1); exit 1; }; }
 
17036
fi
 
17037
if test -z "${BUILD_LIBRARY_TRUE}" && test -z "${BUILD_LIBRARY_FALSE}"; then
 
17038
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBRARY\" was never defined.
 
17039
Usually this means the macro was only invoked conditionally." >&5
 
17040
echo "$as_me: error: conditional \"BUILD_LIBRARY\" was never defined.
 
17041
Usually this means the macro was only invoked conditionally." >&2;}
 
17042
   { (exit 1); exit 1; }; }
 
17043
fi
 
17044
if test -z "${BUILD_MANPAGES_TRUE}" && test -z "${BUILD_MANPAGES_FALSE}"; then
 
17045
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_MANPAGES\" was never defined.
 
17046
Usually this means the macro was only invoked conditionally." >&5
 
17047
echo "$as_me: error: conditional \"BUILD_MANPAGES\" was never defined.
 
17048
Usually this means the macro was only invoked conditionally." >&2;}
 
17049
   { (exit 1); exit 1; }; }
 
17050
fi
 
17051
if test -z "${BUILD_HTMLPAGES_TRUE}" && test -z "${BUILD_HTMLPAGES_FALSE}"; then
 
17052
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_HTMLPAGES\" was never defined.
 
17053
Usually this means the macro was only invoked conditionally." >&5
 
17054
echo "$as_me: error: conditional \"BUILD_HTMLPAGES\" was never defined.
 
17055
Usually this means the macro was only invoked conditionally." >&2;}
 
17056
   { (exit 1); exit 1; }; }
 
17057
fi
 
17058
if test -z "${BUILD_METAFILES_TRUE}" && test -z "${BUILD_METAFILES_FALSE}"; then
 
17059
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_METAFILES\" was never defined.
 
17060
Usually this means the macro was only invoked conditionally." >&5
 
17061
echo "$as_me: error: conditional \"BUILD_METAFILES\" was never defined.
 
17062
Usually this means the macro was only invoked conditionally." >&2;}
 
17063
   { (exit 1); exit 1; }; }
 
17064
fi
 
17065
if test -z "${HAVE_JOYSTICK_LINUX_TRUE}" && test -z "${HAVE_JOYSTICK_LINUX_FALSE}"; then
 
17066
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_JOYSTICK_LINUX\" was never defined.
 
17067
Usually this means the macro was only invoked conditionally." >&5
 
17068
echo "$as_me: error: conditional \"HAVE_JOYSTICK_LINUX\" was never defined.
 
17069
Usually this means the macro was only invoked conditionally." >&2;}
 
17070
   { (exit 1); exit 1; }; }
 
17071
fi
 
17072
if test -z "${MAC_FRAMEWORK_TRUE}" && test -z "${MAC_FRAMEWORK_FALSE}"; then
 
17073
  { { echo "$as_me:$LINENO: error: conditional \"MAC_FRAMEWORK\" was never defined.
 
17074
Usually this means the macro was only invoked conditionally." >&5
 
17075
echo "$as_me: error: conditional \"MAC_FRAMEWORK\" was never defined.
 
17076
Usually this means the macro was only invoked conditionally." >&2;}
 
17077
   { (exit 1); exit 1; }; }
 
17078
fi
 
17079
if test -z "${BUILD_WITH_MSVC_TRUE}" && test -z "${BUILD_WITH_MSVC_FALSE}"; then
 
17080
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_WITH_MSVC\" was never defined.
 
17081
Usually this means the macro was only invoked conditionally." >&5
 
17082
echo "$as_me: error: conditional \"BUILD_WITH_MSVC\" was never defined.
 
17083
Usually this means the macro was only invoked conditionally." >&2;}
 
17084
   { (exit 1); exit 1; }; }
 
17085
fi
16261
17086
 
16262
17087
: ${CONFIG_STATUS=./config.status}
16263
17088
ac_clean_files_save=$ac_clean_files
16272
17097
# configure, is in config.log if it exists.
16273
17098
 
16274
17099
debug=false
 
17100
ac_cs_recheck=false
 
17101
ac_cs_silent=false
16275
17102
SHELL=\${CONFIG_SHELL-$SHELL}
16276
17103
_ACEOF
16277
17104
 
16278
17105
cat >>$CONFIG_STATUS <<\_ACEOF
16279
 
 
16280
17106
## --------------------- ##
16281
17107
## M4sh Initialization.  ##
16282
17108
## --------------------- ##
16285
17111
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16286
17112
  emulate sh
16287
17113
  NULLCMD=:
 
17114
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
17115
  # is contrary to our usage.  Disable this feature.
 
17116
  alias -g '${1+"$@"}'='"$@"'
16288
17117
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
16289
17118
  set -o posix
16290
17119
fi
16291
17120
 
16292
 
# NLS nuisances.
16293
17121
# Support unset when possible.
16294
17122
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
16295
17123
  as_unset=unset
16297
17125
  as_unset=false
16298
17126
fi
16299
17127
 
16300
 
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
16301
 
    { $as_unset LANG || test "${LANG+set}" != set; } ||
16302
 
      { LANG=C; export LANG; }
16303
 
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
16304
 
    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
16305
 
      { LC_ALL=C; export LC_ALL; }
16306
 
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
16307
 
    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
16308
 
      { LC_TIME=C; export LC_TIME; }
16309
 
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
16310
 
    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
16311
 
      { LC_CTYPE=C; export LC_CTYPE; }
16312
 
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
16313
 
    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
16314
 
      { LANGUAGE=C; export LANGUAGE; }
16315
 
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
16316
 
    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
16317
 
      { LC_COLLATE=C; export LC_COLLATE; }
16318
 
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
16319
 
    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
16320
 
      { LC_NUMERIC=C; export LC_NUMERIC; }
16321
 
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
16322
 
    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
16323
 
      { LC_MESSAGES=C; export LC_MESSAGES; }
 
17128
 
 
17129
# Work around bugs in pre-3.0 UWIN ksh.
 
17130
$as_unset ENV MAIL MAILPATH
 
17131
PS1='$ '
 
17132
PS2='> '
 
17133
PS4='+ '
 
17134
 
 
17135
# NLS nuisances.
 
17136
for as_var in \
 
17137
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
17138
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
17139
  LC_TELEPHONE LC_TIME
 
17140
do
 
17141
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
17142
    eval $as_var=C; export $as_var
 
17143
  else
 
17144
    $as_unset $as_var
 
17145
  fi
 
17146
done
 
17147
 
 
17148
# Required to use basename.
 
17149
if expr a : '\(a\)' >/dev/null 2>&1; then
 
17150
  as_expr=expr
 
17151
else
 
17152
  as_expr=false
 
17153
fi
 
17154
 
 
17155
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
17156
  as_basename=basename
 
17157
else
 
17158
  as_basename=false
 
17159
fi
16324
17160
 
16325
17161
 
16326
17162
# Name of the executable.
16327
 
as_me=`(basename "$0") 2>/dev/null ||
 
17163
as_me=`$as_basename "$0" ||
16328
17164
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16329
17165
         X"$0" : 'X\(//\)$' \| \
16330
17166
         X"$0" : 'X\(/\)$' \| \
16335
17171
          /^X\/\(\/\).*/{ s//\1/; q; }
16336
17172
          s/.*/./; q'`
16337
17173
 
 
17174
 
16338
17175
# PATH needs CR, and LINENO needs CR and PATH.
16339
17176
# Avoid depending upon Character Ranges.
16340
17177
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16345
17182
 
16346
17183
# The user is always right.
16347
17184
if test "${PATH_SEPARATOR+set}" != set; then
16348
 
  echo "#! /bin/sh" >conftest.sh
16349
 
  echo  "exit 0"   >>conftest.sh
16350
 
  chmod +x conftest.sh
16351
 
  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
 
17185
  echo "#! /bin/sh" >conf$$.sh
 
17186
  echo  "exit 0"   >>conf$$.sh
 
17187
  chmod +x conf$$.sh
 
17188
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16352
17189
    PATH_SEPARATOR=';'
16353
17190
  else
16354
17191
    PATH_SEPARATOR=:
16355
17192
  fi
16356
 
  rm -f conftest.sh
 
17193
  rm -f conf$$.sh
16357
17194
fi
16358
17195
 
16359
17196
 
16402
17239
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
16403
17240
  test "x$as_lineno_1" != "x$as_lineno_2" &&
16404
17241
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
17242
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
17243
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
16405
17244
             CONFIG_SHELL=$as_dir/$as_base
16406
17245
             export CONFIG_SHELL
16407
17246
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
16475
17314
fi
16476
17315
rm -f conf$$ conf$$.exe conf$$.file
16477
17316
 
 
17317
if mkdir -p . 2>/dev/null; then
 
17318
  as_mkdir_p=:
 
17319
else
 
17320
  as_mkdir_p=false
 
17321
fi
 
17322
 
16478
17323
as_executable_p="test -f"
16479
17324
 
16480
17325
# Sed expression to map a string onto a valid CPP name.
16491
17336
IFS="   $as_nl"
16492
17337
 
16493
17338
# CDPATH.
16494
 
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
 
17339
$as_unset CDPATH
16495
17340
 
16496
17341
exec 6>&1
16497
17342
 
16508
17353
cat >&5 <<_CSEOF
16509
17354
 
16510
17355
This file was extended by SoQt $as_me 1.0.2, which was
16511
 
generated by GNU Autoconf 2.53.  Invocation command line was
 
17356
generated by GNU Autoconf 2.57.  Invocation command line was
16512
17357
 
16513
17358
  CONFIG_FILES    = $CONFIG_FILES
16514
17359
  CONFIG_HEADERS  = $CONFIG_HEADERS
16548
17393
 
16549
17394
  -h, --help       print this help, then exit
16550
17395
  -V, --version    print version number, then exit
 
17396
  -q, --quiet      do not print progress messages
16551
17397
  -d, --debug      don't remove temporary files
16552
17398
      --recheck    update $as_me by reconfiguring in the same conditions
16553
17399
  --file=FILE[:TEMPLATE]
16570
17416
cat >>$CONFIG_STATUS <<_ACEOF
16571
17417
ac_cs_version="\\
16572
17418
SoQt config.status 1.0.2
16573
 
configured by $0, generated by GNU Autoconf 2.53,
 
17419
configured by $0, generated by GNU Autoconf 2.57,
16574
17420
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
16575
17421
 
16576
17422
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
16591
17437
  --*=*)
16592
17438
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
16593
17439
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
16594
 
    shift
16595
 
    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
16596
 
    shift
16597
 
    ;;
16598
 
  -*);;
 
17440
    ac_shift=:
 
17441
    ;;
 
17442
  -*)
 
17443
    ac_option=$1
 
17444
    ac_optarg=$2
 
17445
    ac_shift=shift
 
17446
    ;;
16599
17447
  *) # This is not an option, so the user has probably given explicit
16600
17448
     # arguments.
 
17449
     ac_option=$1
16601
17450
     ac_need_defaults=false;;
16602
17451
  esac
16603
17452
 
16604
 
  case $1 in
 
17453
  case $ac_option in
16605
17454
  # Handling of the options.
16606
17455
_ACEOF
16607
 
cat >>$CONFIG_STATUS <<_ACEOF
 
17456
cat >>$CONFIG_STATUS <<\_ACEOF
16608
17457
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16609
 
    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
16610
 
    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
16611
 
_ACEOF
16612
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
17458
    ac_cs_recheck=: ;;
16613
17459
  --version | --vers* | -V )
16614
17460
    echo "$ac_cs_version"; exit 0 ;;
16615
17461
  --he | --h)
16624
17470
  --debug | --d* | -d )
16625
17471
    debug=: ;;
16626
17472
  --file | --fil | --fi | --f )
16627
 
    shift
16628
 
    CONFIG_FILES="$CONFIG_FILES $1"
 
17473
    $ac_shift
 
17474
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
16629
17475
    ac_need_defaults=false;;
16630
17476
  --header | --heade | --head | --hea )
16631
 
    shift
16632
 
    CONFIG_HEADERS="$CONFIG_HEADERS $1"
 
17477
    $ac_shift
 
17478
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
16633
17479
    ac_need_defaults=false;;
 
17480
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
17481
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
17482
    ac_cs_silent=: ;;
16634
17483
 
16635
17484
  # This is an error.
16636
17485
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
16645
17494
  shift
16646
17495
done
16647
17496
 
 
17497
ac_configure_extra_args=
 
17498
 
 
17499
if $ac_cs_silent; then
 
17500
  exec 6>/dev/null
 
17501
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
17502
fi
 
17503
 
 
17504
_ACEOF
 
17505
cat >>$CONFIG_STATUS <<_ACEOF
 
17506
if \$ac_cs_recheck; then
 
17507
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
17508
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
17509
fi
 
17510
 
16648
17511
_ACEOF
16649
17512
 
16650
17513
cat >>$CONFIG_STATUS <<_ACEOF
16652
17515
# INIT-COMMANDS section.
16653
17516
#
16654
17517
 
16655
 
AMDEP_TRUE="$AMDEP_TRUE"
16656
 
ac_aux_dir="$ac_aux_dir"
 
17518
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16657
17519
 
16658
17520
_ACEOF
16659
17521
 
16676
17538
  "man/man1/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/man1/Makefile" ;;
16677
17539
  "man/man3/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/man3/Makefile" ;;
16678
17540
  "html/Makefile" ) CONFIG_FILES="$CONFIG_FILES html/Makefile" ;;
16679
 
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
17541
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16680
17542
  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
16681
17543
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16682
17544
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16694
17556
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16695
17557
fi
16696
17558
 
 
17559
# Have a temporary directory for convenience.  Make it in the build tree
 
17560
# simply because there is no reason to put it here, and in addition,
 
17561
# creating and moving files from /tmp can sometimes cause problems.
16697
17562
# Create a temporary directory, and hook for its removal unless debugging.
16698
17563
$debug ||
16699
17564
{
16702
17567
}
16703
17568
 
16704
17569
# Create a (secure) tmp directory for tmp files.
16705
 
: ${TMPDIR=/tmp}
 
17570
 
16706
17571
{
16707
 
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
 
17572
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
16708
17573
  test -n "$tmp" && test -d "$tmp"
16709
17574
}  ||
16710
17575
{
16711
 
  tmp=$TMPDIR/cs$$-$RANDOM
 
17576
  tmp=./confstat$$-$RANDOM
16712
17577
  (umask 077 && mkdir $tmp)
16713
17578
} ||
16714
17579
{
16715
 
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
 
17580
   echo "$me: cannot create a temporary directory in ." >&2
16716
17581
   { (exit 1); exit 1; }
16717
17582
}
16718
17583
 
16785
17650
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
16786
17651
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
16787
17652
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
 
17653
s,@CYGPATH_W@,$CYGPATH_W,;t t
16788
17654
s,@PACKAGE@,$PACKAGE,;t t
16789
17655
s,@VERSION@,$VERSION,;t t
16790
 
s,@EXEEXT@,$EXEEXT,;t t
16791
 
s,@OBJEXT@,$OBJEXT,;t t
16792
17656
s,@ACLOCAL@,$ACLOCAL,;t t
16793
17657
s,@AUTOCONF@,$AUTOCONF,;t t
16794
17658
s,@AUTOMAKE@,$AUTOMAKE,;t t
16796
17660
s,@MAKEINFO@,$MAKEINFO,;t t
16797
17661
s,@AMTAR@,$AMTAR,;t t
16798
17662
s,@install_sh@,$install_sh,;t t
 
17663
s,@STRIP@,$STRIP,;t t
 
17664
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
16799
17665
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
16800
17666
s,@AWK@,$AWK,;t t
16801
17667
s,@SET_MAKE@,$SET_MAKE,;t t
16802
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
16803
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
16804
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
16805
 
s,@DEPDIR@,$DEPDIR,;t t
 
17668
s,@am__leading_dot@,$am__leading_dot,;t t
16806
17669
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
16807
17670
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
16808
17671
s,@MAINT@,$MAINT,;t t
16811
17674
s,@LDFLAGS@,$LDFLAGS,;t t
16812
17675
s,@CPPFLAGS@,$CPPFLAGS,;t t
16813
17676
s,@ac_ct_CC@,$ac_ct_CC,;t t
 
17677
s,@EXEEXT@,$EXEEXT,;t t
 
17678
s,@OBJEXT@,$OBJEXT,;t t
 
17679
s,@DEPDIR@,$DEPDIR,;t t
16814
17680
s,@am__include@,$am__include,;t t
16815
17681
s,@am__quote@,$am__quote,;t t
 
17682
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
 
17683
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
 
17684
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
16816
17685
s,@CCDEPMODE@,$CCDEPMODE,;t t
 
17686
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
 
17687
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
16817
17688
s,@CPP@,$CPP,;t t
16818
17689
s,@CXX@,$CXX,;t t
16819
17690
s,@CXXFLAGS@,$CXXFLAGS,;t t
16820
17691
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
16821
17692
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
 
17693
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
 
17694
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
16822
17695
s,@CXXCPP@,$CXXCPP,;t t
16823
17696
s,@SOGUI_MSVC_LIBC@,$SOGUI_MSVC_LIBC,;t t
16824
17697
s,@LN_S@,$LN_S,;t t
16825
17698
s,@ECHO@,$ECHO,;t t
16826
17699
s,@RANLIB@,$RANLIB,;t t
16827
17700
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
16828
 
s,@STRIP@,$STRIP,;t t
16829
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
 
17701
s,@EGREP@,$EGREP,;t t
16830
17702
s,@LIBTOOL@,$LIBTOOL,;t t
16831
17703
s,@SOGUI_EXTRA_CPPFLAGS@,$SOGUI_EXTRA_CPPFLAGS,;t t
16832
17704
s,@SOGUI_EXTRA_CFLAGS@,$SOGUI_EXTRA_CFLAGS,;t t
16894
17766
s,@SOQT_DSP_LIBS@,$SOQT_DSP_LIBS,;t t
16895
17767
s,@SOQT_DSP_INCS@,$SOQT_DSP_INCS,;t t
16896
17768
s,@SOQT_DSP_DEFS@,$SOQT_DSP_DEFS,;t t
 
17769
s,@LIBOBJS@,$LIBOBJS,;t t
 
17770
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
16897
17771
CEOF
16898
17772
 
16899
17773
_ACEOF
16964
17838
          /^X\(\/\/\)$/{ s//\1/; q; }
16965
17839
          /^X\(\/\).*/{ s//\1/; q; }
16966
17840
          s/.*/./; q'`
16967
 
  { case "$ac_dir" in
16968
 
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
16969
 
  *)                      as_incr_dir=.;;
16970
 
esac
16971
 
as_dummy="$ac_dir"
16972
 
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
16973
 
  case $as_mkdir_dir in
16974
 
    # Skip DOS drivespec
16975
 
    ?:) as_incr_dir=$as_mkdir_dir ;;
16976
 
    *)
16977
 
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
16978
 
      test -d "$as_incr_dir" ||
16979
 
        mkdir "$as_incr_dir" ||
16980
 
        { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
16981
 
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
16982
 
   { (exit 1); exit 1; }; }
16983
 
    ;;
16984
 
  esac
16985
 
done; }
 
17841
  { if $as_mkdir_p; then
 
17842
    mkdir -p "$ac_dir"
 
17843
  else
 
17844
    as_dir="$ac_dir"
 
17845
    as_dirs=
 
17846
    while test ! -d "$as_dir"; do
 
17847
      as_dirs="$as_dir $as_dirs"
 
17848
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
17849
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
17850
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
17851
         X"$as_dir" : 'X\(//\)$' \| \
 
17852
         X"$as_dir" : 'X\(/\)' \| \
 
17853
         .     : '\(.\)' 2>/dev/null ||
 
17854
echo X"$as_dir" |
 
17855
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
17856
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
17857
          /^X\(\/\/\)$/{ s//\1/; q; }
 
17858
          /^X\(\/\).*/{ s//\1/; q; }
 
17859
          s/.*/./; q'`
 
17860
    done
 
17861
    test ! -n "$as_dirs" || mkdir $as_dirs
 
17862
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
17863
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
17864
   { (exit 1); exit 1; }; }; }
16986
17865
 
16987
17866
  ac_builddir=.
16988
17867
 
17012
17891
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
17013
17892
# absolute.
17014
17893
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
17015
 
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
 
17894
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
17016
17895
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
17017
17896
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
17018
17897
 
17202
18081
# Break up conftest.defines because some shells have a limit on the size
17203
18082
# of here documents, and old seds have small limits too (100 cmds).
17204
18083
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
17205
 
echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 
18084
echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
17206
18085
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
17207
18086
echo '  :' >>$CONFIG_STATUS
17208
18087
rm -f conftest.tail
17226
18105
  mv conftest.tail conftest.defines
17227
18106
done
17228
18107
rm -f conftest.defines
17229
 
echo '  fi # egrep' >>$CONFIG_STATUS
 
18108
echo '  fi # grep' >>$CONFIG_STATUS
17230
18109
echo >>$CONFIG_STATUS
17231
18110
 
17232
18111
# Break up conftest.undefs because some shells have a limit on the size
17266
18145
  cat $tmp/in >>$tmp/config.h
17267
18146
  rm -f $tmp/in
17268
18147
  if test x"$ac_file" != x-; then
17269
 
    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
 
18148
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
17270
18149
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
17271
18150
echo "$as_me: $ac_file is unchanged" >&6;}
17272
18151
    else
17282
18161
          /^X\(\/\/\)$/{ s//\1/; q; }
17283
18162
          /^X\(\/\).*/{ s//\1/; q; }
17284
18163
          s/.*/./; q'`
17285
 
      { case "$ac_dir" in
17286
 
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
17287
 
  *)                      as_incr_dir=.;;
17288
 
esac
17289
 
as_dummy="$ac_dir"
17290
 
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
17291
 
  case $as_mkdir_dir in
17292
 
    # Skip DOS drivespec
17293
 
    ?:) as_incr_dir=$as_mkdir_dir ;;
17294
 
    *)
17295
 
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
17296
 
      test -d "$as_incr_dir" ||
17297
 
        mkdir "$as_incr_dir" ||
17298
 
        { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
17299
 
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
17300
 
   { (exit 1); exit 1; }; }
17301
 
    ;;
17302
 
  esac
17303
 
done; }
 
18164
      { if $as_mkdir_p; then
 
18165
    mkdir -p "$ac_dir"
 
18166
  else
 
18167
    as_dir="$ac_dir"
 
18168
    as_dirs=
 
18169
    while test ! -d "$as_dir"; do
 
18170
      as_dirs="$as_dir $as_dirs"
 
18171
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
18172
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
18173
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
18174
         X"$as_dir" : 'X\(//\)$' \| \
 
18175
         X"$as_dir" : 'X\(/\)' \| \
 
18176
         .     : '\(.\)' 2>/dev/null ||
 
18177
echo X"$as_dir" |
 
18178
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
18179
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
18180
          /^X\(\/\/\)$/{ s//\1/; q; }
 
18181
          /^X\(\/\).*/{ s//\1/; q; }
 
18182
          s/.*/./; q'`
 
18183
    done
 
18184
    test ! -n "$as_dirs" || mkdir $as_dirs
 
18185
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
18186
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
18187
   { (exit 1); exit 1; }; }; }
17304
18188
 
17305
18189
      rm -f $ac_file
17306
18190
      mv $tmp/config.h $ac_file
17309
18193
    cat $tmp/config.h
17310
18194
    rm -f $tmp/config.h
17311
18195
  fi
17312
 
  # Run the commands associated with the file.
17313
 
  case $ac_file in
17314
 
    src/config.h ) # update the timestamp
17315
 
echo timestamp >"src/stamp-h1"
17316
 
 ;;
 
18196
# Compute $ac_file's index in $config_headers.
 
18197
_am_stamp_count=1
 
18198
for _am_header in $config_headers :; do
 
18199
  case $_am_header in
 
18200
    $ac_file | $ac_file:* )
 
18201
      break ;;
 
18202
    * )
 
18203
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17317
18204
  esac
17318
18205
done
 
18206
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
18207
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
18208
         X$ac_file : 'X\(//\)[^/]' \| \
 
18209
         X$ac_file : 'X\(//\)$' \| \
 
18210
         X$ac_file : 'X\(/\)' \| \
 
18211
         .     : '\(.\)' 2>/dev/null ||
 
18212
echo X$ac_file |
 
18213
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
18214
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
18215
          /^X\(\/\/\)$/{ s//\1/; q; }
 
18216
          /^X\(\/\).*/{ s//\1/; q; }
 
18217
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
18218
done
17319
18219
_ACEOF
17320
18220
cat >>$CONFIG_STATUS <<\_ACEOF
17321
18221
 
17365
18265
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
17366
18266
# absolute.
17367
18267
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
17368
 
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
 
18268
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
17369
18269
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
17370
18270
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
17371
18271
 
17373
18273
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
17374
18274
echo "$as_me: executing $ac_dest commands" >&6;}
17375
18275
  case $ac_dest in
17376
 
    default-1 )
17377
 
test x"$AMDEP_TRUE" != x"" ||
17378
 
for mf in $CONFIG_FILES; do
17379
 
  case "$mf" in
17380
 
  Makefile) dirpart=.;;
17381
 
  */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
17382
 
  *) continue;;
17383
 
  esac
 
18276
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
18277
  # Strip MF so we end up with the name of the file.
 
18278
  mf=`echo "$mf" | sed -e 's/:.*$//'`
 
18279
  # Check whether this is an Automake generated Makefile or not.
 
18280
  # We used to match only the files named `Makefile.in', but
 
18281
  # some people rename them; so instead we look at the file content.
 
18282
  # Grep'ing the first line is not enough: some people post-process
 
18283
  # each Makefile.in and add a new line on top of each file to say so.
 
18284
  # So let's grep whole file.
 
18285
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
18286
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
18287
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
18288
         X"$mf" : 'X\(//\)[^/]' \| \
 
18289
         X"$mf" : 'X\(//\)$' \| \
 
18290
         X"$mf" : 'X\(/\)' \| \
 
18291
         .     : '\(.\)' 2>/dev/null ||
 
18292
echo X"$mf" |
 
18293
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
18294
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
18295
          /^X\(\/\/\)$/{ s//\1/; q; }
 
18296
          /^X\(\/\).*/{ s//\1/; q; }
 
18297
          s/.*/./; q'`
 
18298
  else
 
18299
    continue
 
18300
  fi
17384
18301
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
17385
18302
  # Extract the definition of DEP_FILES from the Makefile without
17386
18303
  # running `make'.
17405
18322
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17406
18323
    # Make sure the directory exists.
17407
18324
    test -f "$dirpart/$file" && continue
17408
 
    fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
17409
 
    $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
 
18325
    fdir=`(dirname "$file") 2>/dev/null ||
 
18326
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
18327
         X"$file" : 'X\(//\)[^/]' \| \
 
18328
         X"$file" : 'X\(//\)$' \| \
 
18329
         X"$file" : 'X\(/\)' \| \
 
18330
         .     : '\(.\)' 2>/dev/null ||
 
18331
echo X"$file" |
 
18332
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
18333
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
18334
          /^X\(\/\/\)$/{ s//\1/; q; }
 
18335
          /^X\(\/\).*/{ s//\1/; q; }
 
18336
          s/.*/./; q'`
 
18337
    { if $as_mkdir_p; then
 
18338
    mkdir -p $dirpart/$fdir
 
18339
  else
 
18340
    as_dir=$dirpart/$fdir
 
18341
    as_dirs=
 
18342
    while test ! -d "$as_dir"; do
 
18343
      as_dirs="$as_dir $as_dirs"
 
18344
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
18345
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
18346
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
18347
         X"$as_dir" : 'X\(//\)$' \| \
 
18348
         X"$as_dir" : 'X\(/\)' \| \
 
18349
         .     : '\(.\)' 2>/dev/null ||
 
18350
echo X"$as_dir" |
 
18351
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
18352
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
18353
          /^X\(\/\/\)$/{ s//\1/; q; }
 
18354
          /^X\(\/\).*/{ s//\1/; q; }
 
18355
          s/.*/./; q'`
 
18356
    done
 
18357
    test ! -n "$as_dirs" || mkdir $as_dirs
 
18358
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
 
18359
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
18360
   { (exit 1); exit 1; }; }; }
 
18361
 
17410
18362
    # echo "creating $dirpart/$file"
17411
18363
    echo '# dummy' > "$dirpart/$file"
17412
18364
  done
17434
18386
# need to make the FD available again.
17435
18387
if test "$no_create" != yes; then
17436
18388
  ac_cs_success=:
 
18389
  ac_config_status_args=
 
18390
  test "$silent" = yes &&
 
18391
    ac_config_status_args="$ac_config_status_args --quiet"
17437
18392
  exec 5>/dev/null
17438
 
  $SHELL $CONFIG_STATUS || ac_cs_success=false
 
18393
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17439
18394
  exec 5>>config.log
17440
18395
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17441
18396
  # would make configure fail if this is the last instruction.