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.65 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, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
10 # Foundation, Inc. |
10 # Inc. |
11 # |
11 # |
12 # |
12 # |
13 # This configure script is free software; the Free Software Foundation |
13 # This configure script is free software; the Free Software Foundation |
14 # gives unlimited permission to copy, distribute and modify it. |
14 # gives unlimited permission to copy, distribute and modify it. |
15 ## -------------------- ## |
15 ## -------------------- ## |
215 |
214 |
216 if test "x$CONFIG_SHELL" != x; then : |
215 if test "x$CONFIG_SHELL" != x; then : |
217 # We cannot yet assume a decent shell, so we have to provide a |
216 # We cannot yet assume a decent shell, so we have to provide a |
218 # neutralization value for shells without unset; and this also |
217 # neutralization value for shells without unset; and this also |
219 # works around shells that cannot unset nonexistent variables. |
218 # works around shells that cannot unset nonexistent variables. |
220 # Preserve -v and -x to the replacement shell. |
|
221 BASH_ENV=/dev/null |
219 BASH_ENV=/dev/null |
222 ENV=/dev/null |
220 ENV=/dev/null |
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
224 export CONFIG_SHELL |
222 export CONFIG_SHELL |
225 case $- in # (((( |
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
226 *v*x* | *x*v* ) as_opts=-vx ;; |
|
227 *v* ) as_opts=-v ;; |
|
228 *x* ) as_opts=-x ;; |
|
229 * ) as_opts= ;; |
|
230 esac |
|
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
|
232 fi |
224 fi |
233 |
225 |
234 if test x$as_have_required = xno; then : |
226 if test x$as_have_required = xno; then : |
235 $as_echo "$0: This script requires a shell more modern than all" |
227 $as_echo "$0: This script requires a shell more modern than all" |
236 $as_echo "$0: the shells that I found on your system." |
228 $as_echo "$0: the shells that I found on your system." |
365 as_val=`expr "$@" || test $? -eq 1` |
357 as_val=`expr "$@" || test $? -eq 1` |
366 } |
358 } |
367 fi # as_fn_arith |
359 fi # as_fn_arith |
368 |
360 |
369 |
361 |
370 # as_fn_error STATUS ERROR [LINENO LOG_FD] |
362 # as_fn_error ERROR [LINENO LOG_FD] |
371 # ---------------------------------------- |
363 # --------------------------------- |
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
374 # script with STATUS, using 1 if that was 0. |
366 # script with status $?, using 1 if that was 0. |
375 as_fn_error () |
367 as_fn_error () |
376 { |
368 { |
377 as_status=$1; test $as_status -eq 0 && as_status=1 |
369 as_status=$?; test $as_status -eq 0 && as_status=1 |
378 if test "$4"; then |
370 if test "$3"; then |
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
381 fi |
373 fi |
382 $as_echo "$as_me: error: $2" >&2 |
374 $as_echo "$as_me: error: $1" >&2 |
383 as_fn_exit $as_status |
375 as_fn_exit $as_status |
384 } # as_fn_error |
376 } # as_fn_error |
385 |
377 |
386 if expr a : '\(a\)' >/dev/null 2>&1 && |
378 if expr a : '\(a\)' >/dev/null 2>&1 && |
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
826 |
817 |
827 -disable-* | --disable-*) |
818 -disable-* | --disable-*) |
828 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
819 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
829 # Reject names that are not valid shell variable names. |
820 # Reject names that are not valid shell variable names. |
830 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
821 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
831 as_fn_error $? "invalid feature name: $ac_useropt" |
822 as_fn_error "invalid feature name: $ac_useropt" |
832 ac_useropt_orig=$ac_useropt |
823 ac_useropt_orig=$ac_useropt |
833 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
824 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
834 case $ac_user_opts in |
825 case $ac_user_opts in |
835 *" |
826 *" |
836 "enable_$ac_useropt" |
827 "enable_$ac_useropt" |
852 |
843 |
853 -enable-* | --enable-*) |
844 -enable-* | --enable-*) |
854 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
845 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
855 # Reject names that are not valid shell variable names. |
846 # Reject names that are not valid shell variable names. |
856 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
847 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
857 as_fn_error $? "invalid feature name: $ac_useropt" |
848 as_fn_error "invalid feature name: $ac_useropt" |
858 ac_useropt_orig=$ac_useropt |
849 ac_useropt_orig=$ac_useropt |
859 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
850 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
860 case $ac_user_opts in |
851 case $ac_user_opts in |
861 *" |
852 *" |
862 "enable_$ac_useropt" |
853 "enable_$ac_useropt" |
1056 |
1047 |
1057 -with-* | --with-*) |
1048 -with-* | --with-*) |
1058 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1049 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1059 # Reject names that are not valid shell variable names. |
1050 # Reject names that are not valid shell variable names. |
1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1051 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1061 as_fn_error $? "invalid package name: $ac_useropt" |
1052 as_fn_error "invalid package name: $ac_useropt" |
1062 ac_useropt_orig=$ac_useropt |
1053 ac_useropt_orig=$ac_useropt |
1063 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1054 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1064 case $ac_user_opts in |
1055 case $ac_user_opts in |
1065 *" |
1056 *" |
1066 "with_$ac_useropt" |
1057 "with_$ac_useropt" |
1072 |
1063 |
1073 -without-* | --without-*) |
1064 -without-* | --without-*) |
1074 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1065 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1075 # Reject names that are not valid shell variable names. |
1066 # Reject names that are not valid shell variable names. |
1076 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1067 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1077 as_fn_error $? "invalid package name: $ac_useropt" |
1068 as_fn_error "invalid package name: $ac_useropt" |
1078 ac_useropt_orig=$ac_useropt |
1069 ac_useropt_orig=$ac_useropt |
1079 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1070 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1080 case $ac_user_opts in |
1071 case $ac_user_opts in |
1081 *" |
1072 *" |
1082 "with_$ac_useropt" |
1073 "with_$ac_useropt" |
1102 ac_prev=x_libraries ;; |
1093 ac_prev=x_libraries ;; |
1103 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1094 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1104 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1095 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1105 x_libraries=$ac_optarg ;; |
1096 x_libraries=$ac_optarg ;; |
1106 |
1097 |
1107 -*) as_fn_error $? "unrecognized option: \`$ac_option' |
1098 -*) as_fn_error "unrecognized option: \`$ac_option' |
1108 Try \`$0 --help' for more information" |
1099 Try \`$0 --help' for more information." |
1109 ;; |
1100 ;; |
1110 |
1101 |
1111 *=*) |
1102 *=*) |
1112 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1103 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1113 # Reject names that are not valid shell variable names. |
1104 # Reject names that are not valid shell variable names. |
1114 case $ac_envvar in #( |
1105 case $ac_envvar in #( |
1115 '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1106 '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1116 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1107 as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
1117 esac |
1108 esac |
1118 eval $ac_envvar=\$ac_optarg |
1109 eval $ac_envvar=\$ac_optarg |
1119 export $ac_envvar ;; |
1110 export $ac_envvar ;; |
1120 |
1111 |
1121 *) |
1112 *) |
1122 # FIXME: should be removed in autoconf 3.0. |
1113 # FIXME: should be removed in autoconf 3.0. |
1123 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1114 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1124 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1115 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1125 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1116 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1126 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1117 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1127 ;; |
1118 ;; |
1128 |
1119 |
1129 esac |
1120 esac |
1130 done |
1121 done |
1131 |
1122 |
1132 if test -n "$ac_prev"; then |
1123 if test -n "$ac_prev"; then |
1133 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1124 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1134 as_fn_error $? "missing argument to $ac_option" |
1125 as_fn_error "missing argument to $ac_option" |
1135 fi |
1126 fi |
1136 |
1127 |
1137 if test -n "$ac_unrecognized_opts"; then |
1128 if test -n "$ac_unrecognized_opts"; then |
1138 case $enable_option_checking in |
1129 case $enable_option_checking in |
1139 no) ;; |
1130 no) ;; |
1140 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1131 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
1141 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1132 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1142 esac |
1133 esac |
1143 fi |
1134 fi |
1144 |
1135 |
1145 # Check all directory arguments for consistency. |
1136 # Check all directory arguments for consistency. |
1158 # Be sure to have absolute directory names. |
1149 # Be sure to have absolute directory names. |
1159 case $ac_val in |
1150 case $ac_val in |
1160 [\\/$]* | ?:[\\/]* ) continue;; |
1151 [\\/$]* | ?:[\\/]* ) continue;; |
1161 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1152 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1162 esac |
1153 esac |
1163 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1154 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
1164 done |
1155 done |
1165 |
1156 |
1166 # There might be people who depend on the old broken behavior: `$host' |
1157 # There might be people who depend on the old broken behavior: `$host' |
1167 # used to hold the argument of --host etc. |
1158 # used to hold the argument of --host etc. |
1168 # FIXME: To remove some day. |
1159 # FIXME: To remove some day. |
1172 |
1163 |
1173 # FIXME: To remove some day. |
1164 # FIXME: To remove some day. |
1174 if test "x$host_alias" != x; then |
1165 if test "x$host_alias" != x; then |
1175 if test "x$build_alias" = x; then |
1166 if test "x$build_alias" = x; then |
1176 cross_compiling=maybe |
1167 cross_compiling=maybe |
1177 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
1168 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1178 If a cross compiler is detected then cross compile mode will be used" >&2 |
1169 If a cross compiler is detected then cross compile mode will be used." >&2 |
1179 elif test "x$build_alias" != "x$host_alias"; then |
1170 elif test "x$build_alias" != "x$host_alias"; then |
1180 cross_compiling=yes |
1171 cross_compiling=yes |
1181 fi |
1172 fi |
1182 fi |
1173 fi |
1183 |
1174 |
1188 |
1179 |
1189 |
1180 |
1190 ac_pwd=`pwd` && test -n "$ac_pwd" && |
1181 ac_pwd=`pwd` && test -n "$ac_pwd" && |
1191 ac_ls_di=`ls -di .` && |
1182 ac_ls_di=`ls -di .` && |
1192 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1183 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1193 as_fn_error $? "working directory cannot be determined" |
1184 as_fn_error "working directory cannot be determined" |
1194 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1185 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1195 as_fn_error $? "pwd does not report name of working directory" |
1186 as_fn_error "pwd does not report name of working directory" |
1196 |
1187 |
1197 |
1188 |
1198 # Find the source files, if location was not specified. |
1189 # Find the source files, if location was not specified. |
1199 if test -z "$srcdir"; then |
1190 if test -z "$srcdir"; then |
1200 ac_srcdir_defaulted=yes |
1191 ac_srcdir_defaulted=yes |
1229 else |
1220 else |
1230 ac_srcdir_defaulted=no |
1221 ac_srcdir_defaulted=no |
1231 fi |
1222 fi |
1232 if test ! -r "$srcdir/$ac_unique_file"; then |
1223 if test ! -r "$srcdir/$ac_unique_file"; then |
1233 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1224 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1234 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1225 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
1235 fi |
1226 fi |
1236 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1227 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1237 ac_abs_confdir=`( |
1228 ac_abs_confdir=`( |
1238 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1229 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
1239 pwd)` |
1230 pwd)` |
1240 # When building in place, set srcdir=. |
1231 # When building in place, set srcdir=. |
1241 if test "$ac_abs_confdir" = "$ac_pwd"; then |
1232 if test "$ac_abs_confdir" = "$ac_pwd"; then |
1242 srcdir=. |
1233 srcdir=. |
1243 fi |
1234 fi |
1273 Configuration: |
1264 Configuration: |
1274 -h, --help display this help and exit |
1265 -h, --help display this help and exit |
1275 --help=short display options specific to this package |
1266 --help=short display options specific to this package |
1276 --help=recursive display the short help of all the included packages |
1267 --help=recursive display the short help of all the included packages |
1277 -V, --version display version information and exit |
1268 -V, --version display version information and exit |
1278 -q, --quiet, --silent do not print \`checking ...' messages |
1269 -q, --quiet, --silent do not print \`checking...' messages |
1279 --cache-file=FILE cache test results in FILE [disabled] |
1270 --cache-file=FILE cache test results in FILE [disabled] |
1280 -C, --config-cache alias for \`--cache-file=config.cache' |
1271 -C, --config-cache alias for \`--cache-file=config.cache' |
1281 -n, --no-create do not create output files |
1272 -n, --no-create do not create output files |
1282 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1273 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1283 |
1274 |
1337 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1328 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1338 --disable-dependency-tracking speeds up one-time build |
1329 --disable-dependency-tracking speeds up one-time build |
1339 --enable-dependency-tracking do not reject slow dependency extractors |
1330 --enable-dependency-tracking do not reject slow dependency extractors |
1340 |
1331 |
1341 Some influential environment variables: |
1332 Some influential environment variables: |
1342 YACC The `Yet Another Compiler Compiler' implementation to use. |
1333 YACC The `Yet Another C Compiler' implementation to use. Defaults to |
1343 Defaults to the first program found out of: `bison -y', `byacc', |
1334 the first program found out of: `bison -y', `byacc', `yacc'. |
1344 `yacc'. |
|
1345 YFLAGS The list of arguments that will be passed by default to $YACC. |
1335 YFLAGS The list of arguments that will be passed by default to $YACC. |
1346 This script will default YFLAGS to the empty string to avoid a |
1336 This script will default YFLAGS to the empty string to avoid a |
1347 default value of `-d' given by some make applications. |
1337 default value of `-d' given by some make applications. |
1348 CC C compiler command |
1338 CC C compiler command |
1349 CFLAGS C compiler flags |
1339 CFLAGS C compiler flags |
1421 |
1411 |
1422 test -n "$ac_init_help" && exit $ac_status |
1412 test -n "$ac_init_help" && exit $ac_status |
1423 if $ac_init_version; then |
1413 if $ac_init_version; then |
1424 cat <<\_ACEOF |
1414 cat <<\_ACEOF |
1425 matiec configure 0.1 |
1415 matiec configure 0.1 |
1426 generated by GNU Autoconf 2.68 |
1416 generated by GNU Autoconf 2.65 |
1427 |
1417 |
1428 Copyright (C) 2010 Free Software Foundation, Inc. |
1418 Copyright (C) 2009 Free Software Foundation, Inc. |
1429 This configure script is free software; the Free Software Foundation |
1419 This configure script is free software; the Free Software Foundation |
1430 gives unlimited permission to copy, distribute and modify it. |
1420 gives unlimited permission to copy, distribute and modify it. |
1431 _ACEOF |
1421 _ACEOF |
1432 exit |
1422 exit |
1433 fi |
1423 fi |
1513 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1503 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1514 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1504 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1515 # interfere with the next link command; also delete a directory that is |
1505 # interfere with the next link command; also delete a directory that is |
1516 # left behind by Apple's compiler. We do this before executing the actions. |
1506 # left behind by Apple's compiler. We do this before executing the actions. |
1517 rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1507 rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1518 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1508 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1519 as_fn_set_status $ac_retval |
1509 as_fn_set_status $ac_retval |
1520 |
1510 |
1521 } # ac_fn_c_try_link |
1511 } # ac_fn_c_try_link |
1522 |
1512 |
1523 # ac_fn_cxx_try_compile LINENO |
1513 # ac_fn_cxx_try_compile LINENO |
1577 grep -v '^ *+' conftest.err >conftest.er1 |
1567 grep -v '^ *+' conftest.err >conftest.er1 |
1578 cat conftest.er1 >&5 |
1568 cat conftest.er1 >&5 |
1579 mv -f conftest.er1 conftest.err |
1569 mv -f conftest.er1 conftest.err |
1580 fi |
1570 fi |
1581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1582 test $ac_status = 0; } > conftest.i && { |
1572 test $ac_status = 0; } >/dev/null && { |
1583 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1573 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1584 test ! -s conftest.err |
1574 test ! -s conftest.err |
1585 }; then : |
1575 }; then : |
1586 ac_retval=0 |
1576 ac_retval=0 |
1587 else |
1577 else |
1588 $as_echo "$as_me: failed program was:" >&5 |
1578 $as_echo "$as_me: failed program was:" >&5 |
1589 sed 's/^/| /' conftest.$ac_ext >&5 |
1579 sed 's/^/| /' conftest.$ac_ext >&5 |
1590 |
1580 |
1591 ac_retval=1 |
1581 ac_retval=1 |
1592 fi |
1582 fi |
1593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1583 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1594 as_fn_set_status $ac_retval |
1584 as_fn_set_status $ac_retval |
1595 |
1585 |
1596 } # ac_fn_c_try_cpp |
1586 } # ac_fn_c_try_cpp |
1597 |
1587 |
1598 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1588 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1601 # the include files in INCLUDES and setting the cache variable VAR |
1591 # the include files in INCLUDES and setting the cache variable VAR |
1602 # accordingly. |
1592 # accordingly. |
1603 ac_fn_c_check_header_mongrel () |
1593 ac_fn_c_check_header_mongrel () |
1604 { |
1594 { |
1605 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1606 if eval \${$3+:} false; then : |
1596 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1608 $as_echo_n "checking for $2... " >&6; } |
1598 $as_echo_n "checking for $2... " >&6; } |
1609 if eval \${$3+:} false; then : |
1599 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1610 $as_echo_n "(cached) " >&6 |
1600 $as_echo_n "(cached) " >&6 |
1611 fi |
1601 fi |
1612 eval ac_res=\$$3 |
1602 eval ac_res=\$$3 |
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1614 $as_echo "$ac_res" >&6; } |
1604 $as_echo "$ac_res" >&6; } |
1640 if ac_fn_c_try_cpp "$LINENO"; then : |
1630 if ac_fn_c_try_cpp "$LINENO"; then : |
1641 ac_header_preproc=yes |
1631 ac_header_preproc=yes |
1642 else |
1632 else |
1643 ac_header_preproc=no |
1633 ac_header_preproc=no |
1644 fi |
1634 fi |
1645 rm -f conftest.err conftest.i conftest.$ac_ext |
1635 rm -f conftest.err conftest.$ac_ext |
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
1647 $as_echo "$ac_header_preproc" >&6; } |
1637 $as_echo "$ac_header_preproc" >&6; } |
1648 |
1638 |
1649 # So? What about this header? |
1639 # So? What about this header? |
1650 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
1640 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
1663 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
1653 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
1665 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
1655 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
1667 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1657 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1668 ( $as_echo "## bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb ## |
1658 ( cat <<\_ASBOX |
|
1659 ## bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb ## |
1669 ## Report this to msousa@fe.up.pt ## |
1660 ## Report this to msousa@fe.up.pt ## |
1670 ## bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb ##" |
1661 ## bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb ## |
|
1662 _ASBOX |
1671 ) | sed "s/^/$as_me: WARNING: /" >&2 |
1663 ) | sed "s/^/$as_me: WARNING: /" >&2 |
1672 ;; |
1664 ;; |
1673 esac |
1665 esac |
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1675 $as_echo_n "checking for $2... " >&6; } |
1667 $as_echo_n "checking for $2... " >&6; } |
1676 if eval \${$3+:} false; then : |
1668 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1677 $as_echo_n "(cached) " >&6 |
1669 $as_echo_n "(cached) " >&6 |
1678 else |
1670 else |
1679 eval "$3=\$ac_header_compiler" |
1671 eval "$3=\$ac_header_compiler" |
1680 fi |
1672 fi |
1681 eval ac_res=\$$3 |
1673 eval ac_res=\$$3 |
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1683 $as_echo "$ac_res" >&6; } |
1675 $as_echo "$ac_res" >&6; } |
1684 fi |
1676 fi |
1685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1677 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1686 |
1678 |
1687 } # ac_fn_c_check_header_mongrel |
1679 } # ac_fn_c_check_header_mongrel |
1688 |
1680 |
1689 # ac_fn_c_try_run LINENO |
1681 # ac_fn_c_try_run LINENO |
1690 # ---------------------- |
1682 # ---------------------- |
1735 ac_fn_c_check_header_compile () |
1727 ac_fn_c_check_header_compile () |
1736 { |
1728 { |
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1739 $as_echo_n "checking for $2... " >&6; } |
1731 $as_echo_n "checking for $2... " >&6; } |
1740 if eval \${$3+:} false; then : |
1732 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1741 $as_echo_n "(cached) " >&6 |
1733 $as_echo_n "(cached) " >&6 |
1742 else |
1734 else |
1743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1744 /* end confdefs.h. */ |
1736 /* end confdefs.h. */ |
1745 $4 |
1737 $4 |
1753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1754 fi |
1746 fi |
1755 eval ac_res=\$$3 |
1747 eval ac_res=\$$3 |
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1757 $as_echo "$ac_res" >&6; } |
1749 $as_echo "$ac_res" >&6; } |
1758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1750 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1759 |
1751 |
1760 } # ac_fn_c_check_header_compile |
1752 } # ac_fn_c_check_header_compile |
1761 |
1753 |
1762 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
1754 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
1763 # ------------------------------------------- |
1755 # ------------------------------------------- |
1766 ac_fn_c_check_type () |
1758 ac_fn_c_check_type () |
1767 { |
1759 { |
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1770 $as_echo_n "checking for $2... " >&6; } |
1762 $as_echo_n "checking for $2... " >&6; } |
1771 if eval \${$3+:} false; then : |
1763 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1772 $as_echo_n "(cached) " >&6 |
1764 $as_echo_n "(cached) " >&6 |
1773 else |
1765 else |
1774 eval "$3=no" |
1766 eval "$3=no" |
1775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1776 /* end confdefs.h. */ |
1768 /* end confdefs.h. */ |
1807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1808 fi |
1800 fi |
1809 eval ac_res=\$$3 |
1801 eval ac_res=\$$3 |
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1811 $as_echo "$ac_res" >&6; } |
1803 $as_echo "$ac_res" >&6; } |
1812 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1804 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1813 |
1805 |
1814 } # ac_fn_c_check_type |
1806 } # ac_fn_c_check_type |
1815 |
1807 |
1816 # ac_fn_c_find_intX_t LINENO BITS VAR |
1808 # ac_fn_c_find_intX_t LINENO BITS VAR |
1817 # ----------------------------------- |
1809 # ----------------------------------- |
1820 ac_fn_c_find_intX_t () |
1812 ac_fn_c_find_intX_t () |
1821 { |
1813 { |
1822 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 |
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 |
1824 $as_echo_n "checking for int$2_t... " >&6; } |
1816 $as_echo_n "checking for int$2_t... " >&6; } |
1825 if eval \${$3+:} false; then : |
1817 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1826 $as_echo_n "(cached) " >&6 |
1818 $as_echo_n "(cached) " >&6 |
1827 else |
1819 else |
1828 eval "$3=no" |
1820 eval "$3=no" |
1829 # Order is important - never check a type that is potentially smaller |
1821 # Order is important - never check a type that is potentially smaller |
1830 # than half of the expected target width. |
1822 # than half of the expected target width. |
1831 for ac_type in int$2_t 'int' 'long int' \ |
1823 for ac_type in int$2_t 'int' 'long int' \ |
1832 'long long int' 'short int' 'signed char'; do |
1824 'long long int' 'short int' 'signed char'; do |
1833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1834 /* end confdefs.h. */ |
1826 /* end confdefs.h. */ |
1835 $ac_includes_default |
1827 $ac_includes_default |
1836 enum { N = $2 / 2 - 1 }; |
|
1837 int |
1828 int |
1838 main () |
1829 main () |
1839 { |
1830 { |
1840 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; |
1831 static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 }; |
|
1832 0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; |
1841 test_array [0] = 0 |
1833 test_array [0] = 0 |
1842 |
1834 |
1843 ; |
1835 ; |
1844 return 0; |
1836 return 0; |
1845 } |
1837 } |
1846 _ACEOF |
1838 _ACEOF |
1847 if ac_fn_c_try_compile "$LINENO"; then : |
1839 if ac_fn_c_try_compile "$LINENO"; then : |
1848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1849 /* end confdefs.h. */ |
1841 /* end confdefs.h. */ |
1850 $ac_includes_default |
1842 $ac_includes_default |
1851 enum { N = $2 / 2 - 1 }; |
|
1852 int |
1843 int |
1853 main () |
1844 main () |
1854 { |
1845 { |
1855 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) |
1846 static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 }; |
|
1847 ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) |
1856 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; |
1848 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; |
1857 test_array [0] = 0 |
1849 test_array [0] = 0 |
1858 |
1850 |
1859 ; |
1851 ; |
1860 return 0; |
1852 return 0; |
1871 esac |
1863 esac |
1872 fi |
1864 fi |
1873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1874 fi |
1866 fi |
1875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1876 if eval test \"x\$"$3"\" = x"no"; then : |
1868 eval as_val=\$$3 |
|
1869 if test "x$as_val" = x""no; then : |
1877 |
1870 |
1878 else |
1871 else |
1879 break |
1872 break |
1880 fi |
1873 fi |
1881 done |
1874 done |
1882 fi |
1875 fi |
1883 eval ac_res=\$$3 |
1876 eval ac_res=\$$3 |
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1885 $as_echo "$ac_res" >&6; } |
1878 $as_echo "$ac_res" >&6; } |
1886 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1879 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1887 |
1880 |
1888 } # ac_fn_c_find_intX_t |
1881 } # ac_fn_c_find_intX_t |
1889 |
1882 |
1890 # ac_fn_c_find_uintX_t LINENO BITS VAR |
1883 # ac_fn_c_find_uintX_t LINENO BITS VAR |
1891 # ------------------------------------ |
1884 # ------------------------------------ |
1894 ac_fn_c_find_uintX_t () |
1887 ac_fn_c_find_uintX_t () |
1895 { |
1888 { |
1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1889 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 |
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 |
1898 $as_echo_n "checking for uint$2_t... " >&6; } |
1891 $as_echo_n "checking for uint$2_t... " >&6; } |
1899 if eval \${$3+:} false; then : |
1892 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1900 $as_echo_n "(cached) " >&6 |
1893 $as_echo_n "(cached) " >&6 |
1901 else |
1894 else |
1902 eval "$3=no" |
1895 eval "$3=no" |
1903 # Order is important - never check a type that is potentially smaller |
1896 # Order is important - never check a type that is potentially smaller |
1904 # than half of the expected target width. |
1897 # than half of the expected target width. |
1924 *) : |
1917 *) : |
1925 eval "$3=\$ac_type" ;; |
1918 eval "$3=\$ac_type" ;; |
1926 esac |
1919 esac |
1927 fi |
1920 fi |
1928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1929 if eval test \"x\$"$3"\" = x"no"; then : |
1922 eval as_val=\$$3 |
|
1923 if test "x$as_val" = x""no; then : |
1930 |
1924 |
1931 else |
1925 else |
1932 break |
1926 break |
1933 fi |
1927 fi |
1934 done |
1928 done |
1935 fi |
1929 fi |
1936 eval ac_res=\$$3 |
1930 eval ac_res=\$$3 |
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1938 $as_echo "$ac_res" >&6; } |
1932 $as_echo "$ac_res" >&6; } |
1939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1933 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1940 |
1934 |
1941 } # ac_fn_c_find_uintX_t |
1935 } # ac_fn_c_find_uintX_t |
1942 |
1936 |
1943 # ac_fn_c_check_func LINENO FUNC VAR |
1937 # ac_fn_c_check_func LINENO FUNC VAR |
1944 # ---------------------------------- |
1938 # ---------------------------------- |
1946 ac_fn_c_check_func () |
1940 ac_fn_c_check_func () |
1947 { |
1941 { |
1948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1942 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1950 $as_echo_n "checking for $2... " >&6; } |
1944 $as_echo_n "checking for $2... " >&6; } |
1951 if eval \${$3+:} false; then : |
1945 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1952 $as_echo_n "(cached) " >&6 |
1946 $as_echo_n "(cached) " >&6 |
1953 else |
1947 else |
1954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1955 /* end confdefs.h. */ |
1949 /* end confdefs.h. */ |
1956 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
1950 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
2001 conftest$ac_exeext conftest.$ac_ext |
1995 conftest$ac_exeext conftest.$ac_ext |
2002 fi |
1996 fi |
2003 eval ac_res=\$$3 |
1997 eval ac_res=\$$3 |
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2005 $as_echo "$ac_res" >&6; } |
1999 $as_echo "$ac_res" >&6; } |
2006 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2000 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2007 |
2001 |
2008 } # ac_fn_c_check_func |
2002 } # ac_fn_c_check_func |
2009 cat >config.log <<_ACEOF |
2003 cat >config.log <<_ACEOF |
2010 This file contains any messages produced by compilers while |
2004 This file contains any messages produced by compilers while |
2011 running configure, to aid debugging if configure makes a mistake. |
2005 running configure, to aid debugging if configure makes a mistake. |
2012 |
2006 |
2013 It was created by matiec $as_me 0.1, which was |
2007 It was created by matiec $as_me 0.1, which was |
2014 generated by GNU Autoconf 2.68. Invocation command line was |
2008 generated by GNU Autoconf 2.65. Invocation command line was |
2015 |
2009 |
2016 $ $0 $@ |
2010 $ $0 $@ |
2017 |
2011 |
2018 _ACEOF |
2012 _ACEOF |
2019 exec 5>>config.log |
2013 exec 5>>config.log |
2119 trap 'exit_status=$? |
2113 trap 'exit_status=$? |
2120 # Save into config.log some information that might help in debugging. |
2114 # Save into config.log some information that might help in debugging. |
2121 { |
2115 { |
2122 echo |
2116 echo |
2123 |
2117 |
2124 $as_echo "## ---------------- ## |
2118 cat <<\_ASBOX |
|
2119 ## ---------------- ## |
2125 ## Cache variables. ## |
2120 ## Cache variables. ## |
2126 ## ---------------- ##" |
2121 ## ---------------- ## |
|
2122 _ASBOX |
2127 echo |
2123 echo |
2128 # The following way of writing the cache mishandles newlines in values, |
2124 # The following way of writing the cache mishandles newlines in values, |
2129 ( |
2125 ( |
2130 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
2126 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
2131 eval ac_val=\$$ac_var |
2127 eval ac_val=\$$ac_var |
2243 # Let the site file select an alternate cache file if it wants to. |
2245 # Let the site file select an alternate cache file if it wants to. |
2244 # Prefer an explicitly selected file to automatically selected ones. |
2246 # Prefer an explicitly selected file to automatically selected ones. |
2245 ac_site_file1=NONE |
2247 ac_site_file1=NONE |
2246 ac_site_file2=NONE |
2248 ac_site_file2=NONE |
2247 if test -n "$CONFIG_SITE"; then |
2249 if test -n "$CONFIG_SITE"; then |
2248 # We do not want a PATH search for config.site. |
2250 ac_site_file1=$CONFIG_SITE |
2249 case $CONFIG_SITE in #(( |
|
2250 -*) ac_site_file1=./$CONFIG_SITE;; |
|
2251 */*) ac_site_file1=$CONFIG_SITE;; |
|
2252 *) ac_site_file1=./$CONFIG_SITE;; |
|
2253 esac |
|
2254 elif test "x$prefix" != xNONE; then |
2251 elif test "x$prefix" != xNONE; then |
2255 ac_site_file1=$prefix/share/config.site |
2252 ac_site_file1=$prefix/share/config.site |
2256 ac_site_file2=$prefix/etc/config.site |
2253 ac_site_file2=$prefix/etc/config.site |
2257 else |
2254 else |
2258 ac_site_file1=$ac_default_prefix/share/config.site |
2255 ac_site_file1=$ac_default_prefix/share/config.site |
2263 test "x$ac_site_file" = xNONE && continue |
2260 test "x$ac_site_file" = xNONE && continue |
2264 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2261 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2266 $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2263 $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2267 sed 's/^/| /' "$ac_site_file" >&5 |
2264 sed 's/^/| /' "$ac_site_file" >&5 |
2268 . "$ac_site_file" \ |
2265 . "$ac_site_file" |
2269 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2271 as_fn_error $? "failed to load site script $ac_site_file |
|
2272 See \`config.log' for more details" "$LINENO" 5; } |
|
2273 fi |
2266 fi |
2274 done |
2267 done |
2275 |
2268 |
2276 if test -r "$cache_file"; then |
2269 if test -r "$cache_file"; then |
2277 # Some versions of bash will fail to source /dev/null (special files |
2270 # Some versions of bash will fail to source /dev/null (special files |
2346 if $ac_cache_corrupted; then |
2339 if $ac_cache_corrupted; then |
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2341 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2350 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2343 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2351 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2344 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2352 fi |
2345 fi |
2353 ## -------------------- ## |
2346 ## -------------------- ## |
2354 ## Main body of script. ## |
2347 ## Main body of script. ## |
2355 ## -------------------- ## |
2348 ## -------------------- ## |
2356 |
2349 |
2363 |
2356 |
2364 ac_config_headers="$ac_config_headers config/config.h" |
2357 ac_config_headers="$ac_config_headers config/config.h" |
2365 |
2358 |
2366 ac_aux_dir= |
2359 ac_aux_dir= |
2367 for ac_dir in config "$srcdir"/config; do |
2360 for ac_dir in config "$srcdir"/config; do |
2368 if test -f "$ac_dir/install-sh"; then |
2361 for ac_t in install-sh install.sh shtool; do |
2369 ac_aux_dir=$ac_dir |
2362 if test -f "$ac_dir/$ac_t"; then |
2370 ac_install_sh="$ac_aux_dir/install-sh -c" |
2363 ac_aux_dir=$ac_dir |
2371 break |
2364 ac_install_sh="$ac_aux_dir/$ac_t -c" |
2372 elif test -f "$ac_dir/install.sh"; then |
2365 break 2 |
2373 ac_aux_dir=$ac_dir |
2366 fi |
2374 ac_install_sh="$ac_aux_dir/install.sh -c" |
2367 done |
2375 break |
|
2376 elif test -f "$ac_dir/shtool"; then |
|
2377 ac_aux_dir=$ac_dir |
|
2378 ac_install_sh="$ac_aux_dir/shtool install -c" |
|
2379 break |
|
2380 fi |
|
2381 done |
2368 done |
2382 if test -z "$ac_aux_dir"; then |
2369 if test -z "$ac_aux_dir"; then |
2383 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 |
2370 as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 |
2384 fi |
2371 fi |
2385 |
2372 |
2386 # These three variables are undocumented and unsupported, |
2373 # These three variables are undocumented and unsupported, |
2387 # and are intended to be withdrawn in a future Autoconf release. |
2374 # and are intended to be withdrawn in a future Autoconf release. |
2388 # They can cause serious problems if a builder's source tree is in a directory |
2375 # They can cause serious problems if a builder's source tree is in a directory |
2410 # ./install, which can be erroneously created by make from ./install.sh. |
2397 # ./install, which can be erroneously created by make from ./install.sh. |
2411 # Reject install programs that cannot install multiple files. |
2398 # Reject install programs that cannot install multiple files. |
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2413 $as_echo_n "checking for a BSD-compatible install... " >&6; } |
2400 $as_echo_n "checking for a BSD-compatible install... " >&6; } |
2414 if test -z "$INSTALL"; then |
2401 if test -z "$INSTALL"; then |
2415 if ${ac_cv_path_install+:} false; then : |
2402 if test "${ac_cv_path_install+set}" = set; then : |
2416 $as_echo_n "(cached) " >&6 |
2403 $as_echo_n "(cached) " >&6 |
2417 else |
2404 else |
2418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2419 for as_dir in $PATH |
2406 for as_dir in $PATH |
2420 do |
2407 do |
2497 # name. Accept space and tab only in the latter. |
2484 # name. Accept space and tab only in the latter. |
2498 am_lf=' |
2485 am_lf=' |
2499 ' |
2486 ' |
2500 case `pwd` in |
2487 case `pwd` in |
2501 *[\\\"\#\$\&\'\`$am_lf]*) |
2488 *[\\\"\#\$\&\'\`$am_lf]*) |
2502 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
2489 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; |
2503 esac |
2490 esac |
2504 case $srcdir in |
2491 case $srcdir in |
2505 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
2492 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
2506 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
2493 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
2507 esac |
2494 esac |
2508 |
2495 |
2509 # Do `set' in a subshell so we don't clobber the current shell's |
2496 # Do `set' in a subshell so we don't clobber the current shell's |
2510 # arguments. Must try -L first in case configure is actually a |
2497 # arguments. Must try -L first in case configure is actually a |
2511 # symlink; some systems play weird games with the mod time of symlinks |
2498 # symlink; some systems play weird games with the mod time of symlinks |
2523 |
2510 |
2524 # If neither matched, then we have a broken ls. This can happen |
2511 # If neither matched, then we have a broken ls. This can happen |
2525 # if, for instance, CONFIG_SHELL is bash and it inherits a |
2512 # if, for instance, CONFIG_SHELL is bash and it inherits a |
2526 # broken ls alias from the environment. This has actually |
2513 # broken ls alias from the environment. This has actually |
2527 # happened. Such a system could not be considered "sane". |
2514 # happened. Such a system could not be considered "sane". |
2528 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
2515 as_fn_error "ls -t appears to fail. Make sure there is not a broken |
2529 alias in your environment" "$LINENO" 5 |
2516 alias in your environment" "$LINENO" 5 |
2530 fi |
2517 fi |
2531 |
2518 |
2532 test "$2" = conftest.file |
2519 test "$2" = conftest.file |
2533 ) |
2520 ) |
2534 then |
2521 then |
2535 # Ok. |
2522 # Ok. |
2536 : |
2523 : |
2537 else |
2524 else |
2538 as_fn_error $? "newly created file is older than distributed files! |
2525 as_fn_error "newly created file is older than distributed files! |
2539 Check your system clock" "$LINENO" 5 |
2526 Check your system clock" "$LINENO" 5 |
2540 fi |
2527 fi |
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2542 $as_echo "yes" >&6; } |
2529 $as_echo "yes" >&6; } |
2543 test "$program_prefix" != NONE && |
2530 test "$program_prefix" != NONE && |
2587 if test -n "$ac_tool_prefix"; then |
2574 if test -n "$ac_tool_prefix"; then |
2588 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
2575 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
2589 set dummy ${ac_tool_prefix}strip; ac_word=$2 |
2576 set dummy ${ac_tool_prefix}strip; ac_word=$2 |
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2591 $as_echo_n "checking for $ac_word... " >&6; } |
2578 $as_echo_n "checking for $ac_word... " >&6; } |
2592 if ${ac_cv_prog_STRIP+:} false; then : |
2579 if test "${ac_cv_prog_STRIP+set}" = set; then : |
2593 $as_echo_n "(cached) " >&6 |
2580 $as_echo_n "(cached) " >&6 |
2594 else |
2581 else |
2595 if test -n "$STRIP"; then |
2582 if test -n "$STRIP"; then |
2596 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
2583 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
2597 else |
2584 else |
2627 ac_ct_STRIP=$STRIP |
2614 ac_ct_STRIP=$STRIP |
2628 # Extract the first word of "strip", so it can be a program name with args. |
2615 # Extract the first word of "strip", so it can be a program name with args. |
2629 set dummy strip; ac_word=$2 |
2616 set dummy strip; ac_word=$2 |
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2631 $as_echo_n "checking for $ac_word... " >&6; } |
2618 $as_echo_n "checking for $ac_word... " >&6; } |
2632 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
2619 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
2633 $as_echo_n "(cached) " >&6 |
2620 $as_echo_n "(cached) " >&6 |
2634 else |
2621 else |
2635 if test -n "$ac_ct_STRIP"; then |
2622 if test -n "$ac_ct_STRIP"; then |
2636 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
2623 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
2637 else |
2624 else |
2680 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
2667 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
2681 |
2668 |
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
2683 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
2670 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
2684 if test -z "$MKDIR_P"; then |
2671 if test -z "$MKDIR_P"; then |
2685 if ${ac_cv_path_mkdir+:} false; then : |
2672 if test "${ac_cv_path_mkdir+set}" = set; then : |
2686 $as_echo_n "(cached) " >&6 |
2673 $as_echo_n "(cached) " >&6 |
2687 else |
2674 else |
2688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2689 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
2676 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
2690 do |
2677 do |
2731 do |
2718 do |
2732 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2719 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2733 set dummy $ac_prog; ac_word=$2 |
2720 set dummy $ac_prog; ac_word=$2 |
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2735 $as_echo_n "checking for $ac_word... " >&6; } |
2722 $as_echo_n "checking for $ac_word... " >&6; } |
2736 if ${ac_cv_prog_AWK+:} false; then : |
2723 if test "${ac_cv_prog_AWK+set}" = set; then : |
2737 $as_echo_n "(cached) " >&6 |
2724 $as_echo_n "(cached) " >&6 |
2738 else |
2725 else |
2739 if test -n "$AWK"; then |
2726 if test -n "$AWK"; then |
2740 ac_cv_prog_AWK="$AWK" # Let the user override the test. |
2727 ac_cv_prog_AWK="$AWK" # Let the user override the test. |
2741 else |
2728 else |
2771 |
2758 |
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2773 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2760 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2774 set x ${MAKE-make} |
2761 set x ${MAKE-make} |
2775 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
2762 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
2776 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
2763 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : |
2777 $as_echo_n "(cached) " >&6 |
2764 $as_echo_n "(cached) " >&6 |
2778 else |
2765 else |
2779 cat >conftest.make <<\_ACEOF |
2766 cat >conftest.make <<\_ACEOF |
2780 SHELL = /bin/sh |
2767 SHELL = /bin/sh |
2781 all: |
2768 all: |
2782 @echo '@@@%%%=$(MAKE)=@@@%%%' |
2769 @echo '@@@%%%=$(MAKE)=@@@%%%' |
2783 _ACEOF |
2770 _ACEOF |
2784 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
2771 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
2785 case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2772 case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2786 *@@@%%%=?*=@@@%%%*) |
2773 *@@@%%%=?*=@@@%%%*) |
2787 eval ac_cv_prog_make_${ac_make}_set=yes;; |
2774 eval ac_cv_prog_make_${ac_make}_set=yes;; |
2788 *) |
2775 *) |
2789 eval ac_cv_prog_make_${ac_make}_set=no;; |
2776 eval ac_cv_prog_make_${ac_make}_set=no;; |
2813 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
2800 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
2814 # is not polluted with repeated "-I." |
2801 # is not polluted with repeated "-I." |
2815 am__isrc=' -I$(srcdir)' |
2802 am__isrc=' -I$(srcdir)' |
2816 # test to see if srcdir already configured |
2803 # test to see if srcdir already configured |
2817 if test -f $srcdir/config.status; then |
2804 if test -f $srcdir/config.status; then |
2818 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
2805 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
2819 fi |
2806 fi |
2820 fi |
2807 fi |
2821 |
2808 |
2822 # test whether we have cygpath |
2809 # test whether we have cygpath |
2823 if test -z "$CYGPATH_W"; then |
2810 if test -z "$CYGPATH_W"; then |
2886 do |
2873 do |
2887 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2874 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2888 set dummy $ac_prog; ac_word=$2 |
2875 set dummy $ac_prog; ac_word=$2 |
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2890 $as_echo_n "checking for $ac_word... " >&6; } |
2877 $as_echo_n "checking for $ac_word... " >&6; } |
2891 if ${ac_cv_prog_YACC+:} false; then : |
2878 if test "${ac_cv_prog_YACC+set}" = set; then : |
2892 $as_echo_n "(cached) " >&6 |
2879 $as_echo_n "(cached) " >&6 |
2893 else |
2880 else |
2894 if test -n "$YACC"; then |
2881 if test -n "$YACC"; then |
2895 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2882 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2896 else |
2883 else |
2995 if test -n "$ac_tool_prefix"; then |
2982 if test -n "$ac_tool_prefix"; then |
2996 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2983 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2997 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2984 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2999 $as_echo_n "checking for $ac_word... " >&6; } |
2986 $as_echo_n "checking for $ac_word... " >&6; } |
3000 if ${ac_cv_prog_CC+:} false; then : |
2987 if test "${ac_cv_prog_CC+set}" = set; then : |
3001 $as_echo_n "(cached) " >&6 |
2988 $as_echo_n "(cached) " >&6 |
3002 else |
2989 else |
3003 if test -n "$CC"; then |
2990 if test -n "$CC"; then |
3004 ac_cv_prog_CC="$CC" # Let the user override the test. |
2991 ac_cv_prog_CC="$CC" # Let the user override the test. |
3005 else |
2992 else |
3035 ac_ct_CC=$CC |
3022 ac_ct_CC=$CC |
3036 # Extract the first word of "gcc", so it can be a program name with args. |
3023 # Extract the first word of "gcc", so it can be a program name with args. |
3037 set dummy gcc; ac_word=$2 |
3024 set dummy gcc; ac_word=$2 |
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3039 $as_echo_n "checking for $ac_word... " >&6; } |
3026 $as_echo_n "checking for $ac_word... " >&6; } |
3040 if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3027 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3041 $as_echo_n "(cached) " >&6 |
3028 $as_echo_n "(cached) " >&6 |
3042 else |
3029 else |
3043 if test -n "$ac_ct_CC"; then |
3030 if test -n "$ac_ct_CC"; then |
3044 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3031 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3045 else |
3032 else |
3088 if test -n "$ac_tool_prefix"; then |
3075 if test -n "$ac_tool_prefix"; then |
3089 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3076 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3090 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3077 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3092 $as_echo_n "checking for $ac_word... " >&6; } |
3079 $as_echo_n "checking for $ac_word... " >&6; } |
3093 if ${ac_cv_prog_CC+:} false; then : |
3080 if test "${ac_cv_prog_CC+set}" = set; then : |
3094 $as_echo_n "(cached) " >&6 |
3081 $as_echo_n "(cached) " >&6 |
3095 else |
3082 else |
3096 if test -n "$CC"; then |
3083 if test -n "$CC"; then |
3097 ac_cv_prog_CC="$CC" # Let the user override the test. |
3084 ac_cv_prog_CC="$CC" # Let the user override the test. |
3098 else |
3085 else |
3128 if test -z "$CC"; then |
3115 if test -z "$CC"; then |
3129 # Extract the first word of "cc", so it can be a program name with args. |
3116 # Extract the first word of "cc", so it can be a program name with args. |
3130 set dummy cc; ac_word=$2 |
3117 set dummy cc; ac_word=$2 |
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3132 $as_echo_n "checking for $ac_word... " >&6; } |
3119 $as_echo_n "checking for $ac_word... " >&6; } |
3133 if ${ac_cv_prog_CC+:} false; then : |
3120 if test "${ac_cv_prog_CC+set}" = set; then : |
3134 $as_echo_n "(cached) " >&6 |
3121 $as_echo_n "(cached) " >&6 |
3135 else |
3122 else |
3136 if test -n "$CC"; then |
3123 if test -n "$CC"; then |
3137 ac_cv_prog_CC="$CC" # Let the user override the test. |
3124 ac_cv_prog_CC="$CC" # Let the user override the test. |
3138 else |
3125 else |
3187 do |
3174 do |
3188 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3175 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3189 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3176 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3191 $as_echo_n "checking for $ac_word... " >&6; } |
3178 $as_echo_n "checking for $ac_word... " >&6; } |
3192 if ${ac_cv_prog_CC+:} false; then : |
3179 if test "${ac_cv_prog_CC+set}" = set; then : |
3193 $as_echo_n "(cached) " >&6 |
3180 $as_echo_n "(cached) " >&6 |
3194 else |
3181 else |
3195 if test -n "$CC"; then |
3182 if test -n "$CC"; then |
3196 ac_cv_prog_CC="$CC" # Let the user override the test. |
3183 ac_cv_prog_CC="$CC" # Let the user override the test. |
3197 else |
3184 else |
3231 do |
3218 do |
3232 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3219 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3233 set dummy $ac_prog; ac_word=$2 |
3220 set dummy $ac_prog; ac_word=$2 |
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3235 $as_echo_n "checking for $ac_word... " >&6; } |
3222 $as_echo_n "checking for $ac_word... " >&6; } |
3236 if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3223 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3237 $as_echo_n "(cached) " >&6 |
3224 $as_echo_n "(cached) " >&6 |
3238 else |
3225 else |
3239 if test -n "$ac_ct_CC"; then |
3226 if test -n "$ac_ct_CC"; then |
3240 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3227 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3241 else |
3228 else |
3400 $as_echo "$as_me: failed program was:" >&5 |
3387 $as_echo "$as_me: failed program was:" >&5 |
3401 sed 's/^/| /' conftest.$ac_ext >&5 |
3388 sed 's/^/| /' conftest.$ac_ext >&5 |
3402 |
3389 |
3403 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3405 as_fn_error 77 "C compiler cannot create executables |
3392 { as_fn_set_status 77 |
3406 See \`config.log' for more details" "$LINENO" 5; } |
3393 as_fn_error "C compiler cannot create executables |
|
3394 See \`config.log' for more details." "$LINENO" 5; }; } |
3407 else |
3395 else |
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3409 $as_echo "yes" >&6; } |
3397 $as_echo "yes" >&6; } |
3410 fi |
3398 fi |
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3443 esac |
3431 esac |
3444 done |
3432 done |
3445 else |
3433 else |
3446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3448 as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3436 as_fn_error "cannot compute suffix of executables: cannot compile and link |
3449 See \`config.log' for more details" "$LINENO" 5; } |
3437 See \`config.log' for more details." "$LINENO" 5; } |
3450 fi |
3438 fi |
3451 rm -f conftest conftest$ac_cv_exeext |
3439 rm -f conftest conftest$ac_cv_exeext |
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3453 $as_echo "$ac_cv_exeext" >&6; } |
3441 $as_echo "$ac_cv_exeext" >&6; } |
3454 |
3442 |
3501 if test "$cross_compiling" = maybe; then |
3489 if test "$cross_compiling" = maybe; then |
3502 cross_compiling=yes |
3490 cross_compiling=yes |
3503 else |
3491 else |
3504 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3492 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3506 as_fn_error $? "cannot run C compiled programs. |
3494 as_fn_error "cannot run C compiled programs. |
3507 If you meant to cross compile, use \`--host'. |
3495 If you meant to cross compile, use \`--host'. |
3508 See \`config.log' for more details" "$LINENO" 5; } |
3496 See \`config.log' for more details." "$LINENO" 5; } |
3509 fi |
3497 fi |
3510 fi |
3498 fi |
3511 fi |
3499 fi |
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3513 $as_echo "$cross_compiling" >&6; } |
3501 $as_echo "$cross_compiling" >&6; } |
3514 |
3502 |
3515 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3503 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3516 ac_clean_files=$ac_clean_files_save |
3504 ac_clean_files=$ac_clean_files_save |
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3518 $as_echo_n "checking for suffix of object files... " >&6; } |
3506 $as_echo_n "checking for suffix of object files... " >&6; } |
3519 if ${ac_cv_objext+:} false; then : |
3507 if test "${ac_cv_objext+set}" = set; then : |
3520 $as_echo_n "(cached) " >&6 |
3508 $as_echo_n "(cached) " >&6 |
3521 else |
3509 else |
3522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3523 /* end confdefs.h. */ |
3511 /* end confdefs.h. */ |
3524 |
3512 |
3554 $as_echo "$as_me: failed program was:" >&5 |
3542 $as_echo "$as_me: failed program was:" >&5 |
3555 sed 's/^/| /' conftest.$ac_ext >&5 |
3543 sed 's/^/| /' conftest.$ac_ext >&5 |
3556 |
3544 |
3557 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3545 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3546 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3559 as_fn_error $? "cannot compute suffix of object files: cannot compile |
3547 as_fn_error "cannot compute suffix of object files: cannot compile |
3560 See \`config.log' for more details" "$LINENO" 5; } |
3548 See \`config.log' for more details." "$LINENO" 5; } |
3561 fi |
3549 fi |
3562 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3550 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3563 fi |
3551 fi |
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3565 $as_echo "$ac_cv_objext" >&6; } |
3553 $as_echo "$ac_cv_objext" >&6; } |
3566 OBJEXT=$ac_cv_objext |
3554 OBJEXT=$ac_cv_objext |
3567 ac_objext=$OBJEXT |
3555 ac_objext=$OBJEXT |
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3569 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3557 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3570 if ${ac_cv_c_compiler_gnu+:} false; then : |
3558 if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
3571 $as_echo_n "(cached) " >&6 |
3559 $as_echo_n "(cached) " >&6 |
3572 else |
3560 else |
3573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3574 /* end confdefs.h. */ |
3562 /* end confdefs.h. */ |
3575 |
3563 |
3602 fi |
3590 fi |
3603 ac_test_CFLAGS=${CFLAGS+set} |
3591 ac_test_CFLAGS=${CFLAGS+set} |
3604 ac_save_CFLAGS=$CFLAGS |
3592 ac_save_CFLAGS=$CFLAGS |
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3606 $as_echo_n "checking whether $CC accepts -g... " >&6; } |
3594 $as_echo_n "checking whether $CC accepts -g... " >&6; } |
3607 if ${ac_cv_prog_cc_g+:} false; then : |
3595 if test "${ac_cv_prog_cc_g+set}" = set; then : |
3608 $as_echo_n "(cached) " >&6 |
3596 $as_echo_n "(cached) " >&6 |
3609 else |
3597 else |
3610 ac_save_c_werror_flag=$ac_c_werror_flag |
3598 ac_save_c_werror_flag=$ac_c_werror_flag |
3611 ac_c_werror_flag=yes |
3599 ac_c_werror_flag=yes |
3612 ac_cv_prog_cc_g=no |
3600 ac_cv_prog_cc_g=no |
3779 |
3767 |
3780 depcc="$CC" am_compiler_list= |
3768 depcc="$CC" am_compiler_list= |
3781 |
3769 |
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
3783 $as_echo_n "checking dependency style of $depcc... " >&6; } |
3771 $as_echo_n "checking dependency style of $depcc... " >&6; } |
3784 if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
3772 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : |
3785 $as_echo_n "(cached) " >&6 |
3773 $as_echo_n "(cached) " >&6 |
3786 else |
3774 else |
3787 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3775 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3788 # We make a subdir and do the tests there. Otherwise we can end up |
3776 # We make a subdir and do the tests there. Otherwise we can end up |
3789 # making bogus files that we don't know about and never remove. For |
3777 # making bogus files that we don't know about and never remove. For |
3909 do |
3897 do |
3910 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3898 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3911 set dummy $ac_prog; ac_word=$2 |
3899 set dummy $ac_prog; ac_word=$2 |
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3913 $as_echo_n "checking for $ac_word... " >&6; } |
3901 $as_echo_n "checking for $ac_word... " >&6; } |
3914 if ${ac_cv_prog_LEX+:} false; then : |
3902 if test "${ac_cv_prog_LEX+set}" = set; then : |
3915 $as_echo_n "(cached) " >&6 |
3903 $as_echo_n "(cached) " >&6 |
3916 else |
3904 else |
3917 if test -n "$LEX"; then |
3905 if test -n "$LEX"; then |
3918 ac_cv_prog_LEX="$LEX" # Let the user override the test. |
3906 ac_cv_prog_LEX="$LEX" # Let the user override the test. |
3919 else |
3907 else |
3979 ac_status=$? |
3967 ac_status=$? |
3980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3981 test $ac_status = 0; } |
3969 test $ac_status = 0; } |
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 |
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 |
3983 $as_echo_n "checking lex output file root... " >&6; } |
3971 $as_echo_n "checking lex output file root... " >&6; } |
3984 if ${ac_cv_prog_lex_root+:} false; then : |
3972 if test "${ac_cv_prog_lex_root+set}" = set; then : |
3985 $as_echo_n "(cached) " >&6 |
3973 $as_echo_n "(cached) " >&6 |
3986 else |
3974 else |
3987 |
3975 |
3988 if test -f lex.yy.c; then |
3976 if test -f lex.yy.c; then |
3989 ac_cv_prog_lex_root=lex.yy |
3977 ac_cv_prog_lex_root=lex.yy |
3990 elif test -f lexyy.c; then |
3978 elif test -f lexyy.c; then |
3991 ac_cv_prog_lex_root=lexyy |
3979 ac_cv_prog_lex_root=lexyy |
3992 else |
3980 else |
3993 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 |
3981 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5 |
3994 fi |
3982 fi |
3995 fi |
3983 fi |
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 |
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 |
3997 $as_echo "$ac_cv_prog_lex_root" >&6; } |
3985 $as_echo "$ac_cv_prog_lex_root" >&6; } |
3998 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
3986 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
3999 |
3987 |
4000 if test -z "${LEXLIB+set}"; then |
3988 if test -z "${LEXLIB+set}"; then |
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 |
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 |
4002 $as_echo_n "checking lex library... " >&6; } |
3990 $as_echo_n "checking lex library... " >&6; } |
4003 if ${ac_cv_lib_lex+:} false; then : |
3991 if test "${ac_cv_lib_lex+set}" = set; then : |
4004 $as_echo_n "(cached) " >&6 |
3992 $as_echo_n "(cached) " >&6 |
4005 else |
3993 else |
4006 |
3994 |
4007 ac_save_LIBS=$LIBS |
3995 ac_save_LIBS=$LIBS |
4008 ac_cv_lib_lex='none needed' |
3996 ac_cv_lib_lex='none needed' |
4028 fi |
4016 fi |
4029 |
4017 |
4030 |
4018 |
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 |
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 |
4032 $as_echo_n "checking whether yytext is a pointer... " >&6; } |
4020 $as_echo_n "checking whether yytext is a pointer... " >&6; } |
4033 if ${ac_cv_prog_lex_yytext_pointer+:} false; then : |
4021 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then : |
4034 $as_echo_n "(cached) " >&6 |
4022 $as_echo_n "(cached) " >&6 |
4035 else |
4023 else |
4036 # POSIX says lex can declare yytext either as a pointer or an array; the |
4024 # POSIX says lex can declare yytext either as a pointer or an array; the |
4037 # default is implementation-dependent. Figure out which it is, since |
4025 # default is implementation-dependent. Figure out which it is, since |
4038 # not all implementations provide the %pointer and %array declarations. |
4026 # not all implementations provide the %pointer and %array declarations. |
4039 ac_cv_prog_lex_yytext_pointer=no |
4027 ac_cv_prog_lex_yytext_pointer=no |
4040 ac_save_LIBS=$LIBS |
4028 ac_save_LIBS=$LIBS |
4041 LIBS="$LEXLIB $ac_save_LIBS" |
4029 LIBS="$LEXLIB $ac_save_LIBS" |
4042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4043 /* end confdefs.h. */ |
4031 /* end confdefs.h. */ |
4044 |
4032 #define YYTEXT_POINTER 1 |
4045 #define YYTEXT_POINTER 1 |
|
4046 `cat $LEX_OUTPUT_ROOT.c` |
4033 `cat $LEX_OUTPUT_ROOT.c` |
4047 _ACEOF |
4034 _ACEOF |
4048 if ac_fn_c_try_link "$LINENO"; then : |
4035 if ac_fn_c_try_link "$LINENO"; then : |
4049 ac_cv_prog_lex_yytext_pointer=yes |
4036 ac_cv_prog_lex_yytext_pointer=yes |
4050 fi |
4037 fi |
4077 do |
4064 do |
4078 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
4065 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
4079 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
4066 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4081 $as_echo_n "checking for $ac_word... " >&6; } |
4068 $as_echo_n "checking for $ac_word... " >&6; } |
4082 if ${ac_cv_prog_CXX+:} false; then : |
4069 if test "${ac_cv_prog_CXX+set}" = set; then : |
4083 $as_echo_n "(cached) " >&6 |
4070 $as_echo_n "(cached) " >&6 |
4084 else |
4071 else |
4085 if test -n "$CXX"; then |
4072 if test -n "$CXX"; then |
4086 ac_cv_prog_CXX="$CXX" # Let the user override the test. |
4073 ac_cv_prog_CXX="$CXX" # Let the user override the test. |
4087 else |
4074 else |
4121 do |
4108 do |
4122 # Extract the first word of "$ac_prog", so it can be a program name with args. |
4109 # Extract the first word of "$ac_prog", so it can be a program name with args. |
4123 set dummy $ac_prog; ac_word=$2 |
4110 set dummy $ac_prog; ac_word=$2 |
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4125 $as_echo_n "checking for $ac_word... " >&6; } |
4112 $as_echo_n "checking for $ac_word... " >&6; } |
4126 if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
4113 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : |
4127 $as_echo_n "(cached) " >&6 |
4114 $as_echo_n "(cached) " >&6 |
4128 else |
4115 else |
4129 if test -n "$ac_ct_CXX"; then |
4116 if test -n "$ac_ct_CXX"; then |
4130 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
4117 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
4131 else |
4118 else |
4199 test $ac_status = 0; } |
4186 test $ac_status = 0; } |
4200 done |
4187 done |
4201 |
4188 |
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
4203 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
4190 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
4204 if ${ac_cv_cxx_compiler_gnu+:} false; then : |
4191 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : |
4205 $as_echo_n "(cached) " >&6 |
4192 $as_echo_n "(cached) " >&6 |
4206 else |
4193 else |
4207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4208 /* end confdefs.h. */ |
4195 /* end confdefs.h. */ |
4209 |
4196 |
4236 fi |
4223 fi |
4237 ac_test_CXXFLAGS=${CXXFLAGS+set} |
4224 ac_test_CXXFLAGS=${CXXFLAGS+set} |
4238 ac_save_CXXFLAGS=$CXXFLAGS |
4225 ac_save_CXXFLAGS=$CXXFLAGS |
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
4240 $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
4227 $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
4241 if ${ac_cv_prog_cxx_g+:} false; then : |
4228 if test "${ac_cv_prog_cxx_g+set}" = set; then : |
4242 $as_echo_n "(cached) " >&6 |
4229 $as_echo_n "(cached) " >&6 |
4243 else |
4230 else |
4244 ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
4231 ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
4245 ac_cxx_werror_flag=yes |
4232 ac_cxx_werror_flag=yes |
4246 ac_cv_prog_cxx_g=no |
4233 ac_cv_prog_cxx_g=no |
4322 |
4309 |
4323 depcc="$CXX" am_compiler_list= |
4310 depcc="$CXX" am_compiler_list= |
4324 |
4311 |
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
4326 $as_echo_n "checking dependency style of $depcc... " >&6; } |
4313 $as_echo_n "checking dependency style of $depcc... " >&6; } |
4327 if ${am_cv_CXX_dependencies_compiler_type+:} false; then : |
4314 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : |
4328 $as_echo_n "(cached) " >&6 |
4315 $as_echo_n "(cached) " >&6 |
4329 else |
4316 else |
4330 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4317 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4331 # We make a subdir and do the tests there. Otherwise we can end up |
4318 # We make a subdir and do the tests there. Otherwise we can end up |
4332 # making bogus files that we don't know about and never remove. For |
4319 # making bogus files that we don't know about and never remove. For |
4461 |
4448 |
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
4463 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
4450 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
4464 set x ${MAKE-make} |
4451 set x ${MAKE-make} |
4465 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
4452 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
4466 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
4453 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : |
4467 $as_echo_n "(cached) " >&6 |
4454 $as_echo_n "(cached) " >&6 |
4468 else |
4455 else |
4469 cat >conftest.make <<\_ACEOF |
4456 cat >conftest.make <<\_ACEOF |
4470 SHELL = /bin/sh |
4457 SHELL = /bin/sh |
4471 all: |
4458 all: |
4472 @echo '@@@%%%=$(MAKE)=@@@%%%' |
4459 @echo '@@@%%%=$(MAKE)=@@@%%%' |
4473 _ACEOF |
4460 _ACEOF |
4474 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
4461 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
4475 case `${MAKE-make} -f conftest.make 2>/dev/null` in |
4462 case `${MAKE-make} -f conftest.make 2>/dev/null` in |
4476 *@@@%%%=?*=@@@%%%*) |
4463 *@@@%%%=?*=@@@%%%*) |
4477 eval ac_cv_prog_make_${ac_make}_set=yes;; |
4464 eval ac_cv_prog_make_${ac_make}_set=yes;; |
4478 *) |
4465 *) |
4479 eval ac_cv_prog_make_${ac_make}_set=no;; |
4466 eval ac_cv_prog_make_${ac_make}_set=no;; |
4493 if test -n "$ac_tool_prefix"; then |
4480 if test -n "$ac_tool_prefix"; then |
4494 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
4481 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
4495 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
4482 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4497 $as_echo_n "checking for $ac_word... " >&6; } |
4484 $as_echo_n "checking for $ac_word... " >&6; } |
4498 if ${ac_cv_prog_RANLIB+:} false; then : |
4485 if test "${ac_cv_prog_RANLIB+set}" = set; then : |
4499 $as_echo_n "(cached) " >&6 |
4486 $as_echo_n "(cached) " >&6 |
4500 else |
4487 else |
4501 if test -n "$RANLIB"; then |
4488 if test -n "$RANLIB"; then |
4502 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
4489 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
4503 else |
4490 else |
4533 ac_ct_RANLIB=$RANLIB |
4520 ac_ct_RANLIB=$RANLIB |
4534 # Extract the first word of "ranlib", so it can be a program name with args. |
4521 # Extract the first word of "ranlib", so it can be a program name with args. |
4535 set dummy ranlib; ac_word=$2 |
4522 set dummy ranlib; ac_word=$2 |
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4537 $as_echo_n "checking for $ac_word... " >&6; } |
4524 $as_echo_n "checking for $ac_word... " >&6; } |
4538 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
4525 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : |
4539 $as_echo_n "(cached) " >&6 |
4526 $as_echo_n "(cached) " >&6 |
4540 else |
4527 else |
4541 if test -n "$ac_ct_RANLIB"; then |
4528 if test -n "$ac_ct_RANLIB"; then |
4542 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
4529 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
4543 else |
4530 else |
4580 fi |
4567 fi |
4581 else |
4568 else |
4582 RANLIB="$ac_cv_prog_RANLIB" |
4569 RANLIB="$ac_cv_prog_RANLIB" |
4583 fi |
4570 fi |
4584 |
4571 |
|
4572 for ac_prog in gawk mawk nawk awk |
|
4573 do |
|
4574 # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
4575 set dummy $ac_prog; ac_word=$2 |
|
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
4577 $as_echo_n "checking for $ac_word... " >&6; } |
|
4578 if test "${ac_cv_prog_AWK+set}" = set; then : |
|
4579 $as_echo_n "(cached) " >&6 |
|
4580 else |
|
4581 if test -n "$AWK"; then |
|
4582 ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
4583 else |
|
4584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4585 for as_dir in $PATH |
|
4586 do |
|
4587 IFS=$as_save_IFS |
|
4588 test -z "$as_dir" && as_dir=. |
|
4589 for ac_exec_ext in '' $ac_executable_extensions; do |
|
4590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
4591 ac_cv_prog_AWK="$ac_prog" |
|
4592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
4593 break 2 |
|
4594 fi |
|
4595 done |
|
4596 done |
|
4597 IFS=$as_save_IFS |
|
4598 |
|
4599 fi |
|
4600 fi |
|
4601 AWK=$ac_cv_prog_AWK |
|
4602 if test -n "$AWK"; then |
|
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
|
4604 $as_echo "$AWK" >&6; } |
|
4605 else |
|
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
4607 $as_echo "no" >&6; } |
|
4608 fi |
|
4609 |
|
4610 |
|
4611 test -n "$AWK" && break |
|
4612 done |
|
4613 |
|
4614 |
|
4615 # Check bison version, we need a version great or equal than 2.4 to build matiec. |
|
4616 [[ $(bison --version) =~ ([0-9][.][0-9]*) ]] && version_bison="${BASH_REMATCH[1]}" |
|
4617 |
|
4618 if awk -v ver="$version_bison" 'BEGIN { if (ver < 2.4) exit 1; }'; then : |
|
4619 have_bison_correct=yes |
|
4620 else |
|
4621 have_bison_correct=no |
|
4622 fi |
|
4623 |
|
4624 |
|
4625 if test "x${have_bison_correct}" = xno; then |
|
4626 echo "------------------------------------------" |
|
4627 echo " Wrong bison version: $version_bison < 2.4 " |
|
4628 echo "------------------------------------------" |
|
4629 (exit 1); exit 1; |
|
4630 fi |
4585 |
4631 |
4586 # Checks for header files. |
4632 # Checks for header files. |
4587 ac_ext=c |
4633 ac_ext=c |
4588 ac_cpp='$CPP $CPPFLAGS' |
4634 ac_cpp='$CPP $CPPFLAGS' |
4589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4594 # On Suns, sometimes $CPP names a directory. |
4640 # On Suns, sometimes $CPP names a directory. |
4595 if test -n "$CPP" && test -d "$CPP"; then |
4641 if test -n "$CPP" && test -d "$CPP"; then |
4596 CPP= |
4642 CPP= |
4597 fi |
4643 fi |
4598 if test -z "$CPP"; then |
4644 if test -z "$CPP"; then |
4599 if ${ac_cv_prog_CPP+:} false; then : |
4645 if test "${ac_cv_prog_CPP+set}" = set; then : |
4600 $as_echo_n "(cached) " >&6 |
4646 $as_echo_n "(cached) " >&6 |
4601 else |
4647 else |
4602 # Double quotes because CPP needs to be expanded |
4648 # Double quotes because CPP needs to be expanded |
4603 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
4649 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
4604 do |
4650 do |
4699 else |
4745 else |
4700 # Passes both tests. |
4746 # Passes both tests. |
4701 ac_preproc_ok=: |
4747 ac_preproc_ok=: |
4702 break |
4748 break |
4703 fi |
4749 fi |
4704 rm -f conftest.err conftest.i conftest.$ac_ext |
4750 rm -f conftest.err conftest.$ac_ext |
4705 |
4751 |
4706 done |
4752 done |
4707 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4753 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4708 rm -f conftest.i conftest.err conftest.$ac_ext |
4754 rm -f conftest.err conftest.$ac_ext |
4709 if $ac_preproc_ok; then : |
4755 if $ac_preproc_ok; then : |
4710 |
4756 |
4711 else |
4757 else |
4712 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4758 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4714 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
4760 as_fn_error "C preprocessor \"$CPP\" fails sanity check |
4715 See \`config.log' for more details" "$LINENO" 5; } |
4761 See \`config.log' for more details." "$LINENO" 5; } |
4716 fi |
4762 fi |
4717 |
4763 |
4718 ac_ext=c |
4764 ac_ext=c |
4719 ac_cpp='$CPP $CPPFLAGS' |
4765 ac_cpp='$CPP $CPPFLAGS' |
4720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4722 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4768 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4723 |
4769 |
4724 |
4770 |
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4726 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4772 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4727 if ${ac_cv_path_GREP+:} false; then : |
4773 if test "${ac_cv_path_GREP+set}" = set; then : |
4728 $as_echo_n "(cached) " >&6 |
4774 $as_echo_n "(cached) " >&6 |
4729 else |
4775 else |
4730 if test -z "$GREP"; then |
4776 if test -z "$GREP"; then |
4731 ac_path_GREP_found=false |
4777 ac_path_GREP_found=false |
4732 # Loop through the user's path and test for each of PROGNAME-LIST |
4778 # Loop through the user's path and test for each of PROGNAME-LIST |
4785 GREP="$ac_cv_path_GREP" |
4831 GREP="$ac_cv_path_GREP" |
4786 |
4832 |
4787 |
4833 |
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4789 $as_echo_n "checking for egrep... " >&6; } |
4835 $as_echo_n "checking for egrep... " >&6; } |
4790 if ${ac_cv_path_EGREP+:} false; then : |
4836 if test "${ac_cv_path_EGREP+set}" = set; then : |
4791 $as_echo_n "(cached) " >&6 |
4837 $as_echo_n "(cached) " >&6 |
4792 else |
4838 else |
4793 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4839 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4794 then ac_cv_path_EGREP="$GREP -E" |
4840 then ac_cv_path_EGREP="$GREP -E" |
4795 else |
4841 else |
4852 EGREP="$ac_cv_path_EGREP" |
4898 EGREP="$ac_cv_path_EGREP" |
4853 |
4899 |
4854 |
4900 |
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
4856 $as_echo_n "checking for ANSI C header files... " >&6; } |
4902 $as_echo_n "checking for ANSI C header files... " >&6; } |
4857 if ${ac_cv_header_stdc+:} false; then : |
4903 if test "${ac_cv_header_stdc+set}" = set; then : |
4858 $as_echo_n "(cached) " >&6 |
4904 $as_echo_n "(cached) " >&6 |
4859 else |
4905 else |
4860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4861 /* end confdefs.h. */ |
4907 /* end confdefs.h. */ |
4862 #include <stdlib.h> |
4908 #include <stdlib.h> |
4983 |
5030 |
4984 for ac_header in float.h limits.h stdint.h stdlib.h string.h strings.h sys/timeb.h unistd.h |
5031 for ac_header in float.h limits.h stdint.h stdlib.h string.h strings.h sys/timeb.h unistd.h |
4985 do : |
5032 do : |
4986 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5033 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4987 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
5034 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
4988 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
5035 eval as_val=\$$as_ac_Header |
|
5036 if test "x$as_val" = x""yes; then : |
4989 cat >>confdefs.h <<_ACEOF |
5037 cat >>confdefs.h <<_ACEOF |
4990 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5038 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4991 _ACEOF |
5039 _ACEOF |
4992 |
5040 |
4993 fi |
5041 fi |
4996 |
5044 |
4997 |
5045 |
4998 # Checks for typedefs, structures, and compiler characteristics. |
5046 # Checks for typedefs, structures, and compiler characteristics. |
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 |
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 |
5000 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } |
5048 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } |
5001 if ${ac_cv_header_stdbool_h+:} false; then : |
5049 if test "${ac_cv_header_stdbool_h+set}" = set; then : |
5002 $as_echo_n "(cached) " >&6 |
5050 $as_echo_n "(cached) " >&6 |
5003 else |
5051 else |
5004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5005 /* end confdefs.h. */ |
5053 /* end confdefs.h. */ |
5006 |
5054 |
5028 |
5076 |
5029 char a[true == 1 ? 1 : -1]; |
5077 char a[true == 1 ? 1 : -1]; |
5030 char b[false == 0 ? 1 : -1]; |
5078 char b[false == 0 ? 1 : -1]; |
5031 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; |
5079 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; |
5032 char d[(bool) 0.5 == true ? 1 : -1]; |
5080 char d[(bool) 0.5 == true ? 1 : -1]; |
5033 /* See body of main program for 'e'. */ |
5081 bool e = &s; |
5034 char f[(_Bool) 0.0 == false ? 1 : -1]; |
5082 char f[(_Bool) 0.0 == false ? 1 : -1]; |
5035 char g[true]; |
5083 char g[true]; |
5036 char h[sizeof (_Bool)]; |
5084 char h[sizeof (_Bool)]; |
5037 char i[sizeof s.t]; |
5085 char i[sizeof s.t]; |
5038 enum { j = false, k = true, l = false * true, m = true * 256 }; |
5086 enum { j = false, k = true, l = false * true, m = true * 256 }; |
5039 /* The following fails for |
5087 /* The following fails for |
5040 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ |
5088 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ |
5041 _Bool n[m]; |
5089 _Bool n[m]; |
5042 char o[sizeof n == m * sizeof n[0] ? 1 : -1]; |
5090 char o[sizeof n == m * sizeof n[0] ? 1 : -1]; |
5043 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; |
5091 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; |
|
5092 # if defined __xlc__ || defined __GNUC__ |
|
5093 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 |
|
5094 reported by James Lemley on 2005-10-05; see |
|
5095 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html |
|
5096 This test is not quite right, since xlc is allowed to |
|
5097 reject this program, as the initializer for xlcbug is |
|
5098 not one of the forms that C requires support for. |
|
5099 However, doing the test right would require a runtime |
|
5100 test, and that would make cross-compilation harder. |
|
5101 Let us hope that IBM fixes the xlc bug, and also adds |
|
5102 support for this kind of constant expression. In the |
|
5103 meantime, this test will reject xlc, which is OK, since |
|
5104 our stdbool.h substitute should suffice. We also test |
|
5105 this with GCC, where it should work, to detect more |
|
5106 quickly whether someone messes up the test in the |
|
5107 future. */ |
|
5108 char digs[] = "0123456789"; |
|
5109 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); |
|
5110 # endif |
5044 /* Catch a bug in an HP-UX C compiler. See |
5111 /* Catch a bug in an HP-UX C compiler. See |
5045 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html |
5112 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html |
5046 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html |
5113 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html |
5047 */ |
5114 */ |
5048 _Bool q = true; |
5115 _Bool q = true; |
5071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5072 fi |
5138 fi |
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 |
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 |
5074 $as_echo "$ac_cv_header_stdbool_h" >&6; } |
5140 $as_echo "$ac_cv_header_stdbool_h" >&6; } |
5075 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" |
5141 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" |
5076 if test "x$ac_cv_type__Bool" = xyes; then : |
5142 if test "x$ac_cv_type__Bool" = x""yes; then : |
5077 |
5143 |
5078 cat >>confdefs.h <<_ACEOF |
5144 cat >>confdefs.h <<_ACEOF |
5079 #define HAVE__BOOL 1 |
5145 #define HAVE__BOOL 1 |
5080 _ACEOF |
5146 _ACEOF |
5081 |
5147 |
5231 |
5297 |
5232 # Checks for library functions. |
5298 # Checks for library functions. |
5233 for ac_header in stdlib.h |
5299 for ac_header in stdlib.h |
5234 do : |
5300 do : |
5235 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
5301 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
5236 if test "x$ac_cv_header_stdlib_h" = xyes; then : |
5302 if test "x$ac_cv_header_stdlib_h" = x""yes; then : |
5237 cat >>confdefs.h <<_ACEOF |
5303 cat >>confdefs.h <<_ACEOF |
5238 #define HAVE_STDLIB_H 1 |
5304 #define HAVE_STDLIB_H 1 |
5239 _ACEOF |
5305 _ACEOF |
5240 |
5306 |
5241 fi |
5307 fi |
5242 |
5308 |
5243 done |
5309 done |
5244 |
5310 |
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 |
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 |
5246 $as_echo_n "checking for GNU libc compatible malloc... " >&6; } |
5312 $as_echo_n "checking for GNU libc compatible malloc... " >&6; } |
5247 if ${ac_cv_func_malloc_0_nonnull+:} false; then : |
5313 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then : |
5248 $as_echo_n "(cached) " >&6 |
5314 $as_echo_n "(cached) " >&6 |
5249 else |
5315 else |
5250 if test "$cross_compiling" = yes; then : |
5316 if test "$cross_compiling" = yes; then : |
5251 ac_cv_func_malloc_0_nonnull=no |
5317 ac_cv_func_malloc_0_nonnull=no |
5252 else |
5318 else |
5297 fi |
5363 fi |
5298 |
5364 |
5299 |
5365 |
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
5301 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
5367 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
5302 if ${ac_cv_header_time+:} false; then : |
5368 if test "${ac_cv_header_time+set}" = set; then : |
5303 $as_echo_n "(cached) " >&6 |
5369 $as_echo_n "(cached) " >&6 |
5304 else |
5370 else |
5305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5306 /* end confdefs.h. */ |
5372 /* end confdefs.h. */ |
5307 #include <sys/types.h> |
5373 #include <sys/types.h> |
5410 |
5478 |
5411 static time_t time_t_max; |
5479 static time_t time_t_max; |
5412 static time_t time_t_min; |
5480 static time_t time_t_min; |
5413 |
5481 |
5414 /* Values we'll use to set the TZ environment variable. */ |
5482 /* Values we'll use to set the TZ environment variable. */ |
5415 static const char *tz_strings[] = { |
5483 static char *tz_strings[] = { |
5416 (const char *) 0, "TZ=GMT0", "TZ=JST-9", |
5484 (char *) 0, "TZ=GMT0", "TZ=JST-9", |
5417 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" |
5485 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" |
5418 }; |
5486 }; |
5419 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) |
5487 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) |
5420 |
5488 |
5421 /* Return 0 if mktime fails to convert a date in the spring-forward gap. |
5489 /* Return 0 if mktime fails to convert a date in the spring-forward gap. |
5428 |
5496 |
5429 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" |
5497 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" |
5430 instead of "TZ=America/Vancouver" in order to detect the bug even |
5498 instead of "TZ=America/Vancouver" in order to detect the bug even |
5431 on systems that don't support the Olson extension, or don't have the |
5499 on systems that don't support the Olson extension, or don't have the |
5432 full zoneinfo tables installed. */ |
5500 full zoneinfo tables installed. */ |
5433 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); |
5501 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); |
5434 |
5502 |
5435 tm.tm_year = 98; |
5503 tm.tm_year = 98; |
5436 tm.tm_mon = 3; |
5504 tm.tm_mon = 3; |
5437 tm.tm_mday = 5; |
5505 tm.tm_mday = 5; |
5438 tm.tm_hour = 2; |
5506 tm.tm_hour = 2; |
5516 |
5587 |
5517 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" |
5588 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" |
5518 instead of "TZ=America/Vancouver" in order to detect the bug even |
5589 instead of "TZ=America/Vancouver" in order to detect the bug even |
5519 on systems that don't support the Olson extension, or don't have the |
5590 on systems that don't support the Olson extension, or don't have the |
5520 full zoneinfo tables installed. */ |
5591 full zoneinfo tables installed. */ |
5521 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); |
5592 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); |
5522 |
5593 |
5523 t = mktime (&tm); |
5594 t = mktime (&tm); |
5524 |
5595 |
5525 /* Check that the result is either a failure, or close enough |
5596 /* Check that the result is either a failure, or close enough |
5526 to the correct answer that we can assume the discrepancy is |
5597 to the correct answer that we can assume the discrepancy is |
5596 fi |
5667 fi |
5597 |
5668 |
5598 for ac_header in stdlib.h |
5669 for ac_header in stdlib.h |
5599 do : |
5670 do : |
5600 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
5671 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
5601 if test "x$ac_cv_header_stdlib_h" = xyes; then : |
5672 if test "x$ac_cv_header_stdlib_h" = x""yes; then : |
5602 cat >>confdefs.h <<_ACEOF |
5673 cat >>confdefs.h <<_ACEOF |
5603 #define HAVE_STDLIB_H 1 |
5674 #define HAVE_STDLIB_H 1 |
5604 _ACEOF |
5675 _ACEOF |
5605 |
5676 |
5606 fi |
5677 fi |
5607 |
5678 |
5608 done |
5679 done |
5609 |
5680 |
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5 |
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5 |
5611 $as_echo_n "checking for GNU libc compatible realloc... " >&6; } |
5682 $as_echo_n "checking for GNU libc compatible realloc... " >&6; } |
5612 if ${ac_cv_func_realloc_0_nonnull+:} false; then : |
5683 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then : |
5613 $as_echo_n "(cached) " >&6 |
5684 $as_echo_n "(cached) " >&6 |
5614 else |
5685 else |
5615 if test "$cross_compiling" = yes; then : |
5686 if test "$cross_compiling" = yes; then : |
5616 ac_cv_func_realloc_0_nonnull=no |
5687 ac_cv_func_realloc_0_nonnull=no |
5617 else |
5688 else |
5664 |
5735 |
5665 for ac_func in clock_gettime memset pow strcasecmp strdup strtoul strtoull |
5736 for ac_func in clock_gettime memset pow strcasecmp strdup strtoul strtoull |
5666 do : |
5737 do : |
5667 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5738 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5668 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
5739 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
5669 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
5740 eval as_val=\$$as_ac_var |
|
5741 if test "x$as_val" = x""yes; then : |
5670 cat >>confdefs.h <<_ACEOF |
5742 cat >>confdefs.h <<_ACEOF |
5671 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
5743 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
5672 _ACEOF |
5744 _ACEOF |
5673 |
5745 |
5674 fi |
5746 fi |
5675 done |
5747 done |
|
5748 |
5676 |
5749 |
5677 |
5750 |
5678 |
5751 |
5679 |
5752 |
5680 ac_config_files="$ac_config_files Makefile absyntax/Makefile absyntax_utils/Makefile stage1_2/Makefile stage3/Makefile stage4/Makefile stage4/generate_c/Makefile stage4/generate_iec/Makefile" |
5753 ac_config_files="$ac_config_files Makefile absyntax/Makefile absyntax_utils/Makefile stage1_2/Makefile stage3/Makefile stage4/Makefile stage4/generate_c/Makefile stage4/generate_iec/Makefile" |
5741 t end |
5814 t end |
5742 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
5815 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
5743 :end' >>confcache |
5816 :end' >>confcache |
5744 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
5817 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
5745 if test -w "$cache_file"; then |
5818 if test -w "$cache_file"; then |
5746 if test "x$cache_file" != "x/dev/null"; then |
5819 test "x$cache_file" != "x/dev/null" && |
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
5748 $as_echo "$as_me: updating cache $cache_file" >&6;} |
5821 $as_echo "$as_me: updating cache $cache_file" >&6;} |
5749 if test ! -f "$cache_file" || test -h "$cache_file"; then |
5822 cat confcache >$cache_file |
5750 cat confcache >"$cache_file" |
|
5751 else |
|
5752 case $cache_file in #( |
|
5753 */* | ?:*) |
|
5754 mv -f confcache "$cache_file"$$ && |
|
5755 mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
5756 *) |
|
5757 mv -f confcache "$cache_file" ;; |
|
5758 esac |
|
5759 fi |
|
5760 fi |
|
5761 else |
5823 else |
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
5763 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
5825 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
5764 fi |
5826 fi |
5765 fi |
5827 fi |
5795 am__EXEEXT_TRUE='#' |
5856 am__EXEEXT_TRUE='#' |
5796 am__EXEEXT_FALSE= |
5857 am__EXEEXT_FALSE= |
5797 fi |
5858 fi |
5798 |
5859 |
5799 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
5860 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
5800 as_fn_error $? "conditional \"AMDEP\" was never defined. |
5861 as_fn_error "conditional \"AMDEP\" was never defined. |
5801 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
5862 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
5802 fi |
5863 fi |
5803 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
5864 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
5804 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
5865 as_fn_error "conditional \"am__fastdepCC\" was never defined. |
5805 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
5866 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
5806 fi |
5867 fi |
5807 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
5868 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
5808 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. |
5869 as_fn_error "conditional \"am__fastdepCXX\" was never defined. |
5809 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
5870 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
5810 fi |
5871 fi |
5811 |
5872 |
5812 : "${CONFIG_STATUS=./config.status}" |
5873 : ${CONFIG_STATUS=./config.status} |
5813 ac_write_fail=0 |
5874 ac_write_fail=0 |
5814 ac_clean_files_save=$ac_clean_files |
5875 ac_clean_files_save=$ac_clean_files |
5815 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
5876 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
5817 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
5878 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
5954 |
6014 |
5955 # CDPATH. |
6015 # CDPATH. |
5956 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
6016 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
5957 |
6017 |
5958 |
6018 |
5959 # as_fn_error STATUS ERROR [LINENO LOG_FD] |
6019 # as_fn_error ERROR [LINENO LOG_FD] |
5960 # ---------------------------------------- |
6020 # --------------------------------- |
5961 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
6021 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
5962 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
6022 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
5963 # script with STATUS, using 1 if that was 0. |
6023 # script with status $?, using 1 if that was 0. |
5964 as_fn_error () |
6024 as_fn_error () |
5965 { |
6025 { |
5966 as_status=$1; test $as_status -eq 0 && as_status=1 |
6026 as_status=$?; test $as_status -eq 0 && as_status=1 |
5967 if test "$4"; then |
6027 if test "$3"; then |
5968 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
6028 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
5969 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
6029 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
5970 fi |
6030 fi |
5971 $as_echo "$as_me: error: $2" >&2 |
6031 $as_echo "$as_me: error: $1" >&2 |
5972 as_fn_exit $as_status |
6032 as_fn_exit $as_status |
5973 } # as_fn_error |
6033 } # as_fn_error |
5974 |
6034 |
5975 |
6035 |
5976 # as_fn_set_status STATUS |
6036 # as_fn_set_status STATUS |
6216 # Save the log message, to keep $0 and so on meaningful, and to |
6276 # Save the log message, to keep $0 and so on meaningful, and to |
6217 # report actual input values of CONFIG_FILES etc. instead of their |
6277 # report actual input values of CONFIG_FILES etc. instead of their |
6218 # values after options handling. |
6278 # values after options handling. |
6219 ac_log=" |
6279 ac_log=" |
6220 This file was extended by matiec $as_me 0.1, which was |
6280 This file was extended by matiec $as_me 0.1, which was |
6221 generated by GNU Autoconf 2.68. Invocation command line was |
6281 generated by GNU Autoconf 2.65. Invocation command line was |
6222 |
6282 |
6223 CONFIG_FILES = $CONFIG_FILES |
6283 CONFIG_FILES = $CONFIG_FILES |
6224 CONFIG_HEADERS = $CONFIG_HEADERS |
6284 CONFIG_HEADERS = $CONFIG_HEADERS |
6225 CONFIG_LINKS = $CONFIG_LINKS |
6285 CONFIG_LINKS = $CONFIG_LINKS |
6226 CONFIG_COMMANDS = $CONFIG_COMMANDS |
6286 CONFIG_COMMANDS = $CONFIG_COMMANDS |
6282 _ACEOF |
6342 _ACEOF |
6283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
6343 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
6284 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
6344 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
6285 ac_cs_version="\\ |
6345 ac_cs_version="\\ |
6286 matiec config.status 0.1 |
6346 matiec config.status 0.1 |
6287 configured by $0, generated by GNU Autoconf 2.68, |
6347 configured by $0, generated by GNU Autoconf 2.65, |
6288 with options \\"\$ac_cs_config\\" |
6348 with options \\"\$ac_cs_config\\" |
6289 |
6349 |
6290 Copyright (C) 2010 Free Software Foundation, Inc. |
6350 Copyright (C) 2009 Free Software Foundation, Inc. |
6291 This config.status script is free software; the Free Software Foundation |
6351 This config.status script is free software; the Free Software Foundation |
6292 gives unlimited permission to copy, distribute and modify it." |
6352 gives unlimited permission to copy, distribute and modify it." |
6293 |
6353 |
6294 ac_pwd='$ac_pwd' |
6354 ac_pwd='$ac_pwd' |
6295 srcdir='$srcdir' |
6355 srcdir='$srcdir' |
6347 esac |
6401 esac |
6348 as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
6402 as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
6349 ac_need_defaults=false;; |
6403 ac_need_defaults=false;; |
6350 --he | --h) |
6404 --he | --h) |
6351 # Conflict between --help and --header |
6405 # Conflict between --help and --header |
6352 as_fn_error $? "ambiguous option: \`$1' |
6406 as_fn_error "ambiguous option: \`$1' |
6353 Try \`$0 --help' for more information.";; |
6407 Try \`$0 --help' for more information.";; |
6354 --help | --hel | -h ) |
6408 --help | --hel | -h ) |
6355 $as_echo "$ac_cs_usage"; exit ;; |
6409 $as_echo "$ac_cs_usage"; exit ;; |
6356 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
6410 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
6357 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
6411 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
6358 ac_cs_silent=: ;; |
6412 ac_cs_silent=: ;; |
6359 |
6413 |
6360 # This is an error. |
6414 # This is an error. |
6361 -*) as_fn_error $? "unrecognized option: \`$1' |
6415 -*) as_fn_error "unrecognized option: \`$1' |
6362 Try \`$0 --help' for more information." ;; |
6416 Try \`$0 --help' for more information." ;; |
6363 |
6417 |
6364 *) as_fn_append ac_config_targets " $1" |
6418 *) as_fn_append ac_config_targets " $1" |
6365 ac_need_defaults=false ;; |
6419 ac_need_defaults=false ;; |
6366 |
6420 |
6421 "stage3/Makefile") CONFIG_FILES="$CONFIG_FILES stage3/Makefile" ;; |
6475 "stage3/Makefile") CONFIG_FILES="$CONFIG_FILES stage3/Makefile" ;; |
6422 "stage4/Makefile") CONFIG_FILES="$CONFIG_FILES stage4/Makefile" ;; |
6476 "stage4/Makefile") CONFIG_FILES="$CONFIG_FILES stage4/Makefile" ;; |
6423 "stage4/generate_c/Makefile") CONFIG_FILES="$CONFIG_FILES stage4/generate_c/Makefile" ;; |
6477 "stage4/generate_c/Makefile") CONFIG_FILES="$CONFIG_FILES stage4/generate_c/Makefile" ;; |
6424 "stage4/generate_iec/Makefile") CONFIG_FILES="$CONFIG_FILES stage4/generate_iec/Makefile" ;; |
6478 "stage4/generate_iec/Makefile") CONFIG_FILES="$CONFIG_FILES stage4/generate_iec/Makefile" ;; |
6425 |
6479 |
6426 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
6480 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
6427 esac |
6481 esac |
6428 done |
6482 done |
6429 |
6483 |
6430 |
6484 |
6431 # If the user did not use the arguments to specify the items to instantiate, |
6485 # If the user did not use the arguments to specify the items to instantiate, |
6444 # Hook for its removal unless debugging. |
6498 # Hook for its removal unless debugging. |
6445 # Note that there is a small window in which the directory will not be cleaned: |
6499 # Note that there is a small window in which the directory will not be cleaned: |
6446 # after its creation but before its name has been assigned to `$tmp'. |
6500 # after its creation but before its name has been assigned to `$tmp'. |
6447 $debug || |
6501 $debug || |
6448 { |
6502 { |
6449 tmp= ac_tmp= |
6503 tmp= |
6450 trap 'exit_status=$? |
6504 trap 'exit_status=$? |
6451 : "${ac_tmp:=$tmp}" |
6505 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
6452 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
|
6453 ' 0 |
6506 ' 0 |
6454 trap 'as_fn_exit 1' 1 2 13 15 |
6507 trap 'as_fn_exit 1' 1 2 13 15 |
6455 } |
6508 } |
6456 # Create a (secure) tmp directory for tmp files. |
6509 # Create a (secure) tmp directory for tmp files. |
6457 |
6510 |
6458 { |
6511 { |
6459 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
6512 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
6460 test -d "$tmp" |
6513 test -n "$tmp" && test -d "$tmp" |
6461 } || |
6514 } || |
6462 { |
6515 { |
6463 tmp=./conf$$-$RANDOM |
6516 tmp=./conf$$-$RANDOM |
6464 (umask 077 && mkdir "$tmp") |
6517 (umask 077 && mkdir "$tmp") |
6465 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
6518 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
6466 ac_tmp=$tmp |
|
6467 |
6519 |
6468 # Set up the scripts for CONFIG_FILES section. |
6520 # Set up the scripts for CONFIG_FILES section. |
6469 # No need to generate them if there are no CONFIG_FILES. |
6521 # No need to generate them if there are no CONFIG_FILES. |
6470 # This happens for instance with `./config.status config.h'. |
6522 # This happens for instance with `./config.status config.h'. |
6471 if test -n "$CONFIG_FILES"; then |
6523 if test -n "$CONFIG_FILES"; then |
6478 if test "x$ac_cr" = x; then |
6530 if test "x$ac_cr" = x; then |
6479 eval ac_cr=\$\'\\r\' |
6531 eval ac_cr=\$\'\\r\' |
6480 fi |
6532 fi |
6481 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
6533 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
6482 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
6534 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
6483 ac_cs_awk_cr='\\r' |
6535 ac_cs_awk_cr='\r' |
6484 else |
6536 else |
6485 ac_cs_awk_cr=$ac_cr |
6537 ac_cs_awk_cr=$ac_cr |
6486 fi |
6538 fi |
6487 |
6539 |
6488 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
6540 echo 'BEGIN {' >"$tmp/subs1.awk" && |
6489 _ACEOF |
6541 _ACEOF |
6490 |
6542 |
6491 |
6543 |
6492 { |
6544 { |
6493 echo "cat >conf$$subs.awk <<_ACEOF" && |
6545 echo "cat >conf$$subs.awk <<_ACEOF" && |
6494 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
6546 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
6495 echo "_ACEOF" |
6547 echo "_ACEOF" |
6496 } >conf$$subs.sh || |
6548 } >conf$$subs.sh || |
6497 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
6549 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
6498 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
6550 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
6499 ac_delim='%!_!# ' |
6551 ac_delim='%!_!# ' |
6500 for ac_last_try in false false false false false :; do |
6552 for ac_last_try in false false false false false :; do |
6501 . ./conf$$subs.sh || |
6553 . ./conf$$subs.sh || |
6502 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
6554 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
6503 |
6555 |
6504 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
6556 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
6505 if test $ac_delim_n = $ac_delim_num; then |
6557 if test $ac_delim_n = $ac_delim_num; then |
6506 break |
6558 break |
6507 elif $ac_last_try; then |
6559 elif $ac_last_try; then |
6508 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
6560 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
6509 else |
6561 else |
6510 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
6562 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
6511 fi |
6563 fi |
6512 done |
6564 done |
6513 rm -f conf$$subs.sh |
6565 rm -f conf$$subs.sh |
6514 |
6566 |
6515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
6567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
6516 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
6568 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
6517 _ACEOF |
6569 _ACEOF |
6518 sed -n ' |
6570 sed -n ' |
6519 h |
6571 h |
6520 s/^/S["/; s/!.*/"]=/ |
6572 s/^/S["/; s/!.*/"]=/ |
6521 p |
6573 p |
6591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
6643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
6592 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
6644 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
6593 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
6645 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
6594 else |
6646 else |
6595 cat |
6647 cat |
6596 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
6648 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
6597 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
6649 || as_fn_error "could not setup config files machinery" "$LINENO" 5 |
6598 _ACEOF |
6650 _ACEOF |
6599 |
6651 |
6600 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
6652 # VPATH may cause trouble with some makes, so we remove $(srcdir), |
6601 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
6653 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
6602 # trailing colons and then remove the whole line if VPATH becomes empty |
6654 # trailing colons and then remove the whole line if VPATH becomes empty |
6603 # (actually we leave an empty line to preserve line numbers). |
6655 # (actually we leave an empty line to preserve line numbers). |
6604 if test "x$srcdir" = x.; then |
6656 if test "x$srcdir" = x.; then |
6605 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
6657 ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
6606 h |
6658 s/:*\$(srcdir):*/:/ |
6607 s/// |
6659 s/:*\${srcdir}:*/:/ |
6608 s/^/:/ |
6660 s/:*@srcdir@:*/:/ |
6609 s/[ ]*$/:/ |
6661 s/^\([^=]*=[ ]*\):*/\1/ |
6610 s/:\$(srcdir):/:/g |
|
6611 s/:\${srcdir}:/:/g |
|
6612 s/:@srcdir@:/:/g |
|
6613 s/^:*// |
|
6614 s/:*$// |
6662 s/:*$// |
6615 x |
|
6616 s/\(=[ ]*\).*/\1/ |
|
6617 G |
|
6618 s/\n// |
|
6619 s/^[^=]*=[ ]*$// |
6663 s/^[^=]*=[ ]*$// |
6620 }' |
6664 }' |
6621 fi |
6665 fi |
6622 |
6666 |
6623 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
6667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
6625 |
6669 |
6626 # Set up the scripts for CONFIG_HEADERS section. |
6670 # Set up the scripts for CONFIG_HEADERS section. |
6627 # No need to generate them if there are no CONFIG_HEADERS. |
6671 # No need to generate them if there are no CONFIG_HEADERS. |
6628 # This happens for instance with `./config.status Makefile'. |
6672 # This happens for instance with `./config.status Makefile'. |
6629 if test -n "$CONFIG_HEADERS"; then |
6673 if test -n "$CONFIG_HEADERS"; then |
6630 cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
6674 cat >"$tmp/defines.awk" <<\_ACAWK || |
6631 BEGIN { |
6675 BEGIN { |
6632 _ACEOF |
6676 _ACEOF |
6633 |
6677 |
6634 # Transform confdefs.h into an awk script `defines.awk', embedded as |
6678 # Transform confdefs.h into an awk script `defines.awk', embedded as |
6635 # here-document in config.status, that substitutes the proper values into |
6679 # here-document in config.status, that substitutes the proper values into |
6637 |
6681 |
6638 # Create a delimiter string that does not exist in confdefs.h, to ease |
6682 # Create a delimiter string that does not exist in confdefs.h, to ease |
6639 # handling of long lines. |
6683 # handling of long lines. |
6640 ac_delim='%!_!# ' |
6684 ac_delim='%!_!# ' |
6641 for ac_last_try in false false :; do |
6685 for ac_last_try in false false :; do |
6642 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
6686 ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
6643 if test -z "$ac_tt"; then |
6687 if test -z "$ac_t"; then |
6644 break |
6688 break |
6645 elif $ac_last_try; then |
6689 elif $ac_last_try; then |
6646 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
6690 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 |
6647 else |
6691 else |
6648 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
6692 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
6649 fi |
6693 fi |
6650 done |
6694 done |
6651 |
6695 |
6758 :[FH]) |
6802 :[FH]) |
6759 ac_file_inputs= |
6803 ac_file_inputs= |
6760 for ac_f |
6804 for ac_f |
6761 do |
6805 do |
6762 case $ac_f in |
6806 case $ac_f in |
6763 -) ac_f="$ac_tmp/stdin";; |
6807 -) ac_f="$tmp/stdin";; |
6764 *) # Look for the file first in the build tree, then in the source tree |
6808 *) # Look for the file first in the build tree, then in the source tree |
6765 # (if the path is not absolute). The absolute path cannot be DOS-style, |
6809 # (if the path is not absolute). The absolute path cannot be DOS-style, |
6766 # because $ac_f cannot contain `:'. |
6810 # because $ac_f cannot contain `:'. |
6767 test -f "$ac_f" || |
6811 test -f "$ac_f" || |
6768 case $ac_f in |
6812 case $ac_f in |
6769 [\\/$]*) false;; |
6813 [\\/$]*) false;; |
6770 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
6814 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
6771 esac || |
6815 esac || |
6772 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
6816 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
6773 esac |
6817 esac |
6774 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
6818 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
6775 as_fn_append ac_file_inputs " '$ac_f'" |
6819 as_fn_append ac_file_inputs " '$ac_f'" |
6776 done |
6820 done |
6777 |
6821 |
6930 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
6974 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
6931 s&@INSTALL@&$ac_INSTALL&;t t |
6975 s&@INSTALL@&$ac_INSTALL&;t t |
6932 s&@MKDIR_P@&$ac_MKDIR_P&;t t |
6976 s&@MKDIR_P@&$ac_MKDIR_P&;t t |
6933 $ac_datarootdir_hack |
6977 $ac_datarootdir_hack |
6934 " |
6978 " |
6935 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
6979 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
6936 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
6980 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
6937 |
6981 |
6938 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
6982 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
6939 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
6983 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
6940 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
6984 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
6941 "$ac_tmp/out"`; test -z "$ac_out"; } && |
|
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
6943 which seems to be undefined. Please make sure it is defined" >&5 |
6986 which seems to be undefined. Please make sure it is defined." >&5 |
6944 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
6987 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
6945 which seems to be undefined. Please make sure it is defined" >&2;} |
6988 which seems to be undefined. Please make sure it is defined." >&2;} |
6946 |
6989 |
6947 rm -f "$ac_tmp/stdin" |
6990 rm -f "$tmp/stdin" |
6948 case $ac_file in |
6991 case $ac_file in |
6949 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
6992 -) cat "$tmp/out" && rm -f "$tmp/out";; |
6950 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
6993 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
6951 esac \ |
6994 esac \ |
6952 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
6995 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
6953 ;; |
6996 ;; |
6954 :H) |
6997 :H) |
6955 # |
6998 # |
6956 # CONFIG_HEADER |
6999 # CONFIG_HEADER |
6957 # |
7000 # |
6958 if test x"$ac_file" != x-; then |
7001 if test x"$ac_file" != x-; then |
6959 { |
7002 { |
6960 $as_echo "/* $configure_input */" \ |
7003 $as_echo "/* $configure_input */" \ |
6961 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
7004 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
6962 } >"$ac_tmp/config.h" \ |
7005 } >"$tmp/config.h" \ |
6963 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
7006 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
6964 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
7007 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
6966 $as_echo "$as_me: $ac_file is unchanged" >&6;} |
7009 $as_echo "$as_me: $ac_file is unchanged" >&6;} |
6967 else |
7010 else |
6968 rm -f "$ac_file" |
7011 rm -f "$ac_file" |
6969 mv "$ac_tmp/config.h" "$ac_file" \ |
7012 mv "$tmp/config.h" "$ac_file" \ |
6970 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
7013 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
6971 fi |
7014 fi |
6972 else |
7015 else |
6973 $as_echo "/* $configure_input */" \ |
7016 $as_echo "/* $configure_input */" \ |
6974 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
7017 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
6975 || as_fn_error $? "could not create -" "$LINENO" 5 |
7018 || as_fn_error "could not create -" "$LINENO" 5 |
6976 fi |
7019 fi |
6977 # Compute "$ac_file"'s index in $config_headers. |
7020 # Compute "$ac_file"'s index in $config_headers. |
6978 _am_arg="$ac_file" |
7021 _am_arg="$ac_file" |
6979 _am_stamp_count=1 |
7022 _am_stamp_count=1 |
6980 for _am_header in $config_headers :; do |
7023 for _am_header in $config_headers :; do |
7120 as_fn_exit 0 |
7163 as_fn_exit 0 |
7121 _ACEOF |
7164 _ACEOF |
7122 ac_clean_files=$ac_clean_files_save |
7165 ac_clean_files=$ac_clean_files_save |
7123 |
7166 |
7124 test $ac_write_fail = 0 || |
7167 test $ac_write_fail = 0 || |
7125 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
7168 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
7126 |
7169 |
7127 |
7170 |
7128 # configure is writing to config.log, and then calls config.status. |
7171 # configure is writing to config.log, and then calls config.status. |
7129 # config.status does its own redirection, appending to config.log. |
7172 # config.status does its own redirection, appending to config.log. |
7130 # Unfortunately, on DOS this fails, as config.log is still kept open |
7173 # Unfortunately, on DOS this fails, as config.log is still kept open |
7141 exec 5>/dev/null |
7184 exec 5>/dev/null |
7142 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
7185 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
7143 exec 5>>config.log |
7186 exec 5>>config.log |
7144 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
7187 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
7145 # would make configure fail if this is the last instruction. |
7188 # would make configure fail if this is the last instruction. |
7146 $ac_cs_success || as_fn_exit 1 |
7189 $ac_cs_success || as_fn_exit $? |
7147 fi |
7190 fi |
7148 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
7191 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
7150 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
7193 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
7151 fi |
7194 fi |