passagemath-gap-pkg-cddinterface 10.6.23__cp313-cp313-musllinux_1_2_aarch64.whl → 10.6.25__cp313-cp313-musllinux_1_2_aarch64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of passagemath-gap-pkg-cddinterface might be problematic. Click here for more details.

@@ -1,4779 +0,0 @@
1
- #! /bin/sh
2
- # Guess values for system-dependent variables and create Makefiles.
3
- # Generated by GNU Autoconf 2.71 for CddInterface package.
4
- #
5
- #
6
- # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
7
- # Inc.
8
- #
9
- #
10
- # This configure script is free software; the Free Software Foundation
11
- # gives unlimited permission to copy, distribute and modify it.
12
- ## -------------------- ##
13
- ## M4sh Initialization. ##
14
- ## -------------------- ##
15
-
16
- # Be more Bourne compatible
17
- DUALCASE=1; export DUALCASE # for MKS sh
18
- as_nop=:
19
- if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
20
- then :
21
- emulate sh
22
- NULLCMD=:
23
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24
- # is contrary to our usage. Disable this feature.
25
- alias -g '${1+"$@"}'='"$@"'
26
- setopt NO_GLOB_SUBST
27
- else $as_nop
28
- case `(set -o) 2>/dev/null` in #(
29
- *posix*) :
30
- set -o posix ;; #(
31
- *) :
32
- ;;
33
- esac
34
- fi
35
-
36
-
37
-
38
- # Reset variables that may have inherited troublesome values from
39
- # the environment.
40
-
41
- # IFS needs to be set, to space, tab, and newline, in precisely that order.
42
- # (If _AS_PATH_WALK were called with IFS unset, it would have the
43
- # side effect of setting IFS to empty, thus disabling word splitting.)
44
- # Quoting is to prevent editors from complaining about space-tab.
45
- as_nl='
46
- '
47
- export as_nl
48
- IFS=" "" $as_nl"
49
-
50
- PS1='$ '
51
- PS2='> '
52
- PS4='+ '
53
-
54
- # Ensure predictable behavior from utilities with locale-dependent output.
55
- LC_ALL=C
56
- export LC_ALL
57
- LANGUAGE=C
58
- export LANGUAGE
59
-
60
- # We cannot yet rely on "unset" to work, but we need these variables
61
- # to be unset--not just set to an empty or harmless value--now, to
62
- # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
63
- # also avoids known problems related to "unset" and subshell syntax
64
- # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
65
- for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
66
- do eval test \${$as_var+y} \
67
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
68
- done
69
-
70
- # Ensure that fds 0, 1, and 2 are open.
71
- if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
72
- if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
73
- if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
74
-
75
- # The user is always right.
76
- if ${PATH_SEPARATOR+false} :; then
77
- PATH_SEPARATOR=:
78
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80
- PATH_SEPARATOR=';'
81
- }
82
- fi
83
-
84
-
85
- # Find who we are. Look in the path if we contain no directory separator.
86
- as_myself=
87
- case $0 in #((
88
- *[\\/]* ) as_myself=$0 ;;
89
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
90
- for as_dir in $PATH
91
- do
92
- IFS=$as_save_IFS
93
- case $as_dir in #(((
94
- '') as_dir=./ ;;
95
- */) ;;
96
- *) as_dir=$as_dir/ ;;
97
- esac
98
- test -r "$as_dir$0" && as_myself=$as_dir$0 && break
99
- done
100
- IFS=$as_save_IFS
101
-
102
- ;;
103
- esac
104
- # We did not find ourselves, most probably we were run as `sh COMMAND'
105
- # in which case we are not to be found in the path.
106
- if test "x$as_myself" = x; then
107
- as_myself=$0
108
- fi
109
- if test ! -f "$as_myself"; then
110
- printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111
- exit 1
112
- fi
113
-
114
-
115
- # Use a proper internal environment variable to ensure we don't fall
116
- # into an infinite loop, continuously re-executing ourselves.
117
- if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
118
- _as_can_reexec=no; export _as_can_reexec;
119
- # We cannot yet assume a decent shell, so we have to provide a
120
- # neutralization value for shells without unset; and this also
121
- # works around shells that cannot unset nonexistent variables.
122
- # Preserve -v and -x to the replacement shell.
123
- BASH_ENV=/dev/null
124
- ENV=/dev/null
125
- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
126
- case $- in # ((((
127
- *v*x* | *x*v* ) as_opts=-vx ;;
128
- *v* ) as_opts=-v ;;
129
- *x* ) as_opts=-x ;;
130
- * ) as_opts= ;;
131
- esac
132
- exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
133
- # Admittedly, this is quite paranoid, since all the known shells bail
134
- # out after a failed `exec'.
135
- printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
136
- exit 255
137
- fi
138
- # We don't want this to propagate to other subprocesses.
139
- { _as_can_reexec=; unset _as_can_reexec;}
140
- if test "x$CONFIG_SHELL" = x; then
141
- as_bourne_compatible="as_nop=:
142
- if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
143
- then :
144
- emulate sh
145
- NULLCMD=:
146
- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
147
- # is contrary to our usage. Disable this feature.
148
- alias -g '\${1+\"\$@\"}'='\"\$@\"'
149
- setopt NO_GLOB_SUBST
150
- else \$as_nop
151
- case \`(set -o) 2>/dev/null\` in #(
152
- *posix*) :
153
- set -o posix ;; #(
154
- *) :
155
- ;;
156
- esac
157
- fi
158
- "
159
- as_required="as_fn_return () { (exit \$1); }
160
- as_fn_success () { as_fn_return 0; }
161
- as_fn_failure () { as_fn_return 1; }
162
- as_fn_ret_success () { return 0; }
163
- as_fn_ret_failure () { return 1; }
164
-
165
- exitcode=0
166
- as_fn_success || { exitcode=1; echo as_fn_success failed.; }
167
- as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
168
- as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
169
- as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
170
- if ( set x; as_fn_ret_success y && test x = \"\$1\" )
171
- then :
172
-
173
- else \$as_nop
174
- exitcode=1; echo positional parameters were not saved.
175
- fi
176
- test x\$exitcode = x0 || exit 1
177
- blah=\$(echo \$(echo blah))
178
- test x\"\$blah\" = xblah || exit 1
179
- test -x / || exit 1"
180
- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
181
- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
182
- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
183
- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
184
- if (eval "$as_required") 2>/dev/null
185
- then :
186
- as_have_required=yes
187
- else $as_nop
188
- as_have_required=no
189
- fi
190
- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
191
- then :
192
-
193
- else $as_nop
194
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195
- as_found=false
196
- for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197
- do
198
- IFS=$as_save_IFS
199
- case $as_dir in #(((
200
- '') as_dir=./ ;;
201
- */) ;;
202
- *) as_dir=$as_dir/ ;;
203
- esac
204
- as_found=:
205
- case $as_dir in #(
206
- /*)
207
- for as_base in sh bash ksh sh5; do
208
- # Try only shells that exist, to save several forks.
209
- as_shell=$as_dir$as_base
210
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
211
- as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
212
- then :
213
- CONFIG_SHELL=$as_shell as_have_required=yes
214
- if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
215
- then :
216
- break 2
217
- fi
218
- fi
219
- done;;
220
- esac
221
- as_found=false
222
- done
223
- IFS=$as_save_IFS
224
- if $as_found
225
- then :
226
-
227
- else $as_nop
228
- if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
229
- as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
230
- then :
231
- CONFIG_SHELL=$SHELL as_have_required=yes
232
- fi
233
- fi
234
-
235
-
236
- if test "x$CONFIG_SHELL" != x
237
- then :
238
- export CONFIG_SHELL
239
- # We cannot yet assume a decent shell, so we have to provide a
240
- # neutralization value for shells without unset; and this also
241
- # works around shells that cannot unset nonexistent variables.
242
- # Preserve -v and -x to the replacement shell.
243
- BASH_ENV=/dev/null
244
- ENV=/dev/null
245
- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246
- case $- in # ((((
247
- *v*x* | *x*v* ) as_opts=-vx ;;
248
- *v* ) as_opts=-v ;;
249
- *x* ) as_opts=-x ;;
250
- * ) as_opts= ;;
251
- esac
252
- exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253
- # Admittedly, this is quite paranoid, since all the known shells bail
254
- # out after a failed `exec'.
255
- printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
256
- exit 255
257
- fi
258
-
259
- if test x$as_have_required = xno
260
- then :
261
- printf "%s\n" "$0: This script requires a shell more modern than all"
262
- printf "%s\n" "$0: the shells that I found on your system."
263
- if test ${ZSH_VERSION+y} ; then
264
- printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265
- printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
266
- else
267
- printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system,
268
- $0: including any error possibly output before this
269
- $0: message. Then install a modern shell, or manually run
270
- $0: the script under such a shell if you do have one."
271
- fi
272
- exit 1
273
- fi
274
- fi
275
- fi
276
- SHELL=${CONFIG_SHELL-/bin/sh}
277
- export SHELL
278
- # Unset more variables known to interfere with behavior of common tools.
279
- CLICOLOR_FORCE= GREP_OPTIONS=
280
- unset CLICOLOR_FORCE GREP_OPTIONS
281
-
282
- ## --------------------- ##
283
- ## M4sh Shell Functions. ##
284
- ## --------------------- ##
285
- # as_fn_unset VAR
286
- # ---------------
287
- # Portably unset VAR.
288
- as_fn_unset ()
289
- {
290
- { eval $1=; unset $1;}
291
- }
292
- as_unset=as_fn_unset
293
-
294
-
295
- # as_fn_set_status STATUS
296
- # -----------------------
297
- # Set $? to STATUS, without forking.
298
- as_fn_set_status ()
299
- {
300
- return $1
301
- } # as_fn_set_status
302
-
303
- # as_fn_exit STATUS
304
- # -----------------
305
- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
306
- as_fn_exit ()
307
- {
308
- set +e
309
- as_fn_set_status $1
310
- exit $1
311
- } # as_fn_exit
312
- # as_fn_nop
313
- # ---------
314
- # Do nothing but, unlike ":", preserve the value of $?.
315
- as_fn_nop ()
316
- {
317
- return $?
318
- }
319
- as_nop=as_fn_nop
320
-
321
- # as_fn_mkdir_p
322
- # -------------
323
- # Create "$as_dir" as a directory, including parents if necessary.
324
- as_fn_mkdir_p ()
325
- {
326
-
327
- case $as_dir in #(
328
- -*) as_dir=./$as_dir;;
329
- esac
330
- test -d "$as_dir" || eval $as_mkdir_p || {
331
- as_dirs=
332
- while :; do
333
- case $as_dir in #(
334
- *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
335
- *) as_qdir=$as_dir;;
336
- esac
337
- as_dirs="'$as_qdir' $as_dirs"
338
- as_dir=`$as_dirname -- "$as_dir" ||
339
- $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
340
- X"$as_dir" : 'X\(//\)[^/]' \| \
341
- X"$as_dir" : 'X\(//\)$' \| \
342
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
343
- printf "%s\n" X"$as_dir" |
344
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
345
- s//\1/
346
- q
347
- }
348
- /^X\(\/\/\)[^/].*/{
349
- s//\1/
350
- q
351
- }
352
- /^X\(\/\/\)$/{
353
- s//\1/
354
- q
355
- }
356
- /^X\(\/\).*/{
357
- s//\1/
358
- q
359
- }
360
- s/.*/./; q'`
361
- test -d "$as_dir" && break
362
- done
363
- test -z "$as_dirs" || eval "mkdir $as_dirs"
364
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
365
-
366
-
367
- } # as_fn_mkdir_p
368
-
369
- # as_fn_executable_p FILE
370
- # -----------------------
371
- # Test if FILE is an executable regular file.
372
- as_fn_executable_p ()
373
- {
374
- test -f "$1" && test -x "$1"
375
- } # as_fn_executable_p
376
- # as_fn_append VAR VALUE
377
- # ----------------------
378
- # Append the text in VALUE to the end of the definition contained in VAR. Take
379
- # advantage of any shell optimizations that allow amortized linear growth over
380
- # repeated appends, instead of the typical quadratic growth present in naive
381
- # implementations.
382
- if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
383
- then :
384
- eval 'as_fn_append ()
385
- {
386
- eval $1+=\$2
387
- }'
388
- else $as_nop
389
- as_fn_append ()
390
- {
391
- eval $1=\$$1\$2
392
- }
393
- fi # as_fn_append
394
-
395
- # as_fn_arith ARG...
396
- # ------------------
397
- # Perform arithmetic evaluation on the ARGs, and store the result in the
398
- # global $as_val. Take advantage of shells that can avoid forks. The arguments
399
- # must be portable across $(()) and expr.
400
- if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
401
- then :
402
- eval 'as_fn_arith ()
403
- {
404
- as_val=$(( $* ))
405
- }'
406
- else $as_nop
407
- as_fn_arith ()
408
- {
409
- as_val=`expr "$@" || test $? -eq 1`
410
- }
411
- fi # as_fn_arith
412
-
413
- # as_fn_nop
414
- # ---------
415
- # Do nothing but, unlike ":", preserve the value of $?.
416
- as_fn_nop ()
417
- {
418
- return $?
419
- }
420
- as_nop=as_fn_nop
421
-
422
- # as_fn_error STATUS ERROR [LINENO LOG_FD]
423
- # ----------------------------------------
424
- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
425
- # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
426
- # script with STATUS, using 1 if that was 0.
427
- as_fn_error ()
428
- {
429
- as_status=$1; test $as_status -eq 0 && as_status=1
430
- if test "$4"; then
431
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
432
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
433
- fi
434
- printf "%s\n" "$as_me: error: $2" >&2
435
- as_fn_exit $as_status
436
- } # as_fn_error
437
-
438
- if expr a : '\(a\)' >/dev/null 2>&1 &&
439
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
440
- as_expr=expr
441
- else
442
- as_expr=false
443
- fi
444
-
445
- if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
446
- as_basename=basename
447
- else
448
- as_basename=false
449
- fi
450
-
451
- if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
452
- as_dirname=dirname
453
- else
454
- as_dirname=false
455
- fi
456
-
457
- as_me=`$as_basename -- "$0" ||
458
- $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
459
- X"$0" : 'X\(//\)$' \| \
460
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
461
- printf "%s\n" X/"$0" |
462
- sed '/^.*\/\([^/][^/]*\)\/*$/{
463
- s//\1/
464
- q
465
- }
466
- /^X\/\(\/\/\)$/{
467
- s//\1/
468
- q
469
- }
470
- /^X\/\(\/\).*/{
471
- s//\1/
472
- q
473
- }
474
- s/.*/./; q'`
475
-
476
- # Avoid depending upon Character Ranges.
477
- as_cr_letters='abcdefghijklmnopqrstuvwxyz'
478
- as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
479
- as_cr_Letters=$as_cr_letters$as_cr_LETTERS
480
- as_cr_digits='0123456789'
481
- as_cr_alnum=$as_cr_Letters$as_cr_digits
482
-
483
-
484
- as_lineno_1=$LINENO as_lineno_1a=$LINENO
485
- as_lineno_2=$LINENO as_lineno_2a=$LINENO
486
- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
487
- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
488
- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489
- sed -n '
490
- p
491
- /[$]LINENO/=
492
- ' <$as_myself |
493
- sed '
494
- s/[$]LINENO.*/&-/
495
- t lineno
496
- b
497
- :lineno
498
- N
499
- :loop
500
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
501
- t loop
502
- s/-\n.*//
503
- ' >$as_me.lineno &&
504
- chmod +x "$as_me.lineno" ||
505
- { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
506
-
507
- # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
508
- # already done that, so ensure we don't try to do so again and fall
509
- # in an infinite loop. This has already happened in practice.
510
- _as_can_reexec=no; export _as_can_reexec
511
- # Don't try to exec as it changes $[0], causing all sort of problems
512
- # (the dirname of $[0] is not the place where we might find the
513
- # original and so on. Autoconf is especially sensitive to this).
514
- . "./$as_me.lineno"
515
- # Exit status is that of the last command.
516
- exit
517
- }
518
-
519
-
520
- # Determine whether it's possible to make 'echo' print without a newline.
521
- # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
522
- # for compatibility with existing Makefiles.
523
- ECHO_C= ECHO_N= ECHO_T=
524
- case `echo -n x` in #(((((
525
- -n*)
526
- case `echo 'xy\c'` in
527
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
528
- xy) ECHO_C='\c';;
529
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
530
- ECHO_T=' ';;
531
- esac;;
532
- *)
533
- ECHO_N='-n';;
534
- esac
535
-
536
- # For backward compatibility with old third-party macros, we provide
537
- # the shell variables $as_echo and $as_echo_n. New code should use
538
- # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
539
- as_echo='printf %s\n'
540
- as_echo_n='printf %s'
541
-
542
-
543
- rm -f conf$$ conf$$.exe conf$$.file
544
- if test -d conf$$.dir; then
545
- rm -f conf$$.dir/conf$$.file
546
- else
547
- rm -f conf$$.dir
548
- mkdir conf$$.dir 2>/dev/null
549
- fi
550
- if (echo >conf$$.file) 2>/dev/null; then
551
- if ln -s conf$$.file conf$$ 2>/dev/null; then
552
- as_ln_s='ln -s'
553
- # ... but there are two gotchas:
554
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
555
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
556
- # In both cases, we have to default to `cp -pR'.
557
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
558
- as_ln_s='cp -pR'
559
- elif ln conf$$.file conf$$ 2>/dev/null; then
560
- as_ln_s=ln
561
- else
562
- as_ln_s='cp -pR'
563
- fi
564
- else
565
- as_ln_s='cp -pR'
566
- fi
567
- rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
568
- rmdir conf$$.dir 2>/dev/null
569
-
570
- if mkdir -p . 2>/dev/null; then
571
- as_mkdir_p='mkdir -p "$as_dir"'
572
- else
573
- test -d ./-p && rmdir ./-p
574
- as_mkdir_p=false
575
- fi
576
-
577
- as_test_x='test -x'
578
- as_executable_p=as_fn_executable_p
579
-
580
- # Sed expression to map a string onto a valid CPP name.
581
- as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
582
-
583
- # Sed expression to map a string onto a valid variable name.
584
- as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
585
-
586
-
587
- test -n "$DJDIR" || exec 7<&0 </dev/null
588
- exec 6>&1
589
-
590
- # Name of the host.
591
- # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
592
- # so uname gets run too.
593
- ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
594
-
595
- #
596
- # Initializations.
597
- #
598
- ac_default_prefix=/usr/local
599
- ac_clean_files=
600
- ac_config_libobj_dir=.
601
- LIBOBJS=
602
- cross_compiling=no
603
- subdirs=
604
- MFLAGS=
605
- MAKEFLAGS=
606
-
607
- # Identity of this package.
608
- PACKAGE_NAME='CddInterface'
609
- PACKAGE_TARNAME='cddinterface'
610
- PACKAGE_VERSION='package'
611
- PACKAGE_STRING='CddInterface package'
612
- PACKAGE_BUGREPORT=''
613
- PACKAGE_URL=''
614
-
615
- ac_unique_file="src/CddInterface.c"
616
- # Factoring default headers for most tests.
617
- ac_includes_default="\
618
- #include <stddef.h>
619
- #ifdef HAVE_STDIO_H
620
- # include <stdio.h>
621
- #endif
622
- #ifdef HAVE_STDLIB_H
623
- # include <stdlib.h>
624
- #endif
625
- #ifdef HAVE_STRING_H
626
- # include <string.h>
627
- #endif
628
- #ifdef HAVE_INTTYPES_H
629
- # include <inttypes.h>
630
- #endif
631
- #ifdef HAVE_STDINT_H
632
- # include <stdint.h>
633
- #endif
634
- #ifdef HAVE_STRINGS_H
635
- # include <strings.h>
636
- #endif
637
- #ifdef HAVE_SYS_TYPES_H
638
- # include <sys/types.h>
639
- #endif
640
- #ifdef HAVE_SYS_STAT_H
641
- # include <sys/stat.h>
642
- #endif
643
- #ifdef HAVE_UNISTD_H
644
- # include <unistd.h>
645
- #endif"
646
-
647
- ac_header_c_list=
648
- ac_subst_vars='LTLIBOBJS
649
- LIBOBJS
650
- CDD_LDFLAGS
651
- CDD_CPPFLAGS
652
- GAP_LIBS
653
- GAP_LDFLAGS
654
- GAP_CFLAGS
655
- GAP_CPPFLAGS
656
- GAPROOT
657
- GAPARCH
658
- OBJEXT
659
- EXEEXT
660
- ac_ct_CC
661
- CPPFLAGS
662
- LDFLAGS
663
- CFLAGS
664
- CC
665
- target_alias
666
- host_alias
667
- build_alias
668
- LIBS
669
- ECHO_T
670
- ECHO_N
671
- ECHO_C
672
- DEFS
673
- mandir
674
- localedir
675
- libdir
676
- psdir
677
- pdfdir
678
- dvidir
679
- htmldir
680
- infodir
681
- docdir
682
- oldincludedir
683
- includedir
684
- runstatedir
685
- localstatedir
686
- sharedstatedir
687
- sysconfdir
688
- datadir
689
- datarootdir
690
- libexecdir
691
- sbindir
692
- bindir
693
- program_transform_name
694
- prefix
695
- exec_prefix
696
- PACKAGE_URL
697
- PACKAGE_BUGREPORT
698
- PACKAGE_STRING
699
- PACKAGE_VERSION
700
- PACKAGE_TARNAME
701
- PACKAGE_NAME
702
- PATH_SEPARATOR
703
- SHELL'
704
- ac_subst_files=''
705
- ac_user_opts='
706
- enable_option_checking
707
- with_gaproot
708
- with_cddlib
709
- '
710
- ac_precious_vars='build_alias
711
- host_alias
712
- target_alias
713
- CC
714
- CFLAGS
715
- LDFLAGS
716
- LIBS
717
- CPPFLAGS'
718
-
719
-
720
- # Initialize some variables set by options.
721
- ac_init_help=
722
- ac_init_version=false
723
- ac_unrecognized_opts=
724
- ac_unrecognized_sep=
725
- # The variables have the same names as the options, with
726
- # dashes changed to underlines.
727
- cache_file=/dev/null
728
- exec_prefix=NONE
729
- no_create=
730
- no_recursion=
731
- prefix=NONE
732
- program_prefix=NONE
733
- program_suffix=NONE
734
- program_transform_name=s,x,x,
735
- silent=
736
- site=
737
- srcdir=
738
- verbose=
739
- x_includes=NONE
740
- x_libraries=NONE
741
-
742
- # Installation directory options.
743
- # These are left unexpanded so users can "make install exec_prefix=/foo"
744
- # and all the variables that are supposed to be based on exec_prefix
745
- # by default will actually change.
746
- # Use braces instead of parens because sh, perl, etc. also accept them.
747
- # (The list follows the same order as the GNU Coding Standards.)
748
- bindir='${exec_prefix}/bin'
749
- sbindir='${exec_prefix}/sbin'
750
- libexecdir='${exec_prefix}/libexec'
751
- datarootdir='${prefix}/share'
752
- datadir='${datarootdir}'
753
- sysconfdir='${prefix}/etc'
754
- sharedstatedir='${prefix}/com'
755
- localstatedir='${prefix}/var'
756
- runstatedir='${localstatedir}/run'
757
- includedir='${prefix}/include'
758
- oldincludedir='/usr/include'
759
- docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
760
- infodir='${datarootdir}/info'
761
- htmldir='${docdir}'
762
- dvidir='${docdir}'
763
- pdfdir='${docdir}'
764
- psdir='${docdir}'
765
- libdir='${exec_prefix}/lib'
766
- localedir='${datarootdir}/locale'
767
- mandir='${datarootdir}/man'
768
-
769
- ac_prev=
770
- ac_dashdash=
771
- for ac_option
772
- do
773
- # If the previous option needs an argument, assign it.
774
- if test -n "$ac_prev"; then
775
- eval $ac_prev=\$ac_option
776
- ac_prev=
777
- continue
778
- fi
779
-
780
- case $ac_option in
781
- *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
782
- *=) ac_optarg= ;;
783
- *) ac_optarg=yes ;;
784
- esac
785
-
786
- case $ac_dashdash$ac_option in
787
- --)
788
- ac_dashdash=yes ;;
789
-
790
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
791
- ac_prev=bindir ;;
792
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
793
- bindir=$ac_optarg ;;
794
-
795
- -build | --build | --buil | --bui | --bu)
796
- ac_prev=build_alias ;;
797
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
798
- build_alias=$ac_optarg ;;
799
-
800
- -cache-file | --cache-file | --cache-fil | --cache-fi \
801
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
802
- ac_prev=cache_file ;;
803
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
804
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
805
- cache_file=$ac_optarg ;;
806
-
807
- --config-cache | -C)
808
- cache_file=config.cache ;;
809
-
810
- -datadir | --datadir | --datadi | --datad)
811
- ac_prev=datadir ;;
812
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
813
- datadir=$ac_optarg ;;
814
-
815
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
816
- | --dataroo | --dataro | --datar)
817
- ac_prev=datarootdir ;;
818
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
819
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
820
- datarootdir=$ac_optarg ;;
821
-
822
- -disable-* | --disable-*)
823
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
824
- # Reject names that are not valid shell variable names.
825
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
826
- as_fn_error $? "invalid feature name: \`$ac_useropt'"
827
- ac_useropt_orig=$ac_useropt
828
- ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
829
- case $ac_user_opts in
830
- *"
831
- "enable_$ac_useropt"
832
- "*) ;;
833
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
834
- ac_unrecognized_sep=', ';;
835
- esac
836
- eval enable_$ac_useropt=no ;;
837
-
838
- -docdir | --docdir | --docdi | --doc | --do)
839
- ac_prev=docdir ;;
840
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
841
- docdir=$ac_optarg ;;
842
-
843
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
844
- ac_prev=dvidir ;;
845
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
846
- dvidir=$ac_optarg ;;
847
-
848
- -enable-* | --enable-*)
849
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
850
- # Reject names that are not valid shell variable names.
851
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
852
- as_fn_error $? "invalid feature name: \`$ac_useropt'"
853
- ac_useropt_orig=$ac_useropt
854
- ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
855
- case $ac_user_opts in
856
- *"
857
- "enable_$ac_useropt"
858
- "*) ;;
859
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
860
- ac_unrecognized_sep=', ';;
861
- esac
862
- eval enable_$ac_useropt=\$ac_optarg ;;
863
-
864
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
865
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
866
- | --exec | --exe | --ex)
867
- ac_prev=exec_prefix ;;
868
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
869
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
870
- | --exec=* | --exe=* | --ex=*)
871
- exec_prefix=$ac_optarg ;;
872
-
873
- -gas | --gas | --ga | --g)
874
- # Obsolete; use --with-gas.
875
- with_gas=yes ;;
876
-
877
- -help | --help | --hel | --he | -h)
878
- ac_init_help=long ;;
879
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
880
- ac_init_help=recursive ;;
881
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
882
- ac_init_help=short ;;
883
-
884
- -host | --host | --hos | --ho)
885
- ac_prev=host_alias ;;
886
- -host=* | --host=* | --hos=* | --ho=*)
887
- host_alias=$ac_optarg ;;
888
-
889
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
890
- ac_prev=htmldir ;;
891
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
892
- | --ht=*)
893
- htmldir=$ac_optarg ;;
894
-
895
- -includedir | --includedir | --includedi | --included | --include \
896
- | --includ | --inclu | --incl | --inc)
897
- ac_prev=includedir ;;
898
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
899
- | --includ=* | --inclu=* | --incl=* | --inc=*)
900
- includedir=$ac_optarg ;;
901
-
902
- -infodir | --infodir | --infodi | --infod | --info | --inf)
903
- ac_prev=infodir ;;
904
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
905
- infodir=$ac_optarg ;;
906
-
907
- -libdir | --libdir | --libdi | --libd)
908
- ac_prev=libdir ;;
909
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
910
- libdir=$ac_optarg ;;
911
-
912
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
913
- | --libexe | --libex | --libe)
914
- ac_prev=libexecdir ;;
915
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
916
- | --libexe=* | --libex=* | --libe=*)
917
- libexecdir=$ac_optarg ;;
918
-
919
- -localedir | --localedir | --localedi | --localed | --locale)
920
- ac_prev=localedir ;;
921
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
922
- localedir=$ac_optarg ;;
923
-
924
- -localstatedir | --localstatedir | --localstatedi | --localstated \
925
- | --localstate | --localstat | --localsta | --localst | --locals)
926
- ac_prev=localstatedir ;;
927
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
928
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
929
- localstatedir=$ac_optarg ;;
930
-
931
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
932
- ac_prev=mandir ;;
933
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
934
- mandir=$ac_optarg ;;
935
-
936
- -nfp | --nfp | --nf)
937
- # Obsolete; use --without-fp.
938
- with_fp=no ;;
939
-
940
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
941
- | --no-cr | --no-c | -n)
942
- no_create=yes ;;
943
-
944
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
945
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
946
- no_recursion=yes ;;
947
-
948
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
949
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
950
- | --oldin | --oldi | --old | --ol | --o)
951
- ac_prev=oldincludedir ;;
952
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
953
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
954
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
955
- oldincludedir=$ac_optarg ;;
956
-
957
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
958
- ac_prev=prefix ;;
959
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
960
- prefix=$ac_optarg ;;
961
-
962
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
963
- | --program-pre | --program-pr | --program-p)
964
- ac_prev=program_prefix ;;
965
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
966
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
967
- program_prefix=$ac_optarg ;;
968
-
969
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
970
- | --program-suf | --program-su | --program-s)
971
- ac_prev=program_suffix ;;
972
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
973
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
974
- program_suffix=$ac_optarg ;;
975
-
976
- -program-transform-name | --program-transform-name \
977
- | --program-transform-nam | --program-transform-na \
978
- | --program-transform-n | --program-transform- \
979
- | --program-transform | --program-transfor \
980
- | --program-transfo | --program-transf \
981
- | --program-trans | --program-tran \
982
- | --progr-tra | --program-tr | --program-t)
983
- ac_prev=program_transform_name ;;
984
- -program-transform-name=* | --program-transform-name=* \
985
- | --program-transform-nam=* | --program-transform-na=* \
986
- | --program-transform-n=* | --program-transform-=* \
987
- | --program-transform=* | --program-transfor=* \
988
- | --program-transfo=* | --program-transf=* \
989
- | --program-trans=* | --program-tran=* \
990
- | --progr-tra=* | --program-tr=* | --program-t=*)
991
- program_transform_name=$ac_optarg ;;
992
-
993
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
994
- ac_prev=pdfdir ;;
995
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
996
- pdfdir=$ac_optarg ;;
997
-
998
- -psdir | --psdir | --psdi | --psd | --ps)
999
- ac_prev=psdir ;;
1000
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1001
- psdir=$ac_optarg ;;
1002
-
1003
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1004
- | -silent | --silent | --silen | --sile | --sil)
1005
- silent=yes ;;
1006
-
1007
- -runstatedir | --runstatedir | --runstatedi | --runstated \
1008
- | --runstate | --runstat | --runsta | --runst | --runs \
1009
- | --run | --ru | --r)
1010
- ac_prev=runstatedir ;;
1011
- -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1012
- | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1013
- | --run=* | --ru=* | --r=*)
1014
- runstatedir=$ac_optarg ;;
1015
-
1016
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1017
- ac_prev=sbindir ;;
1018
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1019
- | --sbi=* | --sb=*)
1020
- sbindir=$ac_optarg ;;
1021
-
1022
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
1023
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1024
- | --sharedst | --shareds | --shared | --share | --shar \
1025
- | --sha | --sh)
1026
- ac_prev=sharedstatedir ;;
1027
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1028
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1029
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1030
- | --sha=* | --sh=*)
1031
- sharedstatedir=$ac_optarg ;;
1032
-
1033
- -site | --site | --sit)
1034
- ac_prev=site ;;
1035
- -site=* | --site=* | --sit=*)
1036
- site=$ac_optarg ;;
1037
-
1038
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1039
- ac_prev=srcdir ;;
1040
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1041
- srcdir=$ac_optarg ;;
1042
-
1043
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1044
- | --syscon | --sysco | --sysc | --sys | --sy)
1045
- ac_prev=sysconfdir ;;
1046
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1047
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1048
- sysconfdir=$ac_optarg ;;
1049
-
1050
- -target | --target | --targe | --targ | --tar | --ta | --t)
1051
- ac_prev=target_alias ;;
1052
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1053
- target_alias=$ac_optarg ;;
1054
-
1055
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
1056
- verbose=yes ;;
1057
-
1058
- -version | --version | --versio | --versi | --vers | -V)
1059
- ac_init_version=: ;;
1060
-
1061
- -with-* | --with-*)
1062
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1063
- # Reject names that are not valid shell variable names.
1064
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1065
- as_fn_error $? "invalid package name: \`$ac_useropt'"
1066
- ac_useropt_orig=$ac_useropt
1067
- ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1068
- case $ac_user_opts in
1069
- *"
1070
- "with_$ac_useropt"
1071
- "*) ;;
1072
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1073
- ac_unrecognized_sep=', ';;
1074
- esac
1075
- eval with_$ac_useropt=\$ac_optarg ;;
1076
-
1077
- -without-* | --without-*)
1078
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1079
- # Reject names that are not valid shell variable names.
1080
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1081
- as_fn_error $? "invalid package name: \`$ac_useropt'"
1082
- ac_useropt_orig=$ac_useropt
1083
- ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1084
- case $ac_user_opts in
1085
- *"
1086
- "with_$ac_useropt"
1087
- "*) ;;
1088
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1089
- ac_unrecognized_sep=', ';;
1090
- esac
1091
- eval with_$ac_useropt=no ;;
1092
-
1093
- --x)
1094
- # Obsolete; use --with-x.
1095
- with_x=yes ;;
1096
-
1097
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1098
- | --x-incl | --x-inc | --x-in | --x-i)
1099
- ac_prev=x_includes ;;
1100
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1101
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1102
- x_includes=$ac_optarg ;;
1103
-
1104
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
1105
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1106
- ac_prev=x_libraries ;;
1107
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1108
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1109
- x_libraries=$ac_optarg ;;
1110
-
1111
- -*) as_fn_error $? "unrecognized option: \`$ac_option'
1112
- Try \`$0 --help' for more information"
1113
- ;;
1114
-
1115
- *=*)
1116
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1117
- # Reject names that are not valid shell variable names.
1118
- case $ac_envvar in #(
1119
- '' | [0-9]* | *[!_$as_cr_alnum]* )
1120
- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1121
- esac
1122
- eval $ac_envvar=\$ac_optarg
1123
- export $ac_envvar ;;
1124
-
1125
- *)
1126
- # FIXME: should be removed in autoconf 3.0.
1127
- printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1128
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1129
- printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1130
- : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1131
- ;;
1132
-
1133
- esac
1134
- done
1135
-
1136
- if test -n "$ac_prev"; then
1137
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1138
- as_fn_error $? "missing argument to $ac_option"
1139
- fi
1140
-
1141
- if test -n "$ac_unrecognized_opts"; then
1142
- case $enable_option_checking in
1143
- no) ;;
1144
- fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1145
- *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1146
- esac
1147
- fi
1148
-
1149
- # Check all directory arguments for consistency.
1150
- for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1151
- datadir sysconfdir sharedstatedir localstatedir includedir \
1152
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1153
- libdir localedir mandir runstatedir
1154
- do
1155
- eval ac_val=\$$ac_var
1156
- # Remove trailing slashes.
1157
- case $ac_val in
1158
- */ )
1159
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1160
- eval $ac_var=\$ac_val;;
1161
- esac
1162
- # Be sure to have absolute directory names.
1163
- case $ac_val in
1164
- [\\/$]* | ?:[\\/]* ) continue;;
1165
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1166
- esac
1167
- as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1168
- done
1169
-
1170
- # There might be people who depend on the old broken behavior: `$host'
1171
- # used to hold the argument of --host etc.
1172
- # FIXME: To remove some day.
1173
- build=$build_alias
1174
- host=$host_alias
1175
- target=$target_alias
1176
-
1177
- # FIXME: To remove some day.
1178
- if test "x$host_alias" != x; then
1179
- if test "x$build_alias" = x; then
1180
- cross_compiling=maybe
1181
- elif test "x$build_alias" != "x$host_alias"; then
1182
- cross_compiling=yes
1183
- fi
1184
- fi
1185
-
1186
- ac_tool_prefix=
1187
- test -n "$host_alias" && ac_tool_prefix=$host_alias-
1188
-
1189
- test "$silent" = yes && exec 6>/dev/null
1190
-
1191
-
1192
- ac_pwd=`pwd` && test -n "$ac_pwd" &&
1193
- ac_ls_di=`ls -di .` &&
1194
- ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1195
- as_fn_error $? "working directory cannot be determined"
1196
- test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1197
- as_fn_error $? "pwd does not report name of working directory"
1198
-
1199
-
1200
- # Find the source files, if location was not specified.
1201
- if test -z "$srcdir"; then
1202
- ac_srcdir_defaulted=yes
1203
- # Try the directory containing this script, then the parent directory.
1204
- ac_confdir=`$as_dirname -- "$as_myself" ||
1205
- $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1206
- X"$as_myself" : 'X\(//\)[^/]' \| \
1207
- X"$as_myself" : 'X\(//\)$' \| \
1208
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1209
- printf "%s\n" X"$as_myself" |
1210
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1211
- s//\1/
1212
- q
1213
- }
1214
- /^X\(\/\/\)[^/].*/{
1215
- s//\1/
1216
- q
1217
- }
1218
- /^X\(\/\/\)$/{
1219
- s//\1/
1220
- q
1221
- }
1222
- /^X\(\/\).*/{
1223
- s//\1/
1224
- q
1225
- }
1226
- s/.*/./; q'`
1227
- srcdir=$ac_confdir
1228
- if test ! -r "$srcdir/$ac_unique_file"; then
1229
- srcdir=..
1230
- fi
1231
- else
1232
- ac_srcdir_defaulted=no
1233
- fi
1234
- if test ! -r "$srcdir/$ac_unique_file"; then
1235
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1236
- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1237
- fi
1238
- ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1239
- ac_abs_confdir=`(
1240
- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1241
- pwd)`
1242
- # When building in place, set srcdir=.
1243
- if test "$ac_abs_confdir" = "$ac_pwd"; then
1244
- srcdir=.
1245
- fi
1246
- # Remove unnecessary trailing slashes from srcdir.
1247
- # Double slashes in file names in object file debugging info
1248
- # mess up M-x gdb in Emacs.
1249
- case $srcdir in
1250
- */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1251
- esac
1252
- for ac_var in $ac_precious_vars; do
1253
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
1254
- eval ac_env_${ac_var}_value=\$${ac_var}
1255
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1256
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
1257
- done
1258
-
1259
- #
1260
- # Report the --help message.
1261
- #
1262
- if test "$ac_init_help" = "long"; then
1263
- # Omit some internal or obsolete options to make the list less imposing.
1264
- # This message is too long to be a string in the A/UX 3.1 sh.
1265
- cat <<_ACEOF
1266
- \`configure' configures CddInterface package to adapt to many kinds of systems.
1267
-
1268
- Usage: $0 [OPTION]... [VAR=VALUE]...
1269
-
1270
- To assign environment variables (e.g., CC, CFLAGS...), specify them as
1271
- VAR=VALUE. See below for descriptions of some of the useful variables.
1272
-
1273
- Defaults for the options are specified in brackets.
1274
-
1275
- Configuration:
1276
- -h, --help display this help and exit
1277
- --help=short display options specific to this package
1278
- --help=recursive display the short help of all the included packages
1279
- -V, --version display version information and exit
1280
- -q, --quiet, --silent do not print \`checking ...' messages
1281
- --cache-file=FILE cache test results in FILE [disabled]
1282
- -C, --config-cache alias for \`--cache-file=config.cache'
1283
- -n, --no-create do not create output files
1284
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
1285
-
1286
- Installation directories:
1287
- --prefix=PREFIX install architecture-independent files in PREFIX
1288
- [$ac_default_prefix]
1289
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1290
- [PREFIX]
1291
-
1292
- By default, \`make install' will install all the files in
1293
- \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1294
- an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1295
- for instance \`--prefix=\$HOME'.
1296
-
1297
- For better control, use the options below.
1298
-
1299
- Fine tuning of the installation directories:
1300
- --bindir=DIR user executables [EPREFIX/bin]
1301
- --sbindir=DIR system admin executables [EPREFIX/sbin]
1302
- --libexecdir=DIR program executables [EPREFIX/libexec]
1303
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1304
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1305
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1306
- --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1307
- --libdir=DIR object code libraries [EPREFIX/lib]
1308
- --includedir=DIR C header files [PREFIX/include]
1309
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
1310
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1311
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1312
- --infodir=DIR info documentation [DATAROOTDIR/info]
1313
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1314
- --mandir=DIR man documentation [DATAROOTDIR/man]
1315
- --docdir=DIR documentation root [DATAROOTDIR/doc/cddinterface]
1316
- --htmldir=DIR html documentation [DOCDIR]
1317
- --dvidir=DIR dvi documentation [DOCDIR]
1318
- --pdfdir=DIR pdf documentation [DOCDIR]
1319
- --psdir=DIR ps documentation [DOCDIR]
1320
- _ACEOF
1321
-
1322
- cat <<\_ACEOF
1323
- _ACEOF
1324
- fi
1325
-
1326
- if test -n "$ac_init_help"; then
1327
- case $ac_init_help in
1328
- short | recursive ) echo "Configuration of CddInterface package:";;
1329
- esac
1330
- cat <<\_ACEOF
1331
-
1332
- Optional Packages:
1333
- --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1334
- --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1335
- --with-gaproot=<path> specify root of GAP installation
1336
- --with-cddlib=<path> specify the path of cdd installation
1337
-
1338
- Some influential environment variables:
1339
- CC C compiler command
1340
- CFLAGS C compiler flags
1341
- LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1342
- nonstandard directory <lib dir>
1343
- LIBS libraries to pass to the linker, e.g. -l<library>
1344
- CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1345
- you have headers in a nonstandard directory <include dir>
1346
-
1347
- Use these variables to override the choices made by `configure' or to help
1348
- it to find libraries and programs with nonstandard names/locations.
1349
-
1350
- Report bugs to the package provider.
1351
- _ACEOF
1352
- ac_status=$?
1353
- fi
1354
-
1355
- if test "$ac_init_help" = "recursive"; then
1356
- # If there are subdirs, report their specific --help.
1357
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1358
- test -d "$ac_dir" ||
1359
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1360
- continue
1361
- ac_builddir=.
1362
-
1363
- case "$ac_dir" in
1364
- .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1365
- *)
1366
- ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1367
- # A ".." for each directory in $ac_dir_suffix.
1368
- ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1369
- case $ac_top_builddir_sub in
1370
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1371
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1372
- esac ;;
1373
- esac
1374
- ac_abs_top_builddir=$ac_pwd
1375
- ac_abs_builddir=$ac_pwd$ac_dir_suffix
1376
- # for backward compatibility:
1377
- ac_top_builddir=$ac_top_build_prefix
1378
-
1379
- case $srcdir in
1380
- .) # We are building in place.
1381
- ac_srcdir=.
1382
- ac_top_srcdir=$ac_top_builddir_sub
1383
- ac_abs_top_srcdir=$ac_pwd ;;
1384
- [\\/]* | ?:[\\/]* ) # Absolute name.
1385
- ac_srcdir=$srcdir$ac_dir_suffix;
1386
- ac_top_srcdir=$srcdir
1387
- ac_abs_top_srcdir=$srcdir ;;
1388
- *) # Relative name.
1389
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1390
- ac_top_srcdir=$ac_top_build_prefix$srcdir
1391
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1392
- esac
1393
- ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1394
-
1395
- cd "$ac_dir" || { ac_status=$?; continue; }
1396
- # Check for configure.gnu first; this name is used for a wrapper for
1397
- # Metaconfig's "Configure" on case-insensitive file systems.
1398
- if test -f "$ac_srcdir/configure.gnu"; then
1399
- echo &&
1400
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1401
- elif test -f "$ac_srcdir/configure"; then
1402
- echo &&
1403
- $SHELL "$ac_srcdir/configure" --help=recursive
1404
- else
1405
- printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1406
- fi || ac_status=$?
1407
- cd "$ac_pwd" || { ac_status=$?; break; }
1408
- done
1409
- fi
1410
-
1411
- test -n "$ac_init_help" && exit $ac_status
1412
- if $ac_init_version; then
1413
- cat <<\_ACEOF
1414
- CddInterface configure package
1415
- generated by GNU Autoconf 2.71
1416
-
1417
- Copyright (C) 2021 Free Software Foundation, Inc.
1418
- This configure script is free software; the Free Software Foundation
1419
- gives unlimited permission to copy, distribute and modify it.
1420
- _ACEOF
1421
- exit
1422
- fi
1423
-
1424
- ## ------------------------ ##
1425
- ## Autoconf initialization. ##
1426
- ## ------------------------ ##
1427
-
1428
- # ac_fn_c_try_compile LINENO
1429
- # --------------------------
1430
- # Try to compile conftest.$ac_ext, and return whether this succeeded.
1431
- ac_fn_c_try_compile ()
1432
- {
1433
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1434
- rm -f conftest.$ac_objext conftest.beam
1435
- if { { ac_try="$ac_compile"
1436
- case "(($ac_try" in
1437
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1438
- *) ac_try_echo=$ac_try;;
1439
- esac
1440
- eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1441
- printf "%s\n" "$ac_try_echo"; } >&5
1442
- (eval "$ac_compile") 2>conftest.err
1443
- ac_status=$?
1444
- if test -s conftest.err; then
1445
- grep -v '^ *+' conftest.err >conftest.er1
1446
- cat conftest.er1 >&5
1447
- mv -f conftest.er1 conftest.err
1448
- fi
1449
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1450
- test $ac_status = 0; } && {
1451
- test -z "$ac_c_werror_flag" ||
1452
- test ! -s conftest.err
1453
- } && test -s conftest.$ac_objext
1454
- then :
1455
- ac_retval=0
1456
- else $as_nop
1457
- printf "%s\n" "$as_me: failed program was:" >&5
1458
- sed 's/^/| /' conftest.$ac_ext >&5
1459
-
1460
- ac_retval=1
1461
- fi
1462
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1463
- as_fn_set_status $ac_retval
1464
-
1465
- } # ac_fn_c_try_compile
1466
-
1467
- # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1468
- # -------------------------------------------------------
1469
- # Tests whether HEADER exists and can be compiled using the include files in
1470
- # INCLUDES, setting the cache variable VAR accordingly.
1471
- ac_fn_c_check_header_compile ()
1472
- {
1473
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1474
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1475
- printf %s "checking for $2... " >&6; }
1476
- if eval test \${$3+y}
1477
- then :
1478
- printf %s "(cached) " >&6
1479
- else $as_nop
1480
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1481
- /* end confdefs.h. */
1482
- $4
1483
- #include <$2>
1484
- _ACEOF
1485
- if ac_fn_c_try_compile "$LINENO"
1486
- then :
1487
- eval "$3=yes"
1488
- else $as_nop
1489
- eval "$3=no"
1490
- fi
1491
- rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1492
- fi
1493
- eval ac_res=\$$3
1494
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1495
- printf "%s\n" "$ac_res" >&6; }
1496
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1497
-
1498
- } # ac_fn_c_check_header_compile
1499
-
1500
- # ac_fn_c_try_link LINENO
1501
- # -----------------------
1502
- # Try to link conftest.$ac_ext, and return whether this succeeded.
1503
- ac_fn_c_try_link ()
1504
- {
1505
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1506
- rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1507
- if { { ac_try="$ac_link"
1508
- case "(($ac_try" in
1509
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1510
- *) ac_try_echo=$ac_try;;
1511
- esac
1512
- eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1513
- printf "%s\n" "$ac_try_echo"; } >&5
1514
- (eval "$ac_link") 2>conftest.err
1515
- ac_status=$?
1516
- if test -s conftest.err; then
1517
- grep -v '^ *+' conftest.err >conftest.er1
1518
- cat conftest.er1 >&5
1519
- mv -f conftest.er1 conftest.err
1520
- fi
1521
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1522
- test $ac_status = 0; } && {
1523
- test -z "$ac_c_werror_flag" ||
1524
- test ! -s conftest.err
1525
- } && test -s conftest$ac_exeext && {
1526
- test "$cross_compiling" = yes ||
1527
- test -x conftest$ac_exeext
1528
- }
1529
- then :
1530
- ac_retval=0
1531
- else $as_nop
1532
- printf "%s\n" "$as_me: failed program was:" >&5
1533
- sed 's/^/| /' conftest.$ac_ext >&5
1534
-
1535
- ac_retval=1
1536
- fi
1537
- # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1538
- # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1539
- # interfere with the next link command; also delete a directory that is
1540
- # left behind by Apple's compiler. We do this before executing the actions.
1541
- rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1542
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1543
- as_fn_set_status $ac_retval
1544
-
1545
- } # ac_fn_c_try_link
1546
- ac_configure_args_raw=
1547
- for ac_arg
1548
- do
1549
- case $ac_arg in
1550
- *\'*)
1551
- ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1552
- esac
1553
- as_fn_append ac_configure_args_raw " '$ac_arg'"
1554
- done
1555
-
1556
- case $ac_configure_args_raw in
1557
- *$as_nl*)
1558
- ac_safe_unquote= ;;
1559
- *)
1560
- ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1561
- ac_unsafe_a="$ac_unsafe_z#~"
1562
- ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1563
- ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1564
- esac
1565
-
1566
- cat >config.log <<_ACEOF
1567
- This file contains any messages produced by compilers while
1568
- running configure, to aid debugging if configure makes a mistake.
1569
-
1570
- It was created by CddInterface $as_me package, which was
1571
- generated by GNU Autoconf 2.71. Invocation command line was
1572
-
1573
- $ $0$ac_configure_args_raw
1574
-
1575
- _ACEOF
1576
- exec 5>>config.log
1577
- {
1578
- cat <<_ASUNAME
1579
- ## --------- ##
1580
- ## Platform. ##
1581
- ## --------- ##
1582
-
1583
- hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1584
- uname -m = `(uname -m) 2>/dev/null || echo unknown`
1585
- uname -r = `(uname -r) 2>/dev/null || echo unknown`
1586
- uname -s = `(uname -s) 2>/dev/null || echo unknown`
1587
- uname -v = `(uname -v) 2>/dev/null || echo unknown`
1588
-
1589
- /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1590
- /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1591
-
1592
- /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1593
- /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1594
- /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1595
- /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1596
- /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1597
- /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1598
- /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1599
-
1600
- _ASUNAME
1601
-
1602
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1603
- for as_dir in $PATH
1604
- do
1605
- IFS=$as_save_IFS
1606
- case $as_dir in #(((
1607
- '') as_dir=./ ;;
1608
- */) ;;
1609
- *) as_dir=$as_dir/ ;;
1610
- esac
1611
- printf "%s\n" "PATH: $as_dir"
1612
- done
1613
- IFS=$as_save_IFS
1614
-
1615
- } >&5
1616
-
1617
- cat >&5 <<_ACEOF
1618
-
1619
-
1620
- ## ----------- ##
1621
- ## Core tests. ##
1622
- ## ----------- ##
1623
-
1624
- _ACEOF
1625
-
1626
-
1627
- # Keep a trace of the command line.
1628
- # Strip out --no-create and --no-recursion so they do not pile up.
1629
- # Strip out --silent because we don't want to record it for future runs.
1630
- # Also quote any args containing shell meta-characters.
1631
- # Make two passes to allow for proper duplicate-argument suppression.
1632
- ac_configure_args=
1633
- ac_configure_args0=
1634
- ac_configure_args1=
1635
- ac_must_keep_next=false
1636
- for ac_pass in 1 2
1637
- do
1638
- for ac_arg
1639
- do
1640
- case $ac_arg in
1641
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1642
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1643
- | -silent | --silent | --silen | --sile | --sil)
1644
- continue ;;
1645
- *\'*)
1646
- ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1647
- esac
1648
- case $ac_pass in
1649
- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1650
- 2)
1651
- as_fn_append ac_configure_args1 " '$ac_arg'"
1652
- if test $ac_must_keep_next = true; then
1653
- ac_must_keep_next=false # Got value, back to normal.
1654
- else
1655
- case $ac_arg in
1656
- *=* | --config-cache | -C | -disable-* | --disable-* \
1657
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1658
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1659
- | -with-* | --with-* | -without-* | --without-* | --x)
1660
- case "$ac_configure_args0 " in
1661
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1662
- esac
1663
- ;;
1664
- -* ) ac_must_keep_next=true ;;
1665
- esac
1666
- fi
1667
- as_fn_append ac_configure_args " '$ac_arg'"
1668
- ;;
1669
- esac
1670
- done
1671
- done
1672
- { ac_configure_args0=; unset ac_configure_args0;}
1673
- { ac_configure_args1=; unset ac_configure_args1;}
1674
-
1675
- # When interrupted or exit'd, cleanup temporary files, and complete
1676
- # config.log. We remove comments because anyway the quotes in there
1677
- # would cause problems or look ugly.
1678
- # WARNING: Use '\'' to represent an apostrophe within the trap.
1679
- # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1680
- trap 'exit_status=$?
1681
- # Sanitize IFS.
1682
- IFS=" "" $as_nl"
1683
- # Save into config.log some information that might help in debugging.
1684
- {
1685
- echo
1686
-
1687
- printf "%s\n" "## ---------------- ##
1688
- ## Cache variables. ##
1689
- ## ---------------- ##"
1690
- echo
1691
- # The following way of writing the cache mishandles newlines in values,
1692
- (
1693
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1694
- eval ac_val=\$$ac_var
1695
- case $ac_val in #(
1696
- *${as_nl}*)
1697
- case $ac_var in #(
1698
- *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1699
- printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1700
- esac
1701
- case $ac_var in #(
1702
- _ | IFS | as_nl) ;; #(
1703
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1704
- *) { eval $ac_var=; unset $ac_var;} ;;
1705
- esac ;;
1706
- esac
1707
- done
1708
- (set) 2>&1 |
1709
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1710
- *${as_nl}ac_space=\ *)
1711
- sed -n \
1712
- "s/'\''/'\''\\\\'\'''\''/g;
1713
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1714
- ;; #(
1715
- *)
1716
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1717
- ;;
1718
- esac |
1719
- sort
1720
- )
1721
- echo
1722
-
1723
- printf "%s\n" "## ----------------- ##
1724
- ## Output variables. ##
1725
- ## ----------------- ##"
1726
- echo
1727
- for ac_var in $ac_subst_vars
1728
- do
1729
- eval ac_val=\$$ac_var
1730
- case $ac_val in
1731
- *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1732
- esac
1733
- printf "%s\n" "$ac_var='\''$ac_val'\''"
1734
- done | sort
1735
- echo
1736
-
1737
- if test -n "$ac_subst_files"; then
1738
- printf "%s\n" "## ------------------- ##
1739
- ## File substitutions. ##
1740
- ## ------------------- ##"
1741
- echo
1742
- for ac_var in $ac_subst_files
1743
- do
1744
- eval ac_val=\$$ac_var
1745
- case $ac_val in
1746
- *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1747
- esac
1748
- printf "%s\n" "$ac_var='\''$ac_val'\''"
1749
- done | sort
1750
- echo
1751
- fi
1752
-
1753
- if test -s confdefs.h; then
1754
- printf "%s\n" "## ----------- ##
1755
- ## confdefs.h. ##
1756
- ## ----------- ##"
1757
- echo
1758
- cat confdefs.h
1759
- echo
1760
- fi
1761
- test "$ac_signal" != 0 &&
1762
- printf "%s\n" "$as_me: caught signal $ac_signal"
1763
- printf "%s\n" "$as_me: exit $exit_status"
1764
- } >&5
1765
- rm -f core *.core core.conftest.* &&
1766
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1767
- exit $exit_status
1768
- ' 0
1769
- for ac_signal in 1 2 13 15; do
1770
- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1771
- done
1772
- ac_signal=0
1773
-
1774
- # confdefs.h avoids OS command line length limits that DEFS can exceed.
1775
- rm -f -r conftest* confdefs.h
1776
-
1777
- printf "%s\n" "/* confdefs.h */" > confdefs.h
1778
-
1779
- # Predefined preprocessor variables.
1780
-
1781
- printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1782
-
1783
- printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1784
-
1785
- printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1786
-
1787
- printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1788
-
1789
- printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1790
-
1791
- printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1792
-
1793
-
1794
- # Let the site file select an alternate cache file if it wants to.
1795
- # Prefer an explicitly selected file to automatically selected ones.
1796
- if test -n "$CONFIG_SITE"; then
1797
- ac_site_files="$CONFIG_SITE"
1798
- elif test "x$prefix" != xNONE; then
1799
- ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1800
- else
1801
- ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1802
- fi
1803
-
1804
- for ac_site_file in $ac_site_files
1805
- do
1806
- case $ac_site_file in #(
1807
- */*) :
1808
- ;; #(
1809
- *) :
1810
- ac_site_file=./$ac_site_file ;;
1811
- esac
1812
- if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1813
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1814
- printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1815
- sed 's/^/| /' "$ac_site_file" >&5
1816
- . "$ac_site_file" \
1817
- || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1818
- printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1819
- as_fn_error $? "failed to load site script $ac_site_file
1820
- See \`config.log' for more details" "$LINENO" 5; }
1821
- fi
1822
- done
1823
-
1824
- if test -r "$cache_file"; then
1825
- # Some versions of bash will fail to source /dev/null (special files
1826
- # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1827
- if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1828
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1829
- printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1830
- case $cache_file in
1831
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
1832
- *) . "./$cache_file";;
1833
- esac
1834
- fi
1835
- else
1836
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1837
- printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1838
- >$cache_file
1839
- fi
1840
-
1841
- # Test code for whether the C compiler supports C89 (global declarations)
1842
- ac_c_conftest_c89_globals='
1843
- /* Does the compiler advertise C89 conformance?
1844
- Do not test the value of __STDC__, because some compilers set it to 0
1845
- while being otherwise adequately conformant. */
1846
- #if !defined __STDC__
1847
- # error "Compiler does not advertise C89 conformance"
1848
- #endif
1849
-
1850
- #include <stddef.h>
1851
- #include <stdarg.h>
1852
- struct stat;
1853
- /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
1854
- struct buf { int x; };
1855
- struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1856
- static char *e (p, i)
1857
- char **p;
1858
- int i;
1859
- {
1860
- return p[i];
1861
- }
1862
- static char *f (char * (*g) (char **, int), char **p, ...)
1863
- {
1864
- char *s;
1865
- va_list v;
1866
- va_start (v,p);
1867
- s = g (p, va_arg (v,int));
1868
- va_end (v);
1869
- return s;
1870
- }
1871
-
1872
- /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1873
- function prototypes and stuff, but not \xHH hex character constants.
1874
- These do not provoke an error unfortunately, instead are silently treated
1875
- as an "x". The following induces an error, until -std is added to get
1876
- proper ANSI mode. Curiously \x00 != x always comes out true, for an
1877
- array size at least. It is necessary to write \x00 == 0 to get something
1878
- that is true only with -std. */
1879
- int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
1880
-
1881
- /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1882
- inside strings and character constants. */
1883
- #define FOO(x) '\''x'\''
1884
- int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
1885
-
1886
- int test (int i, double x);
1887
- struct s1 {int (*f) (int a);};
1888
- struct s2 {int (*f) (double a);};
1889
- int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1890
- int, int);'
1891
-
1892
- # Test code for whether the C compiler supports C89 (body of main).
1893
- ac_c_conftest_c89_main='
1894
- ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1895
- '
1896
-
1897
- # Test code for whether the C compiler supports C99 (global declarations)
1898
- ac_c_conftest_c99_globals='
1899
- // Does the compiler advertise C99 conformance?
1900
- #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1901
- # error "Compiler does not advertise C99 conformance"
1902
- #endif
1903
-
1904
- #include <stdbool.h>
1905
- extern int puts (const char *);
1906
- extern int printf (const char *, ...);
1907
- extern int dprintf (int, const char *, ...);
1908
- extern void *malloc (size_t);
1909
-
1910
- // Check varargs macros. These examples are taken from C99 6.10.3.5.
1911
- // dprintf is used instead of fprintf to avoid needing to declare
1912
- // FILE and stderr.
1913
- #define debug(...) dprintf (2, __VA_ARGS__)
1914
- #define showlist(...) puts (#__VA_ARGS__)
1915
- #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1916
- static void
1917
- test_varargs_macros (void)
1918
- {
1919
- int x = 1234;
1920
- int y = 5678;
1921
- debug ("Flag");
1922
- debug ("X = %d\n", x);
1923
- showlist (The first, second, and third items.);
1924
- report (x>y, "x is %d but y is %d", x, y);
1925
- }
1926
-
1927
- // Check long long types.
1928
- #define BIG64 18446744073709551615ull
1929
- #define BIG32 4294967295ul
1930
- #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1931
- #if !BIG_OK
1932
- #error "your preprocessor is broken"
1933
- #endif
1934
- #if BIG_OK
1935
- #else
1936
- #error "your preprocessor is broken"
1937
- #endif
1938
- static long long int bignum = -9223372036854775807LL;
1939
- static unsigned long long int ubignum = BIG64;
1940
-
1941
- struct incomplete_array
1942
- {
1943
- int datasize;
1944
- double data[];
1945
- };
1946
-
1947
- struct named_init {
1948
- int number;
1949
- const wchar_t *name;
1950
- double average;
1951
- };
1952
-
1953
- typedef const char *ccp;
1954
-
1955
- static inline int
1956
- test_restrict (ccp restrict text)
1957
- {
1958
- // See if C++-style comments work.
1959
- // Iterate through items via the restricted pointer.
1960
- // Also check for declarations in for loops.
1961
- for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
1962
- continue;
1963
- return 0;
1964
- }
1965
-
1966
- // Check varargs and va_copy.
1967
- static bool
1968
- test_varargs (const char *format, ...)
1969
- {
1970
- va_list args;
1971
- va_start (args, format);
1972
- va_list args_copy;
1973
- va_copy (args_copy, args);
1974
-
1975
- const char *str = "";
1976
- int number = 0;
1977
- float fnumber = 0;
1978
-
1979
- while (*format)
1980
- {
1981
- switch (*format++)
1982
- {
1983
- case '\''s'\'': // string
1984
- str = va_arg (args_copy, const char *);
1985
- break;
1986
- case '\''d'\'': // int
1987
- number = va_arg (args_copy, int);
1988
- break;
1989
- case '\''f'\'': // float
1990
- fnumber = va_arg (args_copy, double);
1991
- break;
1992
- default:
1993
- break;
1994
- }
1995
- }
1996
- va_end (args_copy);
1997
- va_end (args);
1998
-
1999
- return *str && number && fnumber;
2000
- }
2001
- '
2002
-
2003
- # Test code for whether the C compiler supports C99 (body of main).
2004
- ac_c_conftest_c99_main='
2005
- // Check bool.
2006
- _Bool success = false;
2007
- success |= (argc != 0);
2008
-
2009
- // Check restrict.
2010
- if (test_restrict ("String literal") == 0)
2011
- success = true;
2012
- char *restrict newvar = "Another string";
2013
-
2014
- // Check varargs.
2015
- success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2016
- test_varargs_macros ();
2017
-
2018
- // Check flexible array members.
2019
- struct incomplete_array *ia =
2020
- malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2021
- ia->datasize = 10;
2022
- for (int i = 0; i < ia->datasize; ++i)
2023
- ia->data[i] = i * 1.234;
2024
-
2025
- // Check named initializers.
2026
- struct named_init ni = {
2027
- .number = 34,
2028
- .name = L"Test wide string",
2029
- .average = 543.34343,
2030
- };
2031
-
2032
- ni.number = 58;
2033
-
2034
- int dynamic_array[ni.number];
2035
- dynamic_array[0] = argv[0][0];
2036
- dynamic_array[ni.number - 1] = 543;
2037
-
2038
- // work around unused variable warnings
2039
- ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2040
- || dynamic_array[ni.number - 1] != 543);
2041
- '
2042
-
2043
- # Test code for whether the C compiler supports C11 (global declarations)
2044
- ac_c_conftest_c11_globals='
2045
- // Does the compiler advertise C11 conformance?
2046
- #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2047
- # error "Compiler does not advertise C11 conformance"
2048
- #endif
2049
-
2050
- // Check _Alignas.
2051
- char _Alignas (double) aligned_as_double;
2052
- char _Alignas (0) no_special_alignment;
2053
- extern char aligned_as_int;
2054
- char _Alignas (0) _Alignas (int) aligned_as_int;
2055
-
2056
- // Check _Alignof.
2057
- enum
2058
- {
2059
- int_alignment = _Alignof (int),
2060
- int_array_alignment = _Alignof (int[100]),
2061
- char_alignment = _Alignof (char)
2062
- };
2063
- _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2064
-
2065
- // Check _Noreturn.
2066
- int _Noreturn does_not_return (void) { for (;;) continue; }
2067
-
2068
- // Check _Static_assert.
2069
- struct test_static_assert
2070
- {
2071
- int x;
2072
- _Static_assert (sizeof (int) <= sizeof (long int),
2073
- "_Static_assert does not work in struct");
2074
- long int y;
2075
- };
2076
-
2077
- // Check UTF-8 literals.
2078
- #define u8 syntax error!
2079
- char const utf8_literal[] = u8"happens to be ASCII" "another string";
2080
-
2081
- // Check duplicate typedefs.
2082
- typedef long *long_ptr;
2083
- typedef long int *long_ptr;
2084
- typedef long_ptr long_ptr;
2085
-
2086
- // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2087
- struct anonymous
2088
- {
2089
- union {
2090
- struct { int i; int j; };
2091
- struct { int k; long int l; } w;
2092
- };
2093
- int m;
2094
- } v1;
2095
- '
2096
-
2097
- # Test code for whether the C compiler supports C11 (body of main).
2098
- ac_c_conftest_c11_main='
2099
- _Static_assert ((offsetof (struct anonymous, i)
2100
- == offsetof (struct anonymous, w.k)),
2101
- "Anonymous union alignment botch");
2102
- v1.i = 2;
2103
- v1.w.k = 5;
2104
- ok |= v1.i != 5;
2105
- '
2106
-
2107
- # Test code for whether the C compiler supports C11 (complete).
2108
- ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2109
- ${ac_c_conftest_c99_globals}
2110
- ${ac_c_conftest_c11_globals}
2111
-
2112
- int
2113
- main (int argc, char **argv)
2114
- {
2115
- int ok = 0;
2116
- ${ac_c_conftest_c89_main}
2117
- ${ac_c_conftest_c99_main}
2118
- ${ac_c_conftest_c11_main}
2119
- return ok;
2120
- }
2121
- "
2122
-
2123
- # Test code for whether the C compiler supports C99 (complete).
2124
- ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2125
- ${ac_c_conftest_c99_globals}
2126
-
2127
- int
2128
- main (int argc, char **argv)
2129
- {
2130
- int ok = 0;
2131
- ${ac_c_conftest_c89_main}
2132
- ${ac_c_conftest_c99_main}
2133
- return ok;
2134
- }
2135
- "
2136
-
2137
- # Test code for whether the C compiler supports C89 (complete).
2138
- ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2139
-
2140
- int
2141
- main (int argc, char **argv)
2142
- {
2143
- int ok = 0;
2144
- ${ac_c_conftest_c89_main}
2145
- return ok;
2146
- }
2147
- "
2148
-
2149
- as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2150
- as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2151
- as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2152
- as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2153
- as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2154
- as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2155
- as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2156
- as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2157
- as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2158
- # Check that the precious variables saved in the cache have kept the same
2159
- # value.
2160
- ac_cache_corrupted=false
2161
- for ac_var in $ac_precious_vars; do
2162
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
2163
- eval ac_new_set=\$ac_env_${ac_var}_set
2164
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
2165
- eval ac_new_val=\$ac_env_${ac_var}_value
2166
- case $ac_old_set,$ac_new_set in
2167
- set,)
2168
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2169
- printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2170
- ac_cache_corrupted=: ;;
2171
- ,set)
2172
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2173
- printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2174
- ac_cache_corrupted=: ;;
2175
- ,);;
2176
- *)
2177
- if test "x$ac_old_val" != "x$ac_new_val"; then
2178
- # differences in whitespace do not lead to failure.
2179
- ac_old_val_w=`echo x $ac_old_val`
2180
- ac_new_val_w=`echo x $ac_new_val`
2181
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
2182
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2183
- printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2184
- ac_cache_corrupted=:
2185
- else
2186
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2187
- printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2188
- eval $ac_var=\$ac_old_val
2189
- fi
2190
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2191
- printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2192
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2193
- printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2194
- fi;;
2195
- esac
2196
- # Pass precious variables to config.status.
2197
- if test "$ac_new_set" = set; then
2198
- case $ac_new_val in
2199
- *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2200
- *) ac_arg=$ac_var=$ac_new_val ;;
2201
- esac
2202
- case " $ac_configure_args " in
2203
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2204
- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2205
- esac
2206
- fi
2207
- done
2208
- if $ac_cache_corrupted; then
2209
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2210
- printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2211
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2212
- printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2213
- as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2214
- and start over" "$LINENO" 5
2215
- fi
2216
- ## -------------------- ##
2217
- ## Main body of script. ##
2218
- ## -------------------- ##
2219
-
2220
- ac_ext=c
2221
- ac_cpp='$CPP $CPPFLAGS'
2222
- ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2223
- ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2224
- ac_compiler_gnu=$ac_cv_c_compiler_gnu
2225
-
2226
-
2227
-
2228
-
2229
- ac_config_headers="$ac_config_headers src/config.h"
2230
-
2231
- # Find the location of GAP
2232
- # Sets GAPROOT, GAPARCH and GAP_CPPFLAGS appropriately
2233
- # Can be configured using --with-gaproot=...
2234
- #######################################################################
2235
-
2236
-
2237
-
2238
-
2239
-
2240
-
2241
-
2242
-
2243
-
2244
-
2245
-
2246
-
2247
-
2248
- ac_ext=c
2249
- ac_cpp='$CPP $CPPFLAGS'
2250
- ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2251
- ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2252
- ac_compiler_gnu=$ac_cv_c_compiler_gnu
2253
- if test -n "$ac_tool_prefix"; then
2254
- # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2255
- set dummy ${ac_tool_prefix}gcc; ac_word=$2
2256
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2257
- printf %s "checking for $ac_word... " >&6; }
2258
- if test ${ac_cv_prog_CC+y}
2259
- then :
2260
- printf %s "(cached) " >&6
2261
- else $as_nop
2262
- if test -n "$CC"; then
2263
- ac_cv_prog_CC="$CC" # Let the user override the test.
2264
- else
2265
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266
- for as_dir in $PATH
2267
- do
2268
- IFS=$as_save_IFS
2269
- case $as_dir in #(((
2270
- '') as_dir=./ ;;
2271
- */) ;;
2272
- *) as_dir=$as_dir/ ;;
2273
- esac
2274
- for ac_exec_ext in '' $ac_executable_extensions; do
2275
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2276
- ac_cv_prog_CC="${ac_tool_prefix}gcc"
2277
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2278
- break 2
2279
- fi
2280
- done
2281
- done
2282
- IFS=$as_save_IFS
2283
-
2284
- fi
2285
- fi
2286
- CC=$ac_cv_prog_CC
2287
- if test -n "$CC"; then
2288
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2289
- printf "%s\n" "$CC" >&6; }
2290
- else
2291
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2292
- printf "%s\n" "no" >&6; }
2293
- fi
2294
-
2295
-
2296
- fi
2297
- if test -z "$ac_cv_prog_CC"; then
2298
- ac_ct_CC=$CC
2299
- # Extract the first word of "gcc", so it can be a program name with args.
2300
- set dummy gcc; ac_word=$2
2301
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2302
- printf %s "checking for $ac_word... " >&6; }
2303
- if test ${ac_cv_prog_ac_ct_CC+y}
2304
- then :
2305
- printf %s "(cached) " >&6
2306
- else $as_nop
2307
- if test -n "$ac_ct_CC"; then
2308
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2309
- else
2310
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2311
- for as_dir in $PATH
2312
- do
2313
- IFS=$as_save_IFS
2314
- case $as_dir in #(((
2315
- '') as_dir=./ ;;
2316
- */) ;;
2317
- *) as_dir=$as_dir/ ;;
2318
- esac
2319
- for ac_exec_ext in '' $ac_executable_extensions; do
2320
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2321
- ac_cv_prog_ac_ct_CC="gcc"
2322
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2323
- break 2
2324
- fi
2325
- done
2326
- done
2327
- IFS=$as_save_IFS
2328
-
2329
- fi
2330
- fi
2331
- ac_ct_CC=$ac_cv_prog_ac_ct_CC
2332
- if test -n "$ac_ct_CC"; then
2333
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2334
- printf "%s\n" "$ac_ct_CC" >&6; }
2335
- else
2336
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2337
- printf "%s\n" "no" >&6; }
2338
- fi
2339
-
2340
- if test "x$ac_ct_CC" = x; then
2341
- CC=""
2342
- else
2343
- case $cross_compiling:$ac_tool_warned in
2344
- yes:)
2345
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2346
- printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2347
- ac_tool_warned=yes ;;
2348
- esac
2349
- CC=$ac_ct_CC
2350
- fi
2351
- else
2352
- CC="$ac_cv_prog_CC"
2353
- fi
2354
-
2355
- if test -z "$CC"; then
2356
- if test -n "$ac_tool_prefix"; then
2357
- # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2358
- set dummy ${ac_tool_prefix}cc; ac_word=$2
2359
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2360
- printf %s "checking for $ac_word... " >&6; }
2361
- if test ${ac_cv_prog_CC+y}
2362
- then :
2363
- printf %s "(cached) " >&6
2364
- else $as_nop
2365
- if test -n "$CC"; then
2366
- ac_cv_prog_CC="$CC" # Let the user override the test.
2367
- else
2368
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2369
- for as_dir in $PATH
2370
- do
2371
- IFS=$as_save_IFS
2372
- case $as_dir in #(((
2373
- '') as_dir=./ ;;
2374
- */) ;;
2375
- *) as_dir=$as_dir/ ;;
2376
- esac
2377
- for ac_exec_ext in '' $ac_executable_extensions; do
2378
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2379
- ac_cv_prog_CC="${ac_tool_prefix}cc"
2380
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2381
- break 2
2382
- fi
2383
- done
2384
- done
2385
- IFS=$as_save_IFS
2386
-
2387
- fi
2388
- fi
2389
- CC=$ac_cv_prog_CC
2390
- if test -n "$CC"; then
2391
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2392
- printf "%s\n" "$CC" >&6; }
2393
- else
2394
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2395
- printf "%s\n" "no" >&6; }
2396
- fi
2397
-
2398
-
2399
- fi
2400
- fi
2401
- if test -z "$CC"; then
2402
- # Extract the first word of "cc", so it can be a program name with args.
2403
- set dummy cc; ac_word=$2
2404
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2405
- printf %s "checking for $ac_word... " >&6; }
2406
- if test ${ac_cv_prog_CC+y}
2407
- then :
2408
- printf %s "(cached) " >&6
2409
- else $as_nop
2410
- if test -n "$CC"; then
2411
- ac_cv_prog_CC="$CC" # Let the user override the test.
2412
- else
2413
- ac_prog_rejected=no
2414
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2415
- for as_dir in $PATH
2416
- do
2417
- IFS=$as_save_IFS
2418
- case $as_dir in #(((
2419
- '') as_dir=./ ;;
2420
- */) ;;
2421
- *) as_dir=$as_dir/ ;;
2422
- esac
2423
- for ac_exec_ext in '' $ac_executable_extensions; do
2424
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2425
- if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2426
- ac_prog_rejected=yes
2427
- continue
2428
- fi
2429
- ac_cv_prog_CC="cc"
2430
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2431
- break 2
2432
- fi
2433
- done
2434
- done
2435
- IFS=$as_save_IFS
2436
-
2437
- if test $ac_prog_rejected = yes; then
2438
- # We found a bogon in the path, so make sure we never use it.
2439
- set dummy $ac_cv_prog_CC
2440
- shift
2441
- if test $# != 0; then
2442
- # We chose a different compiler from the bogus one.
2443
- # However, it has the same basename, so the bogon will be chosen
2444
- # first if we set CC to just the basename; use the full file name.
2445
- shift
2446
- ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
2447
- fi
2448
- fi
2449
- fi
2450
- fi
2451
- CC=$ac_cv_prog_CC
2452
- if test -n "$CC"; then
2453
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2454
- printf "%s\n" "$CC" >&6; }
2455
- else
2456
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2457
- printf "%s\n" "no" >&6; }
2458
- fi
2459
-
2460
-
2461
- fi
2462
- if test -z "$CC"; then
2463
- if test -n "$ac_tool_prefix"; then
2464
- for ac_prog in cl.exe
2465
- do
2466
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2467
- set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2468
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2469
- printf %s "checking for $ac_word... " >&6; }
2470
- if test ${ac_cv_prog_CC+y}
2471
- then :
2472
- printf %s "(cached) " >&6
2473
- else $as_nop
2474
- if test -n "$CC"; then
2475
- ac_cv_prog_CC="$CC" # Let the user override the test.
2476
- else
2477
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2478
- for as_dir in $PATH
2479
- do
2480
- IFS=$as_save_IFS
2481
- case $as_dir in #(((
2482
- '') as_dir=./ ;;
2483
- */) ;;
2484
- *) as_dir=$as_dir/ ;;
2485
- esac
2486
- for ac_exec_ext in '' $ac_executable_extensions; do
2487
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2488
- ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2489
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2490
- break 2
2491
- fi
2492
- done
2493
- done
2494
- IFS=$as_save_IFS
2495
-
2496
- fi
2497
- fi
2498
- CC=$ac_cv_prog_CC
2499
- if test -n "$CC"; then
2500
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2501
- printf "%s\n" "$CC" >&6; }
2502
- else
2503
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2504
- printf "%s\n" "no" >&6; }
2505
- fi
2506
-
2507
-
2508
- test -n "$CC" && break
2509
- done
2510
- fi
2511
- if test -z "$CC"; then
2512
- ac_ct_CC=$CC
2513
- for ac_prog in cl.exe
2514
- do
2515
- # Extract the first word of "$ac_prog", so it can be a program name with args.
2516
- set dummy $ac_prog; ac_word=$2
2517
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2518
- printf %s "checking for $ac_word... " >&6; }
2519
- if test ${ac_cv_prog_ac_ct_CC+y}
2520
- then :
2521
- printf %s "(cached) " >&6
2522
- else $as_nop
2523
- if test -n "$ac_ct_CC"; then
2524
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2525
- else
2526
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2527
- for as_dir in $PATH
2528
- do
2529
- IFS=$as_save_IFS
2530
- case $as_dir in #(((
2531
- '') as_dir=./ ;;
2532
- */) ;;
2533
- *) as_dir=$as_dir/ ;;
2534
- esac
2535
- for ac_exec_ext in '' $ac_executable_extensions; do
2536
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2537
- ac_cv_prog_ac_ct_CC="$ac_prog"
2538
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2539
- break 2
2540
- fi
2541
- done
2542
- done
2543
- IFS=$as_save_IFS
2544
-
2545
- fi
2546
- fi
2547
- ac_ct_CC=$ac_cv_prog_ac_ct_CC
2548
- if test -n "$ac_ct_CC"; then
2549
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2550
- printf "%s\n" "$ac_ct_CC" >&6; }
2551
- else
2552
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2553
- printf "%s\n" "no" >&6; }
2554
- fi
2555
-
2556
-
2557
- test -n "$ac_ct_CC" && break
2558
- done
2559
-
2560
- if test "x$ac_ct_CC" = x; then
2561
- CC=""
2562
- else
2563
- case $cross_compiling:$ac_tool_warned in
2564
- yes:)
2565
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2566
- printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2567
- ac_tool_warned=yes ;;
2568
- esac
2569
- CC=$ac_ct_CC
2570
- fi
2571
- fi
2572
-
2573
- fi
2574
- if test -z "$CC"; then
2575
- if test -n "$ac_tool_prefix"; then
2576
- # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
2577
- set dummy ${ac_tool_prefix}clang; ac_word=$2
2578
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2579
- printf %s "checking for $ac_word... " >&6; }
2580
- if test ${ac_cv_prog_CC+y}
2581
- then :
2582
- printf %s "(cached) " >&6
2583
- else $as_nop
2584
- if test -n "$CC"; then
2585
- ac_cv_prog_CC="$CC" # Let the user override the test.
2586
- else
2587
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2588
- for as_dir in $PATH
2589
- do
2590
- IFS=$as_save_IFS
2591
- case $as_dir in #(((
2592
- '') as_dir=./ ;;
2593
- */) ;;
2594
- *) as_dir=$as_dir/ ;;
2595
- esac
2596
- for ac_exec_ext in '' $ac_executable_extensions; do
2597
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2598
- ac_cv_prog_CC="${ac_tool_prefix}clang"
2599
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2600
- break 2
2601
- fi
2602
- done
2603
- done
2604
- IFS=$as_save_IFS
2605
-
2606
- fi
2607
- fi
2608
- CC=$ac_cv_prog_CC
2609
- if test -n "$CC"; then
2610
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2611
- printf "%s\n" "$CC" >&6; }
2612
- else
2613
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2614
- printf "%s\n" "no" >&6; }
2615
- fi
2616
-
2617
-
2618
- fi
2619
- if test -z "$ac_cv_prog_CC"; then
2620
- ac_ct_CC=$CC
2621
- # Extract the first word of "clang", so it can be a program name with args.
2622
- set dummy clang; ac_word=$2
2623
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2624
- printf %s "checking for $ac_word... " >&6; }
2625
- if test ${ac_cv_prog_ac_ct_CC+y}
2626
- then :
2627
- printf %s "(cached) " >&6
2628
- else $as_nop
2629
- if test -n "$ac_ct_CC"; then
2630
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2631
- else
2632
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2633
- for as_dir in $PATH
2634
- do
2635
- IFS=$as_save_IFS
2636
- case $as_dir in #(((
2637
- '') as_dir=./ ;;
2638
- */) ;;
2639
- *) as_dir=$as_dir/ ;;
2640
- esac
2641
- for ac_exec_ext in '' $ac_executable_extensions; do
2642
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2643
- ac_cv_prog_ac_ct_CC="clang"
2644
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2645
- break 2
2646
- fi
2647
- done
2648
- done
2649
- IFS=$as_save_IFS
2650
-
2651
- fi
2652
- fi
2653
- ac_ct_CC=$ac_cv_prog_ac_ct_CC
2654
- if test -n "$ac_ct_CC"; then
2655
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2656
- printf "%s\n" "$ac_ct_CC" >&6; }
2657
- else
2658
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2659
- printf "%s\n" "no" >&6; }
2660
- fi
2661
-
2662
- if test "x$ac_ct_CC" = x; then
2663
- CC=""
2664
- else
2665
- case $cross_compiling:$ac_tool_warned in
2666
- yes:)
2667
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2668
- printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2669
- ac_tool_warned=yes ;;
2670
- esac
2671
- CC=$ac_ct_CC
2672
- fi
2673
- else
2674
- CC="$ac_cv_prog_CC"
2675
- fi
2676
-
2677
- fi
2678
-
2679
-
2680
- test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2681
- printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2682
- as_fn_error $? "no acceptable C compiler found in \$PATH
2683
- See \`config.log' for more details" "$LINENO" 5; }
2684
-
2685
- # Provide some information about the compiler.
2686
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2687
- set X $ac_compile
2688
- ac_compiler=$2
2689
- for ac_option in --version -v -V -qversion -version; do
2690
- { { ac_try="$ac_compiler $ac_option >&5"
2691
- case "(($ac_try" in
2692
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2693
- *) ac_try_echo=$ac_try;;
2694
- esac
2695
- eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2696
- printf "%s\n" "$ac_try_echo"; } >&5
2697
- (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2698
- ac_status=$?
2699
- if test -s conftest.err; then
2700
- sed '10a\
2701
- ... rest of stderr output deleted ...
2702
- 10q' conftest.err >conftest.er1
2703
- cat conftest.er1 >&5
2704
- fi
2705
- rm -f conftest.er1 conftest.err
2706
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2707
- test $ac_status = 0; }
2708
- done
2709
-
2710
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2711
- /* end confdefs.h. */
2712
-
2713
- int
2714
- main (void)
2715
- {
2716
-
2717
- ;
2718
- return 0;
2719
- }
2720
- _ACEOF
2721
- ac_clean_files_save=$ac_clean_files
2722
- ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2723
- # Try to create an executable without -o first, disregard a.out.
2724
- # It will help us diagnose broken compilers, and finding out an intuition
2725
- # of exeext.
2726
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2727
- printf %s "checking whether the C compiler works... " >&6; }
2728
- ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2729
-
2730
- # The possible output files:
2731
- ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2732
-
2733
- ac_rmfiles=
2734
- for ac_file in $ac_files
2735
- do
2736
- case $ac_file in
2737
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2738
- * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2739
- esac
2740
- done
2741
- rm -f $ac_rmfiles
2742
-
2743
- if { { ac_try="$ac_link_default"
2744
- case "(($ac_try" in
2745
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2746
- *) ac_try_echo=$ac_try;;
2747
- esac
2748
- eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2749
- printf "%s\n" "$ac_try_echo"; } >&5
2750
- (eval "$ac_link_default") 2>&5
2751
- ac_status=$?
2752
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2753
- test $ac_status = 0; }
2754
- then :
2755
- # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2756
- # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2757
- # in a Makefile. We should not override ac_cv_exeext if it was cached,
2758
- # so that the user can short-circuit this test for compilers unknown to
2759
- # Autoconf.
2760
- for ac_file in $ac_files ''
2761
- do
2762
- test -f "$ac_file" || continue
2763
- case $ac_file in
2764
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2765
- ;;
2766
- [ab].out )
2767
- # We found the default executable, but exeext='' is most
2768
- # certainly right.
2769
- break;;
2770
- *.* )
2771
- if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
2772
- then :; else
2773
- ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2774
- fi
2775
- # We set ac_cv_exeext here because the later test for it is not
2776
- # safe: cross compilers may not add the suffix if given an `-o'
2777
- # argument, so we may need to know it at that point already.
2778
- # Even if this section looks crufty: it has the advantage of
2779
- # actually working.
2780
- break;;
2781
- * )
2782
- break;;
2783
- esac
2784
- done
2785
- test "$ac_cv_exeext" = no && ac_cv_exeext=
2786
-
2787
- else $as_nop
2788
- ac_file=''
2789
- fi
2790
- if test -z "$ac_file"
2791
- then :
2792
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2793
- printf "%s\n" "no" >&6; }
2794
- printf "%s\n" "$as_me: failed program was:" >&5
2795
- sed 's/^/| /' conftest.$ac_ext >&5
2796
-
2797
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2798
- printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2799
- as_fn_error 77 "C compiler cannot create executables
2800
- See \`config.log' for more details" "$LINENO" 5; }
2801
- else $as_nop
2802
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2803
- printf "%s\n" "yes" >&6; }
2804
- fi
2805
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2806
- printf %s "checking for C compiler default output file name... " >&6; }
2807
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2808
- printf "%s\n" "$ac_file" >&6; }
2809
- ac_exeext=$ac_cv_exeext
2810
-
2811
- rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2812
- ac_clean_files=$ac_clean_files_save
2813
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2814
- printf %s "checking for suffix of executables... " >&6; }
2815
- if { { ac_try="$ac_link"
2816
- case "(($ac_try" in
2817
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2818
- *) ac_try_echo=$ac_try;;
2819
- esac
2820
- eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2821
- printf "%s\n" "$ac_try_echo"; } >&5
2822
- (eval "$ac_link") 2>&5
2823
- ac_status=$?
2824
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2825
- test $ac_status = 0; }
2826
- then :
2827
- # If both `conftest.exe' and `conftest' are `present' (well, observable)
2828
- # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2829
- # work properly (i.e., refer to `conftest.exe'), while it won't with
2830
- # `rm'.
2831
- for ac_file in conftest.exe conftest conftest.*; do
2832
- test -f "$ac_file" || continue
2833
- case $ac_file in
2834
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2835
- *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2836
- break;;
2837
- * ) break;;
2838
- esac
2839
- done
2840
- else $as_nop
2841
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2842
- printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2843
- as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2844
- See \`config.log' for more details" "$LINENO" 5; }
2845
- fi
2846
- rm -f conftest conftest$ac_cv_exeext
2847
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2848
- printf "%s\n" "$ac_cv_exeext" >&6; }
2849
-
2850
- rm -f conftest.$ac_ext
2851
- EXEEXT=$ac_cv_exeext
2852
- ac_exeext=$EXEEXT
2853
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2854
- /* end confdefs.h. */
2855
- #include <stdio.h>
2856
- int
2857
- main (void)
2858
- {
2859
- FILE *f = fopen ("conftest.out", "w");
2860
- return ferror (f) || fclose (f) != 0;
2861
-
2862
- ;
2863
- return 0;
2864
- }
2865
- _ACEOF
2866
- ac_clean_files="$ac_clean_files conftest.out"
2867
- # Check that the compiler produces executables we can run. If not, either
2868
- # the compiler is broken, or we cross compile.
2869
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2870
- printf %s "checking whether we are cross compiling... " >&6; }
2871
- if test "$cross_compiling" != yes; then
2872
- { { ac_try="$ac_link"
2873
- case "(($ac_try" in
2874
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2875
- *) ac_try_echo=$ac_try;;
2876
- esac
2877
- eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2878
- printf "%s\n" "$ac_try_echo"; } >&5
2879
- (eval "$ac_link") 2>&5
2880
- ac_status=$?
2881
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2882
- test $ac_status = 0; }
2883
- if { ac_try='./conftest$ac_cv_exeext'
2884
- { { case "(($ac_try" in
2885
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2886
- *) ac_try_echo=$ac_try;;
2887
- esac
2888
- eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2889
- printf "%s\n" "$ac_try_echo"; } >&5
2890
- (eval "$ac_try") 2>&5
2891
- ac_status=$?
2892
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2893
- test $ac_status = 0; }; }; then
2894
- cross_compiling=no
2895
- else
2896
- if test "$cross_compiling" = maybe; then
2897
- cross_compiling=yes
2898
- else
2899
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2900
- printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2901
- as_fn_error 77 "cannot run C compiled programs.
2902
- If you meant to cross compile, use \`--host'.
2903
- See \`config.log' for more details" "$LINENO" 5; }
2904
- fi
2905
- fi
2906
- fi
2907
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2908
- printf "%s\n" "$cross_compiling" >&6; }
2909
-
2910
- rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2911
- ac_clean_files=$ac_clean_files_save
2912
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2913
- printf %s "checking for suffix of object files... " >&6; }
2914
- if test ${ac_cv_objext+y}
2915
- then :
2916
- printf %s "(cached) " >&6
2917
- else $as_nop
2918
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2919
- /* end confdefs.h. */
2920
-
2921
- int
2922
- main (void)
2923
- {
2924
-
2925
- ;
2926
- return 0;
2927
- }
2928
- _ACEOF
2929
- rm -f conftest.o conftest.obj
2930
- if { { ac_try="$ac_compile"
2931
- case "(($ac_try" in
2932
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2933
- *) ac_try_echo=$ac_try;;
2934
- esac
2935
- eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2936
- printf "%s\n" "$ac_try_echo"; } >&5
2937
- (eval "$ac_compile") 2>&5
2938
- ac_status=$?
2939
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2940
- test $ac_status = 0; }
2941
- then :
2942
- for ac_file in conftest.o conftest.obj conftest.*; do
2943
- test -f "$ac_file" || continue;
2944
- case $ac_file in
2945
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2946
- *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2947
- break;;
2948
- esac
2949
- done
2950
- else $as_nop
2951
- printf "%s\n" "$as_me: failed program was:" >&5
2952
- sed 's/^/| /' conftest.$ac_ext >&5
2953
-
2954
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2955
- printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2956
- as_fn_error $? "cannot compute suffix of object files: cannot compile
2957
- See \`config.log' for more details" "$LINENO" 5; }
2958
- fi
2959
- rm -f conftest.$ac_cv_objext conftest.$ac_ext
2960
- fi
2961
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2962
- printf "%s\n" "$ac_cv_objext" >&6; }
2963
- OBJEXT=$ac_cv_objext
2964
- ac_objext=$OBJEXT
2965
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
2966
- printf %s "checking whether the compiler supports GNU C... " >&6; }
2967
- if test ${ac_cv_c_compiler_gnu+y}
2968
- then :
2969
- printf %s "(cached) " >&6
2970
- else $as_nop
2971
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2972
- /* end confdefs.h. */
2973
-
2974
- int
2975
- main (void)
2976
- {
2977
- #ifndef __GNUC__
2978
- choke me
2979
- #endif
2980
-
2981
- ;
2982
- return 0;
2983
- }
2984
- _ACEOF
2985
- if ac_fn_c_try_compile "$LINENO"
2986
- then :
2987
- ac_compiler_gnu=yes
2988
- else $as_nop
2989
- ac_compiler_gnu=no
2990
- fi
2991
- rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2992
- ac_cv_c_compiler_gnu=$ac_compiler_gnu
2993
-
2994
- fi
2995
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2996
- printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
2997
- ac_compiler_gnu=$ac_cv_c_compiler_gnu
2998
-
2999
- if test $ac_compiler_gnu = yes; then
3000
- GCC=yes
3001
- else
3002
- GCC=
3003
- fi
3004
- ac_test_CFLAGS=${CFLAGS+y}
3005
- ac_save_CFLAGS=$CFLAGS
3006
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3007
- printf %s "checking whether $CC accepts -g... " >&6; }
3008
- if test ${ac_cv_prog_cc_g+y}
3009
- then :
3010
- printf %s "(cached) " >&6
3011
- else $as_nop
3012
- ac_save_c_werror_flag=$ac_c_werror_flag
3013
- ac_c_werror_flag=yes
3014
- ac_cv_prog_cc_g=no
3015
- CFLAGS="-g"
3016
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3017
- /* end confdefs.h. */
3018
-
3019
- int
3020
- main (void)
3021
- {
3022
-
3023
- ;
3024
- return 0;
3025
- }
3026
- _ACEOF
3027
- if ac_fn_c_try_compile "$LINENO"
3028
- then :
3029
- ac_cv_prog_cc_g=yes
3030
- else $as_nop
3031
- CFLAGS=""
3032
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3033
- /* end confdefs.h. */
3034
-
3035
- int
3036
- main (void)
3037
- {
3038
-
3039
- ;
3040
- return 0;
3041
- }
3042
- _ACEOF
3043
- if ac_fn_c_try_compile "$LINENO"
3044
- then :
3045
-
3046
- else $as_nop
3047
- ac_c_werror_flag=$ac_save_c_werror_flag
3048
- CFLAGS="-g"
3049
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3050
- /* end confdefs.h. */
3051
-
3052
- int
3053
- main (void)
3054
- {
3055
-
3056
- ;
3057
- return 0;
3058
- }
3059
- _ACEOF
3060
- if ac_fn_c_try_compile "$LINENO"
3061
- then :
3062
- ac_cv_prog_cc_g=yes
3063
- fi
3064
- rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3065
- fi
3066
- rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3067
- fi
3068
- rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3069
- ac_c_werror_flag=$ac_save_c_werror_flag
3070
- fi
3071
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3072
- printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
3073
- if test $ac_test_CFLAGS; then
3074
- CFLAGS=$ac_save_CFLAGS
3075
- elif test $ac_cv_prog_cc_g = yes; then
3076
- if test "$GCC" = yes; then
3077
- CFLAGS="-g -O2"
3078
- else
3079
- CFLAGS="-g"
3080
- fi
3081
- else
3082
- if test "$GCC" = yes; then
3083
- CFLAGS="-O2"
3084
- else
3085
- CFLAGS=
3086
- fi
3087
- fi
3088
- ac_prog_cc_stdc=no
3089
- if test x$ac_prog_cc_stdc = xno
3090
- then :
3091
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3092
- printf %s "checking for $CC option to enable C11 features... " >&6; }
3093
- if test ${ac_cv_prog_cc_c11+y}
3094
- then :
3095
- printf %s "(cached) " >&6
3096
- else $as_nop
3097
- ac_cv_prog_cc_c11=no
3098
- ac_save_CC=$CC
3099
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3100
- /* end confdefs.h. */
3101
- $ac_c_conftest_c11_program
3102
- _ACEOF
3103
- for ac_arg in '' -std=gnu11
3104
- do
3105
- CC="$ac_save_CC $ac_arg"
3106
- if ac_fn_c_try_compile "$LINENO"
3107
- then :
3108
- ac_cv_prog_cc_c11=$ac_arg
3109
- fi
3110
- rm -f core conftest.err conftest.$ac_objext conftest.beam
3111
- test "x$ac_cv_prog_cc_c11" != "xno" && break
3112
- done
3113
- rm -f conftest.$ac_ext
3114
- CC=$ac_save_CC
3115
- fi
3116
-
3117
- if test "x$ac_cv_prog_cc_c11" = xno
3118
- then :
3119
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3120
- printf "%s\n" "unsupported" >&6; }
3121
- else $as_nop
3122
- if test "x$ac_cv_prog_cc_c11" = x
3123
- then :
3124
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3125
- printf "%s\n" "none needed" >&6; }
3126
- else $as_nop
3127
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3128
- printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
3129
- CC="$CC $ac_cv_prog_cc_c11"
3130
- fi
3131
- ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
3132
- ac_prog_cc_stdc=c11
3133
- fi
3134
- fi
3135
- if test x$ac_prog_cc_stdc = xno
3136
- then :
3137
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3138
- printf %s "checking for $CC option to enable C99 features... " >&6; }
3139
- if test ${ac_cv_prog_cc_c99+y}
3140
- then :
3141
- printf %s "(cached) " >&6
3142
- else $as_nop
3143
- ac_cv_prog_cc_c99=no
3144
- ac_save_CC=$CC
3145
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3146
- /* end confdefs.h. */
3147
- $ac_c_conftest_c99_program
3148
- _ACEOF
3149
- for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3150
- do
3151
- CC="$ac_save_CC $ac_arg"
3152
- if ac_fn_c_try_compile "$LINENO"
3153
- then :
3154
- ac_cv_prog_cc_c99=$ac_arg
3155
- fi
3156
- rm -f core conftest.err conftest.$ac_objext conftest.beam
3157
- test "x$ac_cv_prog_cc_c99" != "xno" && break
3158
- done
3159
- rm -f conftest.$ac_ext
3160
- CC=$ac_save_CC
3161
- fi
3162
-
3163
- if test "x$ac_cv_prog_cc_c99" = xno
3164
- then :
3165
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3166
- printf "%s\n" "unsupported" >&6; }
3167
- else $as_nop
3168
- if test "x$ac_cv_prog_cc_c99" = x
3169
- then :
3170
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3171
- printf "%s\n" "none needed" >&6; }
3172
- else $as_nop
3173
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3174
- printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
3175
- CC="$CC $ac_cv_prog_cc_c99"
3176
- fi
3177
- ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3178
- ac_prog_cc_stdc=c99
3179
- fi
3180
- fi
3181
- if test x$ac_prog_cc_stdc = xno
3182
- then :
3183
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
3184
- printf %s "checking for $CC option to enable C89 features... " >&6; }
3185
- if test ${ac_cv_prog_cc_c89+y}
3186
- then :
3187
- printf %s "(cached) " >&6
3188
- else $as_nop
3189
- ac_cv_prog_cc_c89=no
3190
- ac_save_CC=$CC
3191
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3192
- /* end confdefs.h. */
3193
- $ac_c_conftest_c89_program
3194
- _ACEOF
3195
- for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3196
- do
3197
- CC="$ac_save_CC $ac_arg"
3198
- if ac_fn_c_try_compile "$LINENO"
3199
- then :
3200
- ac_cv_prog_cc_c89=$ac_arg
3201
- fi
3202
- rm -f core conftest.err conftest.$ac_objext conftest.beam
3203
- test "x$ac_cv_prog_cc_c89" != "xno" && break
3204
- done
3205
- rm -f conftest.$ac_ext
3206
- CC=$ac_save_CC
3207
- fi
3208
-
3209
- if test "x$ac_cv_prog_cc_c89" = xno
3210
- then :
3211
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3212
- printf "%s\n" "unsupported" >&6; }
3213
- else $as_nop
3214
- if test "x$ac_cv_prog_cc_c89" = x
3215
- then :
3216
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3217
- printf "%s\n" "none needed" >&6; }
3218
- else $as_nop
3219
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3220
- printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
3221
- CC="$CC $ac_cv_prog_cc_c89"
3222
- fi
3223
- ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3224
- ac_prog_cc_stdc=c89
3225
- fi
3226
- fi
3227
-
3228
- ac_ext=c
3229
- ac_cpp='$CPP $CPPFLAGS'
3230
- ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3231
- ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3232
- ac_compiler_gnu=$ac_cv_c_compiler_gnu
3233
-
3234
- ac_ext=c
3235
- ac_cpp='$CPP $CPPFLAGS'
3236
- ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3237
- ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3238
- ac_compiler_gnu=$ac_cv_c_compiler_gnu
3239
-
3240
-
3241
-
3242
- ac_ext=c
3243
- ac_cpp='$CPP $CPPFLAGS'
3244
- ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3245
- ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3246
- ac_compiler_gnu=$ac_cv_c_compiler_gnu
3247
-
3248
-
3249
- # Make sure CDPATH is portably set to a sensible value
3250
- CDPATH=${ZSH_VERSION+.}:
3251
-
3252
- GAP_CPPFLAGS=""
3253
-
3254
- ######################################
3255
- # Find the GAP root directory by
3256
- # checking for the sysinfo.gap file
3257
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GAP root directory" >&5
3258
- printf %s "checking for GAP root directory... " >&6; }
3259
- GAPROOT="../.."
3260
-
3261
- # Allow the user to specify the location of GAP
3262
-
3263
- # Check whether --with-gaproot was given.
3264
- if test ${with_gaproot+y}
3265
- then :
3266
- withval=$with_gaproot; GAPROOT="$withval"
3267
- fi
3268
-
3269
-
3270
- # Convert the path to absolute
3271
- GAPROOT=`cd $GAPROOT > /dev/null 2>&1 && pwd`
3272
-
3273
- if test -e ${GAPROOT}/sysinfo.gap; then
3274
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${GAPROOT}" >&5
3275
- printf "%s\n" "${GAPROOT}" >&6; }
3276
- else
3277
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
3278
- printf "%s\n" "Not found" >&6; }
3279
-
3280
- echo ""
3281
- echo "********************************************************************"
3282
- echo " ERROR"
3283
- echo ""
3284
- echo " Cannot find your GAP installation. Please specify the location of"
3285
- echo " GAP's root directory using --with-gaproot=<path>"
3286
- echo ""
3287
- echo " The GAP root directory (as far as this package is concerned) is"
3288
- echo " the one containing the file sysinfo.gap"
3289
- echo "********************************************************************"
3290
- echo ""
3291
-
3292
- as_fn_error $? "Unable to find GAP root directory" "$LINENO" 5
3293
- fi
3294
-
3295
- #####################################
3296
- # Now find the architecture
3297
-
3298
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GAP architecture" >&5
3299
- printf %s "checking for GAP architecture... " >&6; }
3300
- GAPARCH="Unknown"
3301
- . $GAPROOT/sysinfo.gap
3302
- if test "x$GAParch" != "x"; then
3303
- GAPARCH=$GAParch
3304
- fi
3305
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GAPARCH" >&5
3306
- printf "%s\n" "$GAPARCH" >&6; }
3307
-
3308
- if test "x$GAPARCH" = "xUnknown" ; then
3309
- echo ""
3310
- echo "********************************************************************"
3311
- echo " ERROR"
3312
- echo ""
3313
- echo " Found a GAP installation at $GAPROOT but could not find"
3314
- echo " information about GAP's architecture in the file"
3315
- echo " ${GAPROOT}/sysinfo.gap ."
3316
- echo " This file should be present: please check your GAP installation."
3317
- echo "********************************************************************"
3318
- echo ""
3319
-
3320
- as_fn_error $? "Unable to find plausible GAParch information." "$LINENO" 5
3321
- fi
3322
-
3323
- # require GAP >= 4.9
3324
- if test "x$GAP_CPPFLAGS" = x; then
3325
- echo ""
3326
- echo "********************************************************************"
3327
- echo " ERROR"
3328
- echo ""
3329
- echo " This version of GAP is too old and not supported by this package."
3330
- echo "********************************************************************"
3331
- echo ""
3332
- as_fn_error $? "No GAP_CPPFLAGS is given" "$LINENO" 5
3333
- fi
3334
-
3335
- # compatibility with GAP 4.9 (not needed in GAP >= 4.10)
3336
- GAP_CPPFLAGS="$GAP_CPPFLAGS -I${GAP_LIB_DIR}/src"
3337
-
3338
-
3339
-
3340
-
3341
-
3342
-
3343
-
3344
-
3345
- ac_ext=c
3346
- ac_cpp='$CPP $CPPFLAGS'
3347
- ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3348
- ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3349
- ac_compiler_gnu=$ac_cv_c_compiler_gnu
3350
-
3351
-
3352
-
3353
-
3354
- # Check whether --with-cddlib was given.
3355
- if test ${with_cddlib+y}
3356
- then :
3357
- withval=$with_cddlib;
3358
- else $as_nop
3359
- with_cddlib=yes
3360
- fi
3361
-
3362
- if test "x$with_cddlib" = "xno"
3363
- then :
3364
- as_fn_error $? "cddlib is required and cannot be disabled" "$LINENO" 5
3365
- fi
3366
-
3367
- # if no path was given. as a special consideration, detect if the user has cddlib
3368
- # installed via Homebrew (on macOS), and if so, use that
3369
- if test "x$with_cddlib" = "xyes"
3370
- then :
3371
-
3372
- if command -v brew >/dev/null 2>&1
3373
- then :
3374
-
3375
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: BREW detected" >&5
3376
- printf "%s\n" "$as_me: BREW detected" >&6;}
3377
- with_cddlib=$(brew --prefix)
3378
-
3379
- fi
3380
-
3381
- fi
3382
-
3383
- if test "x$with_cddlib" != "xyes"
3384
- then :
3385
-
3386
- # Debian and Ubuntu put the headers into PREFIX/include/cdd, while on
3387
- # e.g. homebrew the headers are in PREFIX/include/cddlib. Finally in
3388
- # some cases, the headers are directly in PREFIX/include/ -- so we
3389
- # just add all three to the CPPFLAGS
3390
- if test -d "$with_cddlib"
3391
- then :
3392
-
3393
- else $as_nop
3394
- as_fn_error $? "the cddlib path is not a directory" "$LINENO" 5
3395
- fi
3396
- CDD_CPPFLAGS="-I$with_cddlib/include/cdd -I$with_cddlib/include/cddlib -I$with_cddlib/include"
3397
- CDD_LDFLAGS="-L$with_cddlib/lib -lcddgmp -lgmp"
3398
-
3399
- else $as_nop
3400
-
3401
- CDD_CPPFLAGS="-I/usr/include/cdd -I/usr/include/cddlib"
3402
- CDD_LDFLAGS="-lcddgmp -lgmp"
3403
-
3404
- fi
3405
-
3406
-
3407
-
3408
- old_CPPFLAGS="$CPPFLAGS"
3409
- old_LDFLAGS="$LDFLAGS"
3410
- CPPFLAGS="$CPPFLAGS $CDD_CPPFLAGS"
3411
- LDFLAGS="$LDFLAGS $CDD_LDFLAGS"
3412
-
3413
-
3414
- ac_header= ac_cache=
3415
- for ac_item in $ac_header_c_list
3416
- do
3417
- if test $ac_cache; then
3418
- ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
3419
- if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
3420
- printf "%s\n" "#define $ac_item 1" >> confdefs.h
3421
- fi
3422
- ac_header= ac_cache=
3423
- elif test $ac_header; then
3424
- ac_cache=$ac_item
3425
- else
3426
- ac_header=$ac_item
3427
- fi
3428
- done
3429
-
3430
-
3431
-
3432
-
3433
-
3434
-
3435
-
3436
-
3437
- if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
3438
- then :
3439
-
3440
- printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
3441
-
3442
- fi
3443
- ac_fn_c_check_header_compile "$LINENO" "cddlib/setoper.h" "ac_cv_header_cddlib_setoper_h" "$ac_includes_default"
3444
- if test "x$ac_cv_header_cddlib_setoper_h" = xyes
3445
- then :
3446
-
3447
- printf "%s\n" "#define HAVE_CDDLIB_SETOPER_H 1" >>confdefs.h
3448
-
3449
- else $as_nop
3450
- ac_fn_c_check_header_compile "$LINENO" "setoper.h" "ac_cv_header_setoper_h" "$ac_includes_default"
3451
- if test "x$ac_cv_header_setoper_h" = xyes
3452
- then :
3453
-
3454
- printf "%s\n" "#define HAVE_CDDLIB_SETOPER_H 0" >>confdefs.h
3455
-
3456
- else $as_nop
3457
- as_fn_error $? "could not find setoper.h" "$LINENO" 5
3458
- fi
3459
-
3460
- fi
3461
-
3462
-
3463
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dd_SetLinearity in -lcddgmp" >&5
3464
- printf %s "checking for dd_SetLinearity in -lcddgmp... " >&6; }
3465
- if test ${ac_cv_lib_cddgmp_dd_SetLinearity+y}
3466
- then :
3467
- printf %s "(cached) " >&6
3468
- else $as_nop
3469
- ac_check_lib_save_LIBS=$LIBS
3470
- LIBS="-lcddgmp $LIBS"
3471
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3472
- /* end confdefs.h. */
3473
-
3474
- /* Override any GCC internal prototype to avoid an error.
3475
- Use char because int might match the return type of a GCC
3476
- builtin and then its argument prototype would still apply. */
3477
- char dd_SetLinearity ();
3478
- int
3479
- main (void)
3480
- {
3481
- return dd_SetLinearity ();
3482
- ;
3483
- return 0;
3484
- }
3485
- _ACEOF
3486
- if ac_fn_c_try_link "$LINENO"
3487
- then :
3488
- ac_cv_lib_cddgmp_dd_SetLinearity=yes
3489
- else $as_nop
3490
- ac_cv_lib_cddgmp_dd_SetLinearity=no
3491
- fi
3492
- rm -f core conftest.err conftest.$ac_objext conftest.beam \
3493
- conftest$ac_exeext conftest.$ac_ext
3494
- LIBS=$ac_check_lib_save_LIBS
3495
- fi
3496
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cddgmp_dd_SetLinearity" >&5
3497
- printf "%s\n" "$ac_cv_lib_cddgmp_dd_SetLinearity" >&6; }
3498
- if test "x$ac_cv_lib_cddgmp_dd_SetLinearity" = xyes
3499
- then :
3500
- printf "%s\n" "#define HAVE_LIBCDDGMP 1" >>confdefs.h
3501
-
3502
- LIBS="-lcddgmp $LIBS"
3503
-
3504
- fi
3505
-
3506
- CPPFLAGS="$old_CPPFLAGS"
3507
- LDFLAGS="$old_LDFLAGS"
3508
-
3509
-
3510
- ac_config_files="$ac_config_files Makefile"
3511
-
3512
- cat >confcache <<\_ACEOF
3513
- # This file is a shell script that caches the results of configure
3514
- # tests run on this system so they can be shared between configure
3515
- # scripts and configure runs, see configure's option --config-cache.
3516
- # It is not useful on other systems. If it contains results you don't
3517
- # want to keep, you may remove or edit it.
3518
- #
3519
- # config.status only pays attention to the cache file if you give it
3520
- # the --recheck option to rerun configure.
3521
- #
3522
- # `ac_cv_env_foo' variables (set or unset) will be overridden when
3523
- # loading this file, other *unset* `ac_cv_foo' will be assigned the
3524
- # following values.
3525
-
3526
- _ACEOF
3527
-
3528
- # The following way of writing the cache mishandles newlines in values,
3529
- # but we know of no workaround that is simple, portable, and efficient.
3530
- # So, we kill variables containing newlines.
3531
- # Ultrix sh set writes to stderr and can't be redirected directly,
3532
- # and sets the high bit in the cache file unless we assign to the vars.
3533
- (
3534
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3535
- eval ac_val=\$$ac_var
3536
- case $ac_val in #(
3537
- *${as_nl}*)
3538
- case $ac_var in #(
3539
- *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3540
- printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3541
- esac
3542
- case $ac_var in #(
3543
- _ | IFS | as_nl) ;; #(
3544
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3545
- *) { eval $ac_var=; unset $ac_var;} ;;
3546
- esac ;;
3547
- esac
3548
- done
3549
-
3550
- (set) 2>&1 |
3551
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
3552
- *${as_nl}ac_space=\ *)
3553
- # `set' does not quote correctly, so add quotes: double-quote
3554
- # substitution turns \\\\ into \\, and sed turns \\ into \.
3555
- sed -n \
3556
- "s/'/'\\\\''/g;
3557
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3558
- ;; #(
3559
- *)
3560
- # `set' quotes correctly as required by POSIX, so do not add quotes.
3561
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3562
- ;;
3563
- esac |
3564
- sort
3565
- ) |
3566
- sed '
3567
- /^ac_cv_env_/b end
3568
- t clear
3569
- :clear
3570
- s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
3571
- t end
3572
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3573
- :end' >>confcache
3574
- if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3575
- if test -w "$cache_file"; then
3576
- if test "x$cache_file" != "x/dev/null"; then
3577
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3578
- printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
3579
- if test ! -f "$cache_file" || test -h "$cache_file"; then
3580
- cat confcache >"$cache_file"
3581
- else
3582
- case $cache_file in #(
3583
- */* | ?:*)
3584
- mv -f confcache "$cache_file"$$ &&
3585
- mv -f "$cache_file"$$ "$cache_file" ;; #(
3586
- *)
3587
- mv -f confcache "$cache_file" ;;
3588
- esac
3589
- fi
3590
- fi
3591
- else
3592
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3593
- printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
3594
- fi
3595
- fi
3596
- rm -f confcache
3597
-
3598
- test "x$prefix" = xNONE && prefix=$ac_default_prefix
3599
- # Let make expand exec_prefix.
3600
- test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3601
-
3602
- DEFS=-DHAVE_CONFIG_H
3603
-
3604
- ac_libobjs=
3605
- ac_ltlibobjs=
3606
- U=
3607
- for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3608
- # 1. Remove the extension, and $U if already installed.
3609
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3610
- ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
3611
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3612
- # will be set to the directory where LIBOBJS objects are built.
3613
- as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3614
- as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3615
- done
3616
- LIBOBJS=$ac_libobjs
3617
-
3618
- LTLIBOBJS=$ac_ltlibobjs
3619
-
3620
-
3621
-
3622
- : "${CONFIG_STATUS=./config.status}"
3623
- ac_write_fail=0
3624
- ac_clean_files_save=$ac_clean_files
3625
- ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3626
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3627
- printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
3628
- as_write_fail=0
3629
- cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3630
- #! $SHELL
3631
- # Generated by $as_me.
3632
- # Run this file to recreate the current configuration.
3633
- # Compiler output produced by configure, useful for debugging
3634
- # configure, is in config.log if it exists.
3635
-
3636
- debug=false
3637
- ac_cs_recheck=false
3638
- ac_cs_silent=false
3639
-
3640
- SHELL=\${CONFIG_SHELL-$SHELL}
3641
- export SHELL
3642
- _ASEOF
3643
- cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3644
- ## -------------------- ##
3645
- ## M4sh Initialization. ##
3646
- ## -------------------- ##
3647
-
3648
- # Be more Bourne compatible
3649
- DUALCASE=1; export DUALCASE # for MKS sh
3650
- as_nop=:
3651
- if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
3652
- then :
3653
- emulate sh
3654
- NULLCMD=:
3655
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3656
- # is contrary to our usage. Disable this feature.
3657
- alias -g '${1+"$@"}'='"$@"'
3658
- setopt NO_GLOB_SUBST
3659
- else $as_nop
3660
- case `(set -o) 2>/dev/null` in #(
3661
- *posix*) :
3662
- set -o posix ;; #(
3663
- *) :
3664
- ;;
3665
- esac
3666
- fi
3667
-
3668
-
3669
-
3670
- # Reset variables that may have inherited troublesome values from
3671
- # the environment.
3672
-
3673
- # IFS needs to be set, to space, tab, and newline, in precisely that order.
3674
- # (If _AS_PATH_WALK were called with IFS unset, it would have the
3675
- # side effect of setting IFS to empty, thus disabling word splitting.)
3676
- # Quoting is to prevent editors from complaining about space-tab.
3677
- as_nl='
3678
- '
3679
- export as_nl
3680
- IFS=" "" $as_nl"
3681
-
3682
- PS1='$ '
3683
- PS2='> '
3684
- PS4='+ '
3685
-
3686
- # Ensure predictable behavior from utilities with locale-dependent output.
3687
- LC_ALL=C
3688
- export LC_ALL
3689
- LANGUAGE=C
3690
- export LANGUAGE
3691
-
3692
- # We cannot yet rely on "unset" to work, but we need these variables
3693
- # to be unset--not just set to an empty or harmless value--now, to
3694
- # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
3695
- # also avoids known problems related to "unset" and subshell syntax
3696
- # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
3697
- for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
3698
- do eval test \${$as_var+y} \
3699
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3700
- done
3701
-
3702
- # Ensure that fds 0, 1, and 2 are open.
3703
- if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
3704
- if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
3705
- if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
3706
-
3707
- # The user is always right.
3708
- if ${PATH_SEPARATOR+false} :; then
3709
- PATH_SEPARATOR=:
3710
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3711
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3712
- PATH_SEPARATOR=';'
3713
- }
3714
- fi
3715
-
3716
-
3717
- # Find who we are. Look in the path if we contain no directory separator.
3718
- as_myself=
3719
- case $0 in #((
3720
- *[\\/]* ) as_myself=$0 ;;
3721
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3722
- for as_dir in $PATH
3723
- do
3724
- IFS=$as_save_IFS
3725
- case $as_dir in #(((
3726
- '') as_dir=./ ;;
3727
- */) ;;
3728
- *) as_dir=$as_dir/ ;;
3729
- esac
3730
- test -r "$as_dir$0" && as_myself=$as_dir$0 && break
3731
- done
3732
- IFS=$as_save_IFS
3733
-
3734
- ;;
3735
- esac
3736
- # We did not find ourselves, most probably we were run as `sh COMMAND'
3737
- # in which case we are not to be found in the path.
3738
- if test "x$as_myself" = x; then
3739
- as_myself=$0
3740
- fi
3741
- if test ! -f "$as_myself"; then
3742
- printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3743
- exit 1
3744
- fi
3745
-
3746
-
3747
-
3748
- # as_fn_error STATUS ERROR [LINENO LOG_FD]
3749
- # ----------------------------------------
3750
- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3751
- # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3752
- # script with STATUS, using 1 if that was 0.
3753
- as_fn_error ()
3754
- {
3755
- as_status=$1; test $as_status -eq 0 && as_status=1
3756
- if test "$4"; then
3757
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3758
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3759
- fi
3760
- printf "%s\n" "$as_me: error: $2" >&2
3761
- as_fn_exit $as_status
3762
- } # as_fn_error
3763
-
3764
-
3765
-
3766
- # as_fn_set_status STATUS
3767
- # -----------------------
3768
- # Set $? to STATUS, without forking.
3769
- as_fn_set_status ()
3770
- {
3771
- return $1
3772
- } # as_fn_set_status
3773
-
3774
- # as_fn_exit STATUS
3775
- # -----------------
3776
- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3777
- as_fn_exit ()
3778
- {
3779
- set +e
3780
- as_fn_set_status $1
3781
- exit $1
3782
- } # as_fn_exit
3783
-
3784
- # as_fn_unset VAR
3785
- # ---------------
3786
- # Portably unset VAR.
3787
- as_fn_unset ()
3788
- {
3789
- { eval $1=; unset $1;}
3790
- }
3791
- as_unset=as_fn_unset
3792
-
3793
- # as_fn_append VAR VALUE
3794
- # ----------------------
3795
- # Append the text in VALUE to the end of the definition contained in VAR. Take
3796
- # advantage of any shell optimizations that allow amortized linear growth over
3797
- # repeated appends, instead of the typical quadratic growth present in naive
3798
- # implementations.
3799
- if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
3800
- then :
3801
- eval 'as_fn_append ()
3802
- {
3803
- eval $1+=\$2
3804
- }'
3805
- else $as_nop
3806
- as_fn_append ()
3807
- {
3808
- eval $1=\$$1\$2
3809
- }
3810
- fi # as_fn_append
3811
-
3812
- # as_fn_arith ARG...
3813
- # ------------------
3814
- # Perform arithmetic evaluation on the ARGs, and store the result in the
3815
- # global $as_val. Take advantage of shells that can avoid forks. The arguments
3816
- # must be portable across $(()) and expr.
3817
- if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
3818
- then :
3819
- eval 'as_fn_arith ()
3820
- {
3821
- as_val=$(( $* ))
3822
- }'
3823
- else $as_nop
3824
- as_fn_arith ()
3825
- {
3826
- as_val=`expr "$@" || test $? -eq 1`
3827
- }
3828
- fi # as_fn_arith
3829
-
3830
-
3831
- if expr a : '\(a\)' >/dev/null 2>&1 &&
3832
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
3833
- as_expr=expr
3834
- else
3835
- as_expr=false
3836
- fi
3837
-
3838
- if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3839
- as_basename=basename
3840
- else
3841
- as_basename=false
3842
- fi
3843
-
3844
- if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3845
- as_dirname=dirname
3846
- else
3847
- as_dirname=false
3848
- fi
3849
-
3850
- as_me=`$as_basename -- "$0" ||
3851
- $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3852
- X"$0" : 'X\(//\)$' \| \
3853
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3854
- printf "%s\n" X/"$0" |
3855
- sed '/^.*\/\([^/][^/]*\)\/*$/{
3856
- s//\1/
3857
- q
3858
- }
3859
- /^X\/\(\/\/\)$/{
3860
- s//\1/
3861
- q
3862
- }
3863
- /^X\/\(\/\).*/{
3864
- s//\1/
3865
- q
3866
- }
3867
- s/.*/./; q'`
3868
-
3869
- # Avoid depending upon Character Ranges.
3870
- as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3871
- as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3872
- as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3873
- as_cr_digits='0123456789'
3874
- as_cr_alnum=$as_cr_Letters$as_cr_digits
3875
-
3876
-
3877
- # Determine whether it's possible to make 'echo' print without a newline.
3878
- # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
3879
- # for compatibility with existing Makefiles.
3880
- ECHO_C= ECHO_N= ECHO_T=
3881
- case `echo -n x` in #(((((
3882
- -n*)
3883
- case `echo 'xy\c'` in
3884
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3885
- xy) ECHO_C='\c';;
3886
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3887
- ECHO_T=' ';;
3888
- esac;;
3889
- *)
3890
- ECHO_N='-n';;
3891
- esac
3892
-
3893
- # For backward compatibility with old third-party macros, we provide
3894
- # the shell variables $as_echo and $as_echo_n. New code should use
3895
- # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
3896
- as_echo='printf %s\n'
3897
- as_echo_n='printf %s'
3898
-
3899
- rm -f conf$$ conf$$.exe conf$$.file
3900
- if test -d conf$$.dir; then
3901
- rm -f conf$$.dir/conf$$.file
3902
- else
3903
- rm -f conf$$.dir
3904
- mkdir conf$$.dir 2>/dev/null
3905
- fi
3906
- if (echo >conf$$.file) 2>/dev/null; then
3907
- if ln -s conf$$.file conf$$ 2>/dev/null; then
3908
- as_ln_s='ln -s'
3909
- # ... but there are two gotchas:
3910
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3911
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3912
- # In both cases, we have to default to `cp -pR'.
3913
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3914
- as_ln_s='cp -pR'
3915
- elif ln conf$$.file conf$$ 2>/dev/null; then
3916
- as_ln_s=ln
3917
- else
3918
- as_ln_s='cp -pR'
3919
- fi
3920
- else
3921
- as_ln_s='cp -pR'
3922
- fi
3923
- rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3924
- rmdir conf$$.dir 2>/dev/null
3925
-
3926
-
3927
- # as_fn_mkdir_p
3928
- # -------------
3929
- # Create "$as_dir" as a directory, including parents if necessary.
3930
- as_fn_mkdir_p ()
3931
- {
3932
-
3933
- case $as_dir in #(
3934
- -*) as_dir=./$as_dir;;
3935
- esac
3936
- test -d "$as_dir" || eval $as_mkdir_p || {
3937
- as_dirs=
3938
- while :; do
3939
- case $as_dir in #(
3940
- *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3941
- *) as_qdir=$as_dir;;
3942
- esac
3943
- as_dirs="'$as_qdir' $as_dirs"
3944
- as_dir=`$as_dirname -- "$as_dir" ||
3945
- $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3946
- X"$as_dir" : 'X\(//\)[^/]' \| \
3947
- X"$as_dir" : 'X\(//\)$' \| \
3948
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3949
- printf "%s\n" X"$as_dir" |
3950
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3951
- s//\1/
3952
- q
3953
- }
3954
- /^X\(\/\/\)[^/].*/{
3955
- s//\1/
3956
- q
3957
- }
3958
- /^X\(\/\/\)$/{
3959
- s//\1/
3960
- q
3961
- }
3962
- /^X\(\/\).*/{
3963
- s//\1/
3964
- q
3965
- }
3966
- s/.*/./; q'`
3967
- test -d "$as_dir" && break
3968
- done
3969
- test -z "$as_dirs" || eval "mkdir $as_dirs"
3970
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3971
-
3972
-
3973
- } # as_fn_mkdir_p
3974
- if mkdir -p . 2>/dev/null; then
3975
- as_mkdir_p='mkdir -p "$as_dir"'
3976
- else
3977
- test -d ./-p && rmdir ./-p
3978
- as_mkdir_p=false
3979
- fi
3980
-
3981
-
3982
- # as_fn_executable_p FILE
3983
- # -----------------------
3984
- # Test if FILE is an executable regular file.
3985
- as_fn_executable_p ()
3986
- {
3987
- test -f "$1" && test -x "$1"
3988
- } # as_fn_executable_p
3989
- as_test_x='test -x'
3990
- as_executable_p=as_fn_executable_p
3991
-
3992
- # Sed expression to map a string onto a valid CPP name.
3993
- as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3994
-
3995
- # Sed expression to map a string onto a valid variable name.
3996
- as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3997
-
3998
-
3999
- exec 6>&1
4000
- ## ----------------------------------- ##
4001
- ## Main body of $CONFIG_STATUS script. ##
4002
- ## ----------------------------------- ##
4003
- _ASEOF
4004
- test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4005
-
4006
- cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4007
- # Save the log message, to keep $0 and so on meaningful, and to
4008
- # report actual input values of CONFIG_FILES etc. instead of their
4009
- # values after options handling.
4010
- ac_log="
4011
- This file was extended by CddInterface $as_me package, which was
4012
- generated by GNU Autoconf 2.71. Invocation command line was
4013
-
4014
- CONFIG_FILES = $CONFIG_FILES
4015
- CONFIG_HEADERS = $CONFIG_HEADERS
4016
- CONFIG_LINKS = $CONFIG_LINKS
4017
- CONFIG_COMMANDS = $CONFIG_COMMANDS
4018
- $ $0 $@
4019
-
4020
- on `(hostname || uname -n) 2>/dev/null | sed 1q`
4021
- "
4022
-
4023
- _ACEOF
4024
-
4025
- case $ac_config_files in *"
4026
- "*) set x $ac_config_files; shift; ac_config_files=$*;;
4027
- esac
4028
-
4029
- case $ac_config_headers in *"
4030
- "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4031
- esac
4032
-
4033
-
4034
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4035
- # Files that config.status was made for.
4036
- config_files="$ac_config_files"
4037
- config_headers="$ac_config_headers"
4038
-
4039
- _ACEOF
4040
-
4041
- cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4042
- ac_cs_usage="\
4043
- \`$as_me' instantiates files and other configuration actions
4044
- from templates according to the current configuration. Unless the files
4045
- and actions are specified as TAGs, all are instantiated by default.
4046
-
4047
- Usage: $0 [OPTION]... [TAG]...
4048
-
4049
- -h, --help print this help, then exit
4050
- -V, --version print version number and configuration settings, then exit
4051
- --config print configuration, then exit
4052
- -q, --quiet, --silent
4053
- do not print progress messages
4054
- -d, --debug don't remove temporary files
4055
- --recheck update $as_me by reconfiguring in the same conditions
4056
- --file=FILE[:TEMPLATE]
4057
- instantiate the configuration file FILE
4058
- --header=FILE[:TEMPLATE]
4059
- instantiate the configuration header FILE
4060
-
4061
- Configuration files:
4062
- $config_files
4063
-
4064
- Configuration headers:
4065
- $config_headers
4066
-
4067
- Report bugs to the package provider."
4068
-
4069
- _ACEOF
4070
- ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
4071
- ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
4072
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4073
- ac_cs_config='$ac_cs_config_escaped'
4074
- ac_cs_version="\\
4075
- CddInterface config.status package
4076
- configured by $0, generated by GNU Autoconf 2.71,
4077
- with options \\"\$ac_cs_config\\"
4078
-
4079
- Copyright (C) 2021 Free Software Foundation, Inc.
4080
- This config.status script is free software; the Free Software Foundation
4081
- gives unlimited permission to copy, distribute and modify it."
4082
-
4083
- ac_pwd='$ac_pwd'
4084
- srcdir='$srcdir'
4085
- test -n "\$AWK" || AWK=awk
4086
- _ACEOF
4087
-
4088
- cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4089
- # The default lists apply if the user does not specify any file.
4090
- ac_need_defaults=:
4091
- while test $# != 0
4092
- do
4093
- case $1 in
4094
- --*=?*)
4095
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
4096
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4097
- ac_shift=:
4098
- ;;
4099
- --*=)
4100
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
4101
- ac_optarg=
4102
- ac_shift=:
4103
- ;;
4104
- *)
4105
- ac_option=$1
4106
- ac_optarg=$2
4107
- ac_shift=shift
4108
- ;;
4109
- esac
4110
-
4111
- case $ac_option in
4112
- # Handling of the options.
4113
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4114
- ac_cs_recheck=: ;;
4115
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4116
- printf "%s\n" "$ac_cs_version"; exit ;;
4117
- --config | --confi | --conf | --con | --co | --c )
4118
- printf "%s\n" "$ac_cs_config"; exit ;;
4119
- --debug | --debu | --deb | --de | --d | -d )
4120
- debug=: ;;
4121
- --file | --fil | --fi | --f )
4122
- $ac_shift
4123
- case $ac_optarg in
4124
- *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4125
- '') as_fn_error $? "missing file argument" ;;
4126
- esac
4127
- as_fn_append CONFIG_FILES " '$ac_optarg'"
4128
- ac_need_defaults=false;;
4129
- --header | --heade | --head | --hea )
4130
- $ac_shift
4131
- case $ac_optarg in
4132
- *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4133
- esac
4134
- as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4135
- ac_need_defaults=false;;
4136
- --he | --h)
4137
- # Conflict between --help and --header
4138
- as_fn_error $? "ambiguous option: \`$1'
4139
- Try \`$0 --help' for more information.";;
4140
- --help | --hel | -h )
4141
- printf "%s\n" "$ac_cs_usage"; exit ;;
4142
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4143
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
4144
- ac_cs_silent=: ;;
4145
-
4146
- # This is an error.
4147
- -*) as_fn_error $? "unrecognized option: \`$1'
4148
- Try \`$0 --help' for more information." ;;
4149
-
4150
- *) as_fn_append ac_config_targets " $1"
4151
- ac_need_defaults=false ;;
4152
-
4153
- esac
4154
- shift
4155
- done
4156
-
4157
- ac_configure_extra_args=
4158
-
4159
- if $ac_cs_silent; then
4160
- exec 6>/dev/null
4161
- ac_configure_extra_args="$ac_configure_extra_args --silent"
4162
- fi
4163
-
4164
- _ACEOF
4165
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4166
- if \$ac_cs_recheck; then
4167
- set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4168
- shift
4169
- \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
4170
- CONFIG_SHELL='$SHELL'
4171
- export CONFIG_SHELL
4172
- exec "\$@"
4173
- fi
4174
-
4175
- _ACEOF
4176
- cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4177
- exec 5>>config.log
4178
- {
4179
- echo
4180
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4181
- ## Running $as_me. ##
4182
- _ASBOX
4183
- printf "%s\n" "$ac_log"
4184
- } >&5
4185
-
4186
- _ACEOF
4187
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4188
- _ACEOF
4189
-
4190
- cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4191
-
4192
- # Handling of arguments.
4193
- for ac_config_target in $ac_config_targets
4194
- do
4195
- case $ac_config_target in
4196
- "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
4197
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4198
-
4199
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4200
- esac
4201
- done
4202
-
4203
-
4204
- # If the user did not use the arguments to specify the items to instantiate,
4205
- # then the envvar interface is used. Set only those that are not.
4206
- # We use the long form for the default assignment because of an extremely
4207
- # bizarre bug on SunOS 4.1.3.
4208
- if $ac_need_defaults; then
4209
- test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
4210
- test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
4211
- fi
4212
-
4213
- # Have a temporary directory for convenience. Make it in the build tree
4214
- # simply because there is no reason against having it here, and in addition,
4215
- # creating and moving files from /tmp can sometimes cause problems.
4216
- # Hook for its removal unless debugging.
4217
- # Note that there is a small window in which the directory will not be cleaned:
4218
- # after its creation but before its name has been assigned to `$tmp'.
4219
- $debug ||
4220
- {
4221
- tmp= ac_tmp=
4222
- trap 'exit_status=$?
4223
- : "${ac_tmp:=$tmp}"
4224
- { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4225
- ' 0
4226
- trap 'as_fn_exit 1' 1 2 13 15
4227
- }
4228
- # Create a (secure) tmp directory for tmp files.
4229
-
4230
- {
4231
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4232
- test -d "$tmp"
4233
- } ||
4234
- {
4235
- tmp=./conf$$-$RANDOM
4236
- (umask 077 && mkdir "$tmp")
4237
- } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4238
- ac_tmp=$tmp
4239
-
4240
- # Set up the scripts for CONFIG_FILES section.
4241
- # No need to generate them if there are no CONFIG_FILES.
4242
- # This happens for instance with `./config.status config.h'.
4243
- if test -n "$CONFIG_FILES"; then
4244
-
4245
-
4246
- ac_cr=`echo X | tr X '\015'`
4247
- # On cygwin, bash can eat \r inside `` if the user requested igncr.
4248
- # But we know of no other shell where ac_cr would be empty at this
4249
- # point, so we can use a bashism as a fallback.
4250
- if test "x$ac_cr" = x; then
4251
- eval ac_cr=\$\'\\r\'
4252
- fi
4253
- ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4254
- if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4255
- ac_cs_awk_cr='\\r'
4256
- else
4257
- ac_cs_awk_cr=$ac_cr
4258
- fi
4259
-
4260
- echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4261
- _ACEOF
4262
-
4263
-
4264
- {
4265
- echo "cat >conf$$subs.awk <<_ACEOF" &&
4266
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4267
- echo "_ACEOF"
4268
- } >conf$$subs.sh ||
4269
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4270
- ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4271
- ac_delim='%!_!# '
4272
- for ac_last_try in false false false false false :; do
4273
- . ./conf$$subs.sh ||
4274
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4275
-
4276
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4277
- if test $ac_delim_n = $ac_delim_num; then
4278
- break
4279
- elif $ac_last_try; then
4280
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4281
- else
4282
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4283
- fi
4284
- done
4285
- rm -f conf$$subs.sh
4286
-
4287
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4288
- cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4289
- _ACEOF
4290
- sed -n '
4291
- h
4292
- s/^/S["/; s/!.*/"]=/
4293
- p
4294
- g
4295
- s/^[^!]*!//
4296
- :repl
4297
- t repl
4298
- s/'"$ac_delim"'$//
4299
- t delim
4300
- :nl
4301
- h
4302
- s/\(.\{148\}\)..*/\1/
4303
- t more1
4304
- s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4305
- p
4306
- n
4307
- b repl
4308
- :more1
4309
- s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4310
- p
4311
- g
4312
- s/.\{148\}//
4313
- t nl
4314
- :delim
4315
- h
4316
- s/\(.\{148\}\)..*/\1/
4317
- t more2
4318
- s/["\\]/\\&/g; s/^/"/; s/$/"/
4319
- p
4320
- b
4321
- :more2
4322
- s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4323
- p
4324
- g
4325
- s/.\{148\}//
4326
- t delim
4327
- ' <conf$$subs.awk | sed '
4328
- /^[^""]/{
4329
- N
4330
- s/\n//
4331
- }
4332
- ' >>$CONFIG_STATUS || ac_write_fail=1
4333
- rm -f conf$$subs.awk
4334
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4335
- _ACAWK
4336
- cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4337
- for (key in S) S_is_set[key] = 1
4338
- FS = ""
4339
-
4340
- }
4341
- {
4342
- line = $ 0
4343
- nfields = split(line, field, "@")
4344
- substed = 0
4345
- len = length(field[1])
4346
- for (i = 2; i < nfields; i++) {
4347
- key = field[i]
4348
- keylen = length(key)
4349
- if (S_is_set[key]) {
4350
- value = S[key]
4351
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4352
- len += length(value) + length(field[++i])
4353
- substed = 1
4354
- } else
4355
- len += 1 + keylen
4356
- }
4357
-
4358
- print line
4359
- }
4360
-
4361
- _ACAWK
4362
- _ACEOF
4363
- cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4364
- if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4365
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4366
- else
4367
- cat
4368
- fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4369
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4370
- _ACEOF
4371
-
4372
- # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4373
- # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4374
- # trailing colons and then remove the whole line if VPATH becomes empty
4375
- # (actually we leave an empty line to preserve line numbers).
4376
- if test "x$srcdir" = x.; then
4377
- ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4378
- h
4379
- s///
4380
- s/^/:/
4381
- s/[ ]*$/:/
4382
- s/:\$(srcdir):/:/g
4383
- s/:\${srcdir}:/:/g
4384
- s/:@srcdir@:/:/g
4385
- s/^:*//
4386
- s/:*$//
4387
- x
4388
- s/\(=[ ]*\).*/\1/
4389
- G
4390
- s/\n//
4391
- s/^[^=]*=[ ]*$//
4392
- }'
4393
- fi
4394
-
4395
- cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4396
- fi # test -n "$CONFIG_FILES"
4397
-
4398
- # Set up the scripts for CONFIG_HEADERS section.
4399
- # No need to generate them if there are no CONFIG_HEADERS.
4400
- # This happens for instance with `./config.status Makefile'.
4401
- if test -n "$CONFIG_HEADERS"; then
4402
- cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4403
- BEGIN {
4404
- _ACEOF
4405
-
4406
- # Transform confdefs.h into an awk script `defines.awk', embedded as
4407
- # here-document in config.status, that substitutes the proper values into
4408
- # config.h.in to produce config.h.
4409
-
4410
- # Create a delimiter string that does not exist in confdefs.h, to ease
4411
- # handling of long lines.
4412
- ac_delim='%!_!# '
4413
- for ac_last_try in false false :; do
4414
- ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4415
- if test -z "$ac_tt"; then
4416
- break
4417
- elif $ac_last_try; then
4418
- as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4419
- else
4420
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4421
- fi
4422
- done
4423
-
4424
- # For the awk script, D is an array of macro values keyed by name,
4425
- # likewise P contains macro parameters if any. Preserve backslash
4426
- # newline sequences.
4427
-
4428
- ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4429
- sed -n '
4430
- s/.\{148\}/&'"$ac_delim"'/g
4431
- t rset
4432
- :rset
4433
- s/^[ ]*#[ ]*define[ ][ ]*/ /
4434
- t def
4435
- d
4436
- :def
4437
- s/\\$//
4438
- t bsnl
4439
- s/["\\]/\\&/g
4440
- s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4441
- D["\1"]=" \3"/p
4442
- s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4443
- d
4444
- :bsnl
4445
- s/["\\]/\\&/g
4446
- s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4447
- D["\1"]=" \3\\\\\\n"\\/p
4448
- t cont
4449
- s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4450
- t cont
4451
- d
4452
- :cont
4453
- n
4454
- s/.\{148\}/&'"$ac_delim"'/g
4455
- t clear
4456
- :clear
4457
- s/\\$//
4458
- t bsnlc
4459
- s/["\\]/\\&/g; s/^/"/; s/$/"/p
4460
- d
4461
- :bsnlc
4462
- s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4463
- b cont
4464
- ' <confdefs.h | sed '
4465
- s/'"$ac_delim"'/"\\\
4466
- "/g' >>$CONFIG_STATUS || ac_write_fail=1
4467
-
4468
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4469
- for (key in D) D_is_set[key] = 1
4470
- FS = ""
4471
- }
4472
- /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4473
- line = \$ 0
4474
- split(line, arg, " ")
4475
- if (arg[1] == "#") {
4476
- defundef = arg[2]
4477
- mac1 = arg[3]
4478
- } else {
4479
- defundef = substr(arg[1], 2)
4480
- mac1 = arg[2]
4481
- }
4482
- split(mac1, mac2, "(") #)
4483
- macro = mac2[1]
4484
- prefix = substr(line, 1, index(line, defundef) - 1)
4485
- if (D_is_set[macro]) {
4486
- # Preserve the white space surrounding the "#".
4487
- print prefix "define", macro P[macro] D[macro]
4488
- next
4489
- } else {
4490
- # Replace #undef with comments. This is necessary, for example,
4491
- # in the case of _POSIX_SOURCE, which is predefined and required
4492
- # on some systems where configure will not decide to define it.
4493
- if (defundef == "undef") {
4494
- print "/*", prefix defundef, macro, "*/"
4495
- next
4496
- }
4497
- }
4498
- }
4499
- { print }
4500
- _ACAWK
4501
- _ACEOF
4502
- cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4503
- as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4504
- fi # test -n "$CONFIG_HEADERS"
4505
-
4506
-
4507
- eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
4508
- shift
4509
- for ac_tag
4510
- do
4511
- case $ac_tag in
4512
- :[FHLC]) ac_mode=$ac_tag; continue;;
4513
- esac
4514
- case $ac_mode$ac_tag in
4515
- :[FHL]*:*);;
4516
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4517
- :[FH]-) ac_tag=-:-;;
4518
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4519
- esac
4520
- ac_save_IFS=$IFS
4521
- IFS=:
4522
- set x $ac_tag
4523
- IFS=$ac_save_IFS
4524
- shift
4525
- ac_file=$1
4526
- shift
4527
-
4528
- case $ac_mode in
4529
- :L) ac_source=$1;;
4530
- :[FH])
4531
- ac_file_inputs=
4532
- for ac_f
4533
- do
4534
- case $ac_f in
4535
- -) ac_f="$ac_tmp/stdin";;
4536
- *) # Look for the file first in the build tree, then in the source tree
4537
- # (if the path is not absolute). The absolute path cannot be DOS-style,
4538
- # because $ac_f cannot contain `:'.
4539
- test -f "$ac_f" ||
4540
- case $ac_f in
4541
- [\\/$]*) false;;
4542
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4543
- esac ||
4544
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4545
- esac
4546
- case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4547
- as_fn_append ac_file_inputs " '$ac_f'"
4548
- done
4549
-
4550
- # Let's still pretend it is `configure' which instantiates (i.e., don't
4551
- # use $as_me), people would be surprised to read:
4552
- # /* config.h. Generated by config.status. */
4553
- configure_input='Generated from '`
4554
- printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4555
- `' by configure.'
4556
- if test x"$ac_file" != x-; then
4557
- configure_input="$ac_file. $configure_input"
4558
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4559
- printf "%s\n" "$as_me: creating $ac_file" >&6;}
4560
- fi
4561
- # Neutralize special characters interpreted by sed in replacement strings.
4562
- case $configure_input in #(
4563
- *\&* | *\|* | *\\* )
4564
- ac_sed_conf_input=`printf "%s\n" "$configure_input" |
4565
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
4566
- *) ac_sed_conf_input=$configure_input;;
4567
- esac
4568
-
4569
- case $ac_tag in
4570
- *:-:* | *:-) cat >"$ac_tmp/stdin" \
4571
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4572
- esac
4573
- ;;
4574
- esac
4575
-
4576
- ac_dir=`$as_dirname -- "$ac_file" ||
4577
- $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4578
- X"$ac_file" : 'X\(//\)[^/]' \| \
4579
- X"$ac_file" : 'X\(//\)$' \| \
4580
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4581
- printf "%s\n" X"$ac_file" |
4582
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4583
- s//\1/
4584
- q
4585
- }
4586
- /^X\(\/\/\)[^/].*/{
4587
- s//\1/
4588
- q
4589
- }
4590
- /^X\(\/\/\)$/{
4591
- s//\1/
4592
- q
4593
- }
4594
- /^X\(\/\).*/{
4595
- s//\1/
4596
- q
4597
- }
4598
- s/.*/./; q'`
4599
- as_dir="$ac_dir"; as_fn_mkdir_p
4600
- ac_builddir=.
4601
-
4602
- case "$ac_dir" in
4603
- .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4604
- *)
4605
- ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
4606
- # A ".." for each directory in $ac_dir_suffix.
4607
- ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4608
- case $ac_top_builddir_sub in
4609
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4610
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4611
- esac ;;
4612
- esac
4613
- ac_abs_top_builddir=$ac_pwd
4614
- ac_abs_builddir=$ac_pwd$ac_dir_suffix
4615
- # for backward compatibility:
4616
- ac_top_builddir=$ac_top_build_prefix
4617
-
4618
- case $srcdir in
4619
- .) # We are building in place.
4620
- ac_srcdir=.
4621
- ac_top_srcdir=$ac_top_builddir_sub
4622
- ac_abs_top_srcdir=$ac_pwd ;;
4623
- [\\/]* | ?:[\\/]* ) # Absolute name.
4624
- ac_srcdir=$srcdir$ac_dir_suffix;
4625
- ac_top_srcdir=$srcdir
4626
- ac_abs_top_srcdir=$srcdir ;;
4627
- *) # Relative name.
4628
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4629
- ac_top_srcdir=$ac_top_build_prefix$srcdir
4630
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4631
- esac
4632
- ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4633
-
4634
-
4635
- case $ac_mode in
4636
- :F)
4637
- #
4638
- # CONFIG_FILE
4639
- #
4640
-
4641
- _ACEOF
4642
-
4643
- cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4644
- # If the template does not know about datarootdir, expand it.
4645
- # FIXME: This hack should be removed a few years after 2.60.
4646
- ac_datarootdir_hack=; ac_datarootdir_seen=
4647
- ac_sed_dataroot='
4648
- /datarootdir/ {
4649
- p
4650
- q
4651
- }
4652
- /@datadir@/p
4653
- /@docdir@/p
4654
- /@infodir@/p
4655
- /@localedir@/p
4656
- /@mandir@/p'
4657
- case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4658
- *datarootdir*) ac_datarootdir_seen=yes;;
4659
- *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4660
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4661
- printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4662
- _ACEOF
4663
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4664
- ac_datarootdir_hack='
4665
- s&@datadir@&$datadir&g
4666
- s&@docdir@&$docdir&g
4667
- s&@infodir@&$infodir&g
4668
- s&@localedir@&$localedir&g
4669
- s&@mandir@&$mandir&g
4670
- s&\\\${datarootdir}&$datarootdir&g' ;;
4671
- esac
4672
- _ACEOF
4673
-
4674
- # Neutralize VPATH when `$srcdir' = `.'.
4675
- # Shell code in configure.ac might set extrasub.
4676
- # FIXME: do we really want to maintain this feature?
4677
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4678
- ac_sed_extra="$ac_vpsub
4679
- $extrasub
4680
- _ACEOF
4681
- cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4682
- :t
4683
- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4684
- s|@configure_input@|$ac_sed_conf_input|;t t
4685
- s&@top_builddir@&$ac_top_builddir_sub&;t t
4686
- s&@top_build_prefix@&$ac_top_build_prefix&;t t
4687
- s&@srcdir@&$ac_srcdir&;t t
4688
- s&@abs_srcdir@&$ac_abs_srcdir&;t t
4689
- s&@top_srcdir@&$ac_top_srcdir&;t t
4690
- s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4691
- s&@builddir@&$ac_builddir&;t t
4692
- s&@abs_builddir@&$ac_abs_builddir&;t t
4693
- s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4694
- $ac_datarootdir_hack
4695
- "
4696
- eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4697
- >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4698
-
4699
- test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4700
- { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4701
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4702
- "$ac_tmp/out"`; test -z "$ac_out"; } &&
4703
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4704
- which seems to be undefined. Please make sure it is defined" >&5
4705
- printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4706
- which seems to be undefined. Please make sure it is defined" >&2;}
4707
-
4708
- rm -f "$ac_tmp/stdin"
4709
- case $ac_file in
4710
- -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4711
- *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4712
- esac \
4713
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4714
- ;;
4715
- :H)
4716
- #
4717
- # CONFIG_HEADER
4718
- #
4719
- if test x"$ac_file" != x-; then
4720
- {
4721
- printf "%s\n" "/* $configure_input */" >&1 \
4722
- && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4723
- } >"$ac_tmp/config.h" \
4724
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4725
- if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4726
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4727
- printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
4728
- else
4729
- rm -f "$ac_file"
4730
- mv "$ac_tmp/config.h" "$ac_file" \
4731
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4732
- fi
4733
- else
4734
- printf "%s\n" "/* $configure_input */" >&1 \
4735
- && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4736
- || as_fn_error $? "could not create -" "$LINENO" 5
4737
- fi
4738
- ;;
4739
-
4740
-
4741
- esac
4742
-
4743
- done # for ac_tag
4744
-
4745
-
4746
- as_fn_exit 0
4747
- _ACEOF
4748
- ac_clean_files=$ac_clean_files_save
4749
-
4750
- test $ac_write_fail = 0 ||
4751
- as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4752
-
4753
-
4754
- # configure is writing to config.log, and then calls config.status.
4755
- # config.status does its own redirection, appending to config.log.
4756
- # Unfortunately, on DOS this fails, as config.log is still kept open
4757
- # by configure, so config.status won't be able to write to it; its
4758
- # output is simply discarded. So we exec the FD to /dev/null,
4759
- # effectively closing config.log, so it can be properly (re)opened and
4760
- # appended to by config.status. When coming back to configure, we
4761
- # need to make the FD available again.
4762
- if test "$no_create" != yes; then
4763
- ac_cs_success=:
4764
- ac_config_status_args=
4765
- test "$silent" = yes &&
4766
- ac_config_status_args="$ac_config_status_args --quiet"
4767
- exec 5>/dev/null
4768
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4769
- exec 5>>config.log
4770
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4771
- # would make configure fail if this is the last instruction.
4772
- $ac_cs_success || as_fn_exit 1
4773
- fi
4774
- if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4775
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4776
- printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4777
- fi
4778
-
4779
-