Debian Codegraph @

configure

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