1 #! /bin/sh |
1 #! /bin/sh |
2 # Guess values for system-dependent variables and create Makefiles. |
2 # Guess values for system-dependent variables and create Makefiles. |
3 # Generated by GNU Autoconf 2.68 for matiec 0.1. |
3 # Generated by GNU Autoconf 2.69 for matiec 0.1. |
4 # |
4 # |
5 # Report bugs to <msousa@fe.up.pt, beremiz-devel@lists.sourceforge.net>. |
5 # Report bugs to <msousa@fe.up.pt, beremiz-devel@lists.sourceforge.net>. |
6 # |
6 # |
7 # |
7 # |
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
|
10 # Foundation, Inc. |
|
11 # |
9 # |
12 # |
10 # |
13 # This configure script is free software; the Free Software Foundation |
11 # This configure script is free software; the Free Software Foundation |
14 # gives unlimited permission to copy, distribute and modify it. |
12 # gives unlimited permission to copy, distribute and modify it. |
15 ## -------------------- ## |
13 ## -------------------- ## |
134 export LANGUAGE |
132 export LANGUAGE |
135 |
133 |
136 # CDPATH. |
134 # CDPATH. |
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
138 |
136 |
|
137 # Use a proper internal environment variable to ensure we don't fall |
|
138 # into an infinite loop, continuously re-executing ourselves. |
|
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
|
140 _as_can_reexec=no; export _as_can_reexec; |
|
141 # We cannot yet assume a decent shell, so we have to provide a |
|
142 # neutralization value for shells without unset; and this also |
|
143 # works around shells that cannot unset nonexistent variables. |
|
144 # Preserve -v and -x to the replacement shell. |
|
145 BASH_ENV=/dev/null |
|
146 ENV=/dev/null |
|
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
148 case $- in # (((( |
|
149 *v*x* | *x*v* ) as_opts=-vx ;; |
|
150 *v* ) as_opts=-v ;; |
|
151 *x* ) as_opts=-x ;; |
|
152 * ) as_opts= ;; |
|
153 esac |
|
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
155 # Admittedly, this is quite paranoid, since all the known shells bail |
|
156 # out after a failed `exec'. |
|
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
158 as_fn_exit 255 |
|
159 fi |
|
160 # We don't want this to propagate to other subprocesses. |
|
161 { _as_can_reexec=; unset _as_can_reexec;} |
139 if test "x$CONFIG_SHELL" = x; then |
162 if test "x$CONFIG_SHELL" = x; then |
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
141 emulate sh |
164 emulate sh |
142 NULLCMD=: |
165 NULLCMD=: |
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
168 |
191 |
169 else |
192 else |
170 exitcode=1; echo positional parameters were not saved. |
193 exitcode=1; echo positional parameters were not saved. |
171 fi |
194 fi |
172 test x\$exitcode = x0 || exit 1" |
195 test x\$exitcode = x0 || exit 1 |
|
196 test -x / || exit 1" |
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
177 test \$(( 1 + 1 )) = 2 || exit 1" |
201 test \$(( 1 + 1 )) = 2 || exit 1" |
212 fi; } |
236 fi; } |
213 IFS=$as_save_IFS |
237 IFS=$as_save_IFS |
214 |
238 |
215 |
239 |
216 if test "x$CONFIG_SHELL" != x; then : |
240 if test "x$CONFIG_SHELL" != x; then : |
217 # We cannot yet assume a decent shell, so we have to provide a |
241 export CONFIG_SHELL |
218 # neutralization value for shells without unset; and this also |
242 # We cannot yet assume a decent shell, so we have to provide a |
219 # works around shells that cannot unset nonexistent variables. |
243 # neutralization value for shells without unset; and this also |
220 # Preserve -v and -x to the replacement shell. |
244 # works around shells that cannot unset nonexistent variables. |
221 BASH_ENV=/dev/null |
245 # Preserve -v and -x to the replacement shell. |
222 ENV=/dev/null |
246 BASH_ENV=/dev/null |
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
247 ENV=/dev/null |
224 export CONFIG_SHELL |
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
225 case $- in # (((( |
249 case $- in # (((( |
226 *v*x* | *x*v* ) as_opts=-vx ;; |
250 *v*x* | *x*v* ) as_opts=-vx ;; |
227 *v* ) as_opts=-v ;; |
251 *v* ) as_opts=-v ;; |
228 *x* ) as_opts=-x ;; |
252 *x* ) as_opts=-x ;; |
229 * ) as_opts= ;; |
253 * ) as_opts= ;; |
230 esac |
254 esac |
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
256 # Admittedly, this is quite paranoid, since all the known shells bail |
|
257 # out after a failed `exec'. |
|
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
259 exit 255 |
232 fi |
260 fi |
233 |
261 |
234 if test x$as_have_required = xno; then : |
262 if test x$as_have_required = xno; then : |
235 $as_echo "$0: This script requires a shell more modern than all" |
263 $as_echo "$0: This script requires a shell more modern than all" |
236 $as_echo "$0: the shells that I found on your system." |
264 $as_echo "$0: the shells that I found on your system." |
329 test -z "$as_dirs" || eval "mkdir $as_dirs" |
357 test -z "$as_dirs" || eval "mkdir $as_dirs" |
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
331 |
359 |
332 |
360 |
333 } # as_fn_mkdir_p |
361 } # as_fn_mkdir_p |
|
362 |
|
363 # as_fn_executable_p FILE |
|
364 # ----------------------- |
|
365 # Test if FILE is an executable regular file. |
|
366 as_fn_executable_p () |
|
367 { |
|
368 test -f "$1" && test -x "$1" |
|
369 } # as_fn_executable_p |
334 # as_fn_append VAR VALUE |
370 # as_fn_append VAR VALUE |
335 # ---------------------- |
371 # ---------------------- |
336 # Append the text in VALUE to the end of the definition contained in VAR. Take |
372 # Append the text in VALUE to the end of the definition contained in VAR. Take |
337 # advantage of any shell optimizations that allow amortized linear growth over |
373 # advantage of any shell optimizations that allow amortized linear growth over |
338 # repeated appends, instead of the typical quadratic growth present in naive |
374 # repeated appends, instead of the typical quadratic growth present in naive |
450 s/-\n.*// |
486 s/-\n.*// |
451 ' >$as_me.lineno && |
487 ' >$as_me.lineno && |
452 chmod +x "$as_me.lineno" || |
488 chmod +x "$as_me.lineno" || |
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
454 |
490 |
|
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
|
492 # already done that, so ensure we don't try to do so again and fall |
|
493 # in an infinite loop. This has already happened in practice. |
|
494 _as_can_reexec=no; export _as_can_reexec |
455 # Don't try to exec as it changes $[0], causing all sort of problems |
495 # Don't try to exec as it changes $[0], causing all sort of problems |
456 # (the dirname of $[0] is not the place where we might find the |
496 # (the dirname of $[0] is not the place where we might find the |
457 # original and so on. Autoconf is especially sensitive to this). |
497 # original and so on. Autoconf is especially sensitive to this). |
458 . "./$as_me.lineno" |
498 . "./$as_me.lineno" |
459 # Exit status is that of the last command. |
499 # Exit status is that of the last command. |
484 if ln -s conf$$.file conf$$ 2>/dev/null; then |
524 if ln -s conf$$.file conf$$ 2>/dev/null; then |
485 as_ln_s='ln -s' |
525 as_ln_s='ln -s' |
486 # ... but there are two gotchas: |
526 # ... but there are two gotchas: |
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
489 # In both cases, we have to default to `cp -p'. |
529 # In both cases, we have to default to `cp -pR'. |
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
491 as_ln_s='cp -p' |
531 as_ln_s='cp -pR' |
492 elif ln conf$$.file conf$$ 2>/dev/null; then |
532 elif ln conf$$.file conf$$ 2>/dev/null; then |
493 as_ln_s=ln |
533 as_ln_s=ln |
494 else |
534 else |
495 as_ln_s='cp -p' |
535 as_ln_s='cp -pR' |
496 fi |
536 fi |
497 else |
537 else |
498 as_ln_s='cp -p' |
538 as_ln_s='cp -pR' |
499 fi |
539 fi |
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
501 rmdir conf$$.dir 2>/dev/null |
541 rmdir conf$$.dir 2>/dev/null |
502 |
542 |
503 if mkdir -p . 2>/dev/null; then |
543 if mkdir -p . 2>/dev/null; then |
505 else |
545 else |
506 test -d ./-p && rmdir ./-p |
546 test -d ./-p && rmdir ./-p |
507 as_mkdir_p=false |
547 as_mkdir_p=false |
508 fi |
548 fi |
509 |
549 |
510 if test -x / >/dev/null 2>&1; then |
550 as_test_x='test -x' |
511 as_test_x='test -x' |
551 as_executable_p=as_fn_executable_p |
512 else |
|
513 if ls -dL / >/dev/null 2>&1; then |
|
514 as_ls_L_option=L |
|
515 else |
|
516 as_ls_L_option= |
|
517 fi |
|
518 as_test_x=' |
|
519 eval sh -c '\'' |
|
520 if test -d "$1"; then |
|
521 test -d "$1/."; |
|
522 else |
|
523 case $1 in #( |
|
524 -*)set "./$1";; |
|
525 esac; |
|
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
527 ???[sx]*):;;*)false;;esac;fi |
|
528 '\'' sh |
|
529 ' |
|
530 fi |
|
531 as_executable_p=$as_test_x |
|
532 |
552 |
533 # Sed expression to map a string onto a valid CPP name. |
553 # Sed expression to map a string onto a valid CPP name. |
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
535 |
555 |
536 # Sed expression to map a string onto a valid variable name. |
556 # Sed expression to map a string onto a valid variable name. |
1422 |
1439 |
1423 test -n "$ac_init_help" && exit $ac_status |
1440 test -n "$ac_init_help" && exit $ac_status |
1424 if $ac_init_version; then |
1441 if $ac_init_version; then |
1425 cat <<\_ACEOF |
1442 cat <<\_ACEOF |
1426 matiec configure 0.1 |
1443 matiec configure 0.1 |
1427 generated by GNU Autoconf 2.68 |
1444 generated by GNU Autoconf 2.69 |
1428 |
1445 |
1429 Copyright (C) 2010 Free Software Foundation, Inc. |
1446 Copyright (C) 2012 Free Software Foundation, Inc. |
1430 This configure script is free software; the Free Software Foundation |
1447 This configure script is free software; the Free Software Foundation |
1431 gives unlimited permission to copy, distribute and modify it. |
1448 gives unlimited permission to copy, distribute and modify it. |
1432 _ACEOF |
1449 _ACEOF |
1433 exit |
1450 exit |
1434 fi |
1451 fi |
1500 test $ac_status = 0; } && { |
1517 test $ac_status = 0; } && { |
1501 test -z "$ac_c_werror_flag" || |
1518 test -z "$ac_c_werror_flag" || |
1502 test ! -s conftest.err |
1519 test ! -s conftest.err |
1503 } && test -s conftest$ac_exeext && { |
1520 } && test -s conftest$ac_exeext && { |
1504 test "$cross_compiling" = yes || |
1521 test "$cross_compiling" = yes || |
1505 $as_test_x conftest$ac_exeext |
1522 test -x conftest$ac_exeext |
1506 }; then : |
1523 }; then : |
1507 ac_retval=0 |
1524 ac_retval=0 |
1508 else |
1525 else |
1509 $as_echo "$as_me: failed program was:" >&5 |
1526 $as_echo "$as_me: failed program was:" >&5 |
1510 sed 's/^/| /' conftest.$ac_ext >&5 |
1527 sed 's/^/| /' conftest.$ac_ext >&5 |
2431 # OSF1 and SCO ODT 3.0 have their own names for install. |
2451 # OSF1 and SCO ODT 3.0 have their own names for install. |
2432 # Don't use installbsd from OSF since it installs stuff as root |
2452 # Don't use installbsd from OSF since it installs stuff as root |
2433 # by default. |
2453 # by default. |
2434 for ac_prog in ginstall scoinst install; do |
2454 for ac_prog in ginstall scoinst install; do |
2435 for ac_exec_ext in '' $ac_executable_extensions; do |
2455 for ac_exec_ext in '' $ac_executable_extensions; do |
2436 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
2456 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
2437 if test $ac_prog = install && |
2457 if test $ac_prog = install && |
2438 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2458 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2439 # AIX install. It has an incompatible calling convention. |
2459 # AIX install. It has an incompatible calling convention. |
2440 : |
2460 : |
2441 elif test $ac_prog = install && |
2461 elif test $ac_prog = install && |
2691 do |
2711 do |
2692 IFS=$as_save_IFS |
2712 IFS=$as_save_IFS |
2693 test -z "$as_dir" && as_dir=. |
2713 test -z "$as_dir" && as_dir=. |
2694 for ac_prog in mkdir gmkdir; do |
2714 for ac_prog in mkdir gmkdir; do |
2695 for ac_exec_ext in '' $ac_executable_extensions; do |
2715 for ac_exec_ext in '' $ac_executable_extensions; do |
2696 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
2716 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
2697 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
2717 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
2698 'mkdir (GNU coreutils) '* | \ |
2718 'mkdir (GNU coreutils) '* | \ |
2699 'mkdir (coreutils) '* | \ |
2719 'mkdir (coreutils) '* | \ |
2700 'mkdir (fileutils) '4.1*) |
2720 'mkdir (fileutils) '4.1*) |
2701 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
2721 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
3691 ac_save_CC=$CC |
3710 ac_save_CC=$CC |
3692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3693 /* end confdefs.h. */ |
3712 /* end confdefs.h. */ |
3694 #include <stdarg.h> |
3713 #include <stdarg.h> |
3695 #include <stdio.h> |
3714 #include <stdio.h> |
3696 #include <sys/types.h> |
3715 struct stat; |
3697 #include <sys/stat.h> |
|
3698 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3716 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3699 struct buf { int x; }; |
3717 struct buf { int x; }; |
3700 FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3718 FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3701 static char *e (p, i) |
3719 static char *e (p, i) |
3702 char **p; |
3720 char **p; |
3790 # We make a subdir and do the tests there. Otherwise we can end up |
3808 # We make a subdir and do the tests there. Otherwise we can end up |
3791 # making bogus files that we don't know about and never remove. For |
3809 # making bogus files that we don't know about and never remove. For |
3792 # instance it was reported that on HP-UX the gcc test will end up |
3810 # instance it was reported that on HP-UX the gcc test will end up |
3793 # making a dummy file named `D' -- because `-MD' means `put the output |
3811 # making a dummy file named `D' -- because `-MD' means `put the output |
3794 # in D'. |
3812 # in D'. |
3795 rm -rf conftest.dir |
|
3796 mkdir conftest.dir |
3813 mkdir conftest.dir |
3797 # Copy depcomp to subdir because otherwise we won't find it if we're |
3814 # Copy depcomp to subdir because otherwise we won't find it if we're |
3798 # using a relative directory. |
3815 # using a relative directory. |
3799 cp "$am_depcomp" conftest.dir |
3816 cp "$am_depcomp" conftest.dir |
3800 cd conftest.dir |
3817 cd conftest.dir |
3850 continue |
3867 continue |
3851 else |
3868 else |
3852 break |
3869 break |
3853 fi |
3870 fi |
3854 ;; |
3871 ;; |
3855 msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
3872 msvisualcpp | msvcmsys) |
3856 # This compiler won't grok `-c -o', but also, the minuso test has |
3873 # This compiler won't grok `-c -o', but also, the minuso test has |
3857 # not run yet. These depmodes are late enough in the game, and |
3874 # not run yet. These depmodes are late enough in the game, and |
3858 # so weak that their functioning should not be impacted. |
3875 # so weak that their functioning should not be impacted. |
3859 am__obj=conftest.${OBJEXT-o} |
3876 am__obj=conftest.${OBJEXT-o} |
3860 am__minus_obj= |
3877 am__minus_obj= |
4334 # We make a subdir and do the tests there. Otherwise we can end up |
4352 # We make a subdir and do the tests there. Otherwise we can end up |
4335 # making bogus files that we don't know about and never remove. For |
4353 # making bogus files that we don't know about and never remove. For |
4336 # instance it was reported that on HP-UX the gcc test will end up |
4354 # instance it was reported that on HP-UX the gcc test will end up |
4337 # making a dummy file named `D' -- because `-MD' means `put the output |
4355 # making a dummy file named `D' -- because `-MD' means `put the output |
4338 # in D'. |
4356 # in D'. |
4339 rm -rf conftest.dir |
|
4340 mkdir conftest.dir |
4357 mkdir conftest.dir |
4341 # Copy depcomp to subdir because otherwise we won't find it if we're |
4358 # Copy depcomp to subdir because otherwise we won't find it if we're |
4342 # using a relative directory. |
4359 # using a relative directory. |
4343 cp "$am_depcomp" conftest.dir |
4360 cp "$am_depcomp" conftest.dir |
4344 cd conftest.dir |
4361 cd conftest.dir |
4394 continue |
4411 continue |
4395 else |
4412 else |
4396 break |
4413 break |
4397 fi |
4414 fi |
4398 ;; |
4415 ;; |
4399 msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
4416 msvisualcpp | msvcmsys) |
4400 # This compiler won't grok `-c -o', but also, the minuso test has |
4417 # This compiler won't grok `-c -o', but also, the minuso test has |
4401 # not run yet. These depmodes are late enough in the game, and |
4418 # not run yet. These depmodes are late enough in the game, and |
4402 # so weak that their functioning should not be impacted. |
4419 # so weak that their functioning should not be impacted. |
4403 am__obj=conftest.${OBJEXT-o} |
4420 am__obj=conftest.${OBJEXT-o} |
4404 am__minus_obj= |
4421 am__minus_obj= |
4800 IFS=$as_save_IFS |
4817 IFS=$as_save_IFS |
4801 test -z "$as_dir" && as_dir=. |
4818 test -z "$as_dir" && as_dir=. |
4802 for ac_prog in grep ggrep; do |
4819 for ac_prog in grep ggrep; do |
4803 for ac_exec_ext in '' $ac_executable_extensions; do |
4820 for ac_exec_ext in '' $ac_executable_extensions; do |
4804 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4821 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4805 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
4822 as_fn_executable_p "$ac_path_GREP" || continue |
4806 # Check for GNU ac_path_GREP and select it if it is found. |
4823 # Check for GNU ac_path_GREP and select it if it is found. |
4807 # Check for GNU $ac_path_GREP |
4824 # Check for GNU $ac_path_GREP |
4808 case `"$ac_path_GREP" --version 2>&1` in |
4825 case `"$ac_path_GREP" --version 2>&1` in |
4809 *GNU*) |
4826 *GNU*) |
4810 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
4827 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
4866 IFS=$as_save_IFS |
4883 IFS=$as_save_IFS |
4867 test -z "$as_dir" && as_dir=. |
4884 test -z "$as_dir" && as_dir=. |
4868 for ac_prog in egrep; do |
4885 for ac_prog in egrep; do |
4869 for ac_exec_ext in '' $ac_executable_extensions; do |
4886 for ac_exec_ext in '' $ac_executable_extensions; do |
4870 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4887 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4871 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
4888 as_fn_executable_p "$ac_path_EGREP" || continue |
4872 # Check for GNU ac_path_EGREP and select it if it is found. |
4889 # Check for GNU ac_path_EGREP and select it if it is found. |
4873 # Check for GNU $ac_path_EGREP |
4890 # Check for GNU $ac_path_EGREP |
4874 case `"$ac_path_EGREP" --version 2>&1` in |
4891 case `"$ac_path_EGREP" --version 2>&1` in |
4875 *GNU*) |
4892 *GNU*) |
4876 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
4893 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
5066 $as_echo_n "(cached) " >&6 |
5083 $as_echo_n "(cached) " >&6 |
5067 else |
5084 else |
5068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5069 /* end confdefs.h. */ |
5086 /* end confdefs.h. */ |
5070 |
5087 |
5071 #include <stdbool.h> |
5088 #include <stdbool.h> |
5072 #ifndef bool |
5089 #ifndef bool |
5073 "error: bool is not defined" |
5090 "error: bool is not defined" |
5074 #endif |
5091 #endif |
5075 #ifndef false |
5092 #ifndef false |
5076 "error: false is not defined" |
5093 "error: false is not defined" |
5077 #endif |
5094 #endif |
5078 #if false |
5095 #if false |
5079 "error: false is not 0" |
5096 "error: false is not 0" |
5080 #endif |
5097 #endif |
5081 #ifndef true |
5098 #ifndef true |
5082 "error: true is not defined" |
5099 "error: true is not defined" |
5083 #endif |
5100 #endif |
5084 #if true != 1 |
5101 #if true != 1 |
5085 "error: true is not 1" |
5102 "error: true is not 1" |
5086 #endif |
5103 #endif |
5087 #ifndef __bool_true_false_are_defined |
5104 #ifndef __bool_true_false_are_defined |
5088 "error: __bool_true_false_are_defined is not defined" |
5105 "error: __bool_true_false_are_defined is not defined" |
5089 #endif |
5106 #endif |
5090 |
5107 |
5091 struct s { _Bool s: 1; _Bool t; } s; |
5108 struct s { _Bool s: 1; _Bool t; } s; |
5092 |
5109 |
5093 char a[true == 1 ? 1 : -1]; |
5110 char a[true == 1 ? 1 : -1]; |
5094 char b[false == 0 ? 1 : -1]; |
5111 char b[false == 0 ? 1 : -1]; |
5095 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; |
5112 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; |
5096 char d[(bool) 0.5 == true ? 1 : -1]; |
5113 char d[(bool) 0.5 == true ? 1 : -1]; |
5097 /* See body of main program for 'e'. */ |
5114 /* See body of main program for 'e'. */ |
5098 char f[(_Bool) 0.0 == false ? 1 : -1]; |
5115 char f[(_Bool) 0.0 == false ? 1 : -1]; |
5099 char g[true]; |
5116 char g[true]; |
5100 char h[sizeof (_Bool)]; |
5117 char h[sizeof (_Bool)]; |
5101 char i[sizeof s.t]; |
5118 char i[sizeof s.t]; |
5102 enum { j = false, k = true, l = false * true, m = true * 256 }; |
5119 enum { j = false, k = true, l = false * true, m = true * 256 }; |
5103 /* The following fails for |
5120 /* The following fails for |
5104 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ |
5121 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ |
5105 _Bool n[m]; |
5122 _Bool n[m]; |
5106 char o[sizeof n == m * sizeof n[0] ? 1 : -1]; |
5123 char o[sizeof n == m * sizeof n[0] ? 1 : -1]; |
5107 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; |
5124 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; |
5108 /* Catch a bug in an HP-UX C compiler. See |
5125 /* Catch a bug in an HP-UX C compiler. See |
5109 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html |
5126 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html |
5110 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html |
5127 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html |
5111 */ |
5128 */ |
5112 _Bool q = true; |
5129 _Bool q = true; |
5113 _Bool *pq = &q; |
5130 _Bool *pq = &q; |
5114 |
5131 |
5115 int |
5132 int |
5116 main () |
5133 main () |
5117 { |
5134 { |
5118 |
5135 |
5119 bool e = &s; |
5136 bool e = &s; |
5120 *pq |= q; |
5137 *pq |= q; |
5121 *pq |= ! q; |
5138 *pq |= ! q; |
5122 /* Refer to every declared value, to avoid compiler optimizations. */ |
5139 /* Refer to every declared value, to avoid compiler optimizations. */ |
5123 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l |
5140 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l |
5124 + !m + !n + !o + !p + !q + !pq); |
5141 + !m + !n + !o + !p + !q + !pq); |
5125 |
5142 |
5126 ; |
5143 ; |
5127 return 0; |
5144 return 0; |
5128 } |
5145 } |
5129 _ACEOF |
5146 _ACEOF |
5134 fi |
5151 fi |
5135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5136 fi |
5153 fi |
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 |
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 |
5138 $as_echo "$ac_cv_header_stdbool_h" >&6; } |
5155 $as_echo "$ac_cv_header_stdbool_h" >&6; } |
5139 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" |
5156 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" |
5140 if test "x$ac_cv_type__Bool" = xyes; then : |
5157 if test "x$ac_cv_type__Bool" = xyes; then : |
5141 |
5158 |
5142 cat >>confdefs.h <<_ACEOF |
5159 cat >>confdefs.h <<_ACEOF |
5143 #define HAVE__BOOL 1 |
5160 #define HAVE__BOOL 1 |
5144 _ACEOF |
5161 _ACEOF |
5145 |
5162 |
5146 |
5163 |
5147 fi |
5164 fi |
|
5165 |
5148 |
5166 |
5149 if test $ac_cv_header_stdbool_h = yes; then |
5167 if test $ac_cv_header_stdbool_h = yes; then |
5150 |
5168 |
5151 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h |
5169 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h |
5152 |
5170 |
6169 if ln -s conf$$.file conf$$ 2>/dev/null; then |
6187 if ln -s conf$$.file conf$$ 2>/dev/null; then |
6170 as_ln_s='ln -s' |
6188 as_ln_s='ln -s' |
6171 # ... but there are two gotchas: |
6189 # ... but there are two gotchas: |
6172 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
6190 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
6173 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
6191 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
6174 # In both cases, we have to default to `cp -p'. |
6192 # In both cases, we have to default to `cp -pR'. |
6175 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
6193 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
6176 as_ln_s='cp -p' |
6194 as_ln_s='cp -pR' |
6177 elif ln conf$$.file conf$$ 2>/dev/null; then |
6195 elif ln conf$$.file conf$$ 2>/dev/null; then |
6178 as_ln_s=ln |
6196 as_ln_s=ln |
6179 else |
6197 else |
6180 as_ln_s='cp -p' |
6198 as_ln_s='cp -pR' |
6181 fi |
6199 fi |
6182 else |
6200 else |
6183 as_ln_s='cp -p' |
6201 as_ln_s='cp -pR' |
6184 fi |
6202 fi |
6185 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
6203 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
6186 rmdir conf$$.dir 2>/dev/null |
6204 rmdir conf$$.dir 2>/dev/null |
6187 |
6205 |
6188 |
6206 |
6238 else |
6256 else |
6239 test -d ./-p && rmdir ./-p |
6257 test -d ./-p && rmdir ./-p |
6240 as_mkdir_p=false |
6258 as_mkdir_p=false |
6241 fi |
6259 fi |
6242 |
6260 |
6243 if test -x / >/dev/null 2>&1; then |
6261 |
6244 as_test_x='test -x' |
6262 # as_fn_executable_p FILE |
6245 else |
6263 # ----------------------- |
6246 if ls -dL / >/dev/null 2>&1; then |
6264 # Test if FILE is an executable regular file. |
6247 as_ls_L_option=L |
6265 as_fn_executable_p () |
6248 else |
6266 { |
6249 as_ls_L_option= |
6267 test -f "$1" && test -x "$1" |
6250 fi |
6268 } # as_fn_executable_p |
6251 as_test_x=' |
6269 as_test_x='test -x' |
6252 eval sh -c '\'' |
6270 as_executable_p=as_fn_executable_p |
6253 if test -d "$1"; then |
|
6254 test -d "$1/."; |
|
6255 else |
|
6256 case $1 in #( |
|
6257 -*)set "./$1";; |
|
6258 esac; |
|
6259 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
6260 ???[sx]*):;;*)false;;esac;fi |
|
6261 '\'' sh |
|
6262 ' |
|
6263 fi |
|
6264 as_executable_p=$as_test_x |
|
6265 |
6271 |
6266 # Sed expression to map a string onto a valid CPP name. |
6272 # Sed expression to map a string onto a valid CPP name. |
6267 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
6273 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
6268 |
6274 |
6269 # Sed expression to map a string onto a valid variable name. |
6275 # Sed expression to map a string onto a valid variable name. |
6281 # Save the log message, to keep $0 and so on meaningful, and to |
6287 # Save the log message, to keep $0 and so on meaningful, and to |
6282 # report actual input values of CONFIG_FILES etc. instead of their |
6288 # report actual input values of CONFIG_FILES etc. instead of their |
6283 # values after options handling. |
6289 # values after options handling. |
6284 ac_log=" |
6290 ac_log=" |
6285 This file was extended by matiec $as_me 0.1, which was |
6291 This file was extended by matiec $as_me 0.1, which was |
6286 generated by GNU Autoconf 2.68. Invocation command line was |
6292 generated by GNU Autoconf 2.69. Invocation command line was |
6287 |
6293 |
6288 CONFIG_FILES = $CONFIG_FILES |
6294 CONFIG_FILES = $CONFIG_FILES |
6289 CONFIG_HEADERS = $CONFIG_HEADERS |
6295 CONFIG_HEADERS = $CONFIG_HEADERS |
6290 CONFIG_LINKS = $CONFIG_LINKS |
6296 CONFIG_LINKS = $CONFIG_LINKS |
6291 CONFIG_COMMANDS = $CONFIG_COMMANDS |
6297 CONFIG_COMMANDS = $CONFIG_COMMANDS |
6347 _ACEOF |
6353 _ACEOF |
6348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
6354 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
6349 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
6355 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
6350 ac_cs_version="\\ |
6356 ac_cs_version="\\ |
6351 matiec config.status 0.1 |
6357 matiec config.status 0.1 |
6352 configured by $0, generated by GNU Autoconf 2.68, |
6358 configured by $0, generated by GNU Autoconf 2.69, |
6353 with options \\"\$ac_cs_config\\" |
6359 with options \\"\$ac_cs_config\\" |
6354 |
6360 |
6355 Copyright (C) 2010 Free Software Foundation, Inc. |
6361 Copyright (C) 2012 Free Software Foundation, Inc. |
6356 This config.status script is free software; the Free Software Foundation |
6362 This config.status script is free software; the Free Software Foundation |
6357 gives unlimited permission to copy, distribute and modify it." |
6363 gives unlimited permission to copy, distribute and modify it." |
6358 |
6364 |
6359 ac_pwd='$ac_pwd' |
6365 ac_pwd='$ac_pwd' |
6360 srcdir='$srcdir' |
6366 srcdir='$srcdir' |