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.65 for matiec 0.1. |
3 # Generated by GNU Autoconf 2.68 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 Free Software Foundation, |
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
10 # Inc. |
10 # Foundation, 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 ## -------------------- ## |
214 |
215 |
215 if test "x$CONFIG_SHELL" != x; then : |
216 if test "x$CONFIG_SHELL" != x; then : |
216 # We cannot yet assume a decent shell, so we have to provide a |
217 # We cannot yet assume a decent shell, so we have to provide a |
217 # neutralization value for shells without unset; and this also |
218 # neutralization value for shells without unset; and this also |
218 # works around shells that cannot unset nonexistent variables. |
219 # works around shells that cannot unset nonexistent variables. |
|
220 # Preserve -v and -x to the replacement shell. |
219 BASH_ENV=/dev/null |
221 BASH_ENV=/dev/null |
220 ENV=/dev/null |
222 ENV=/dev/null |
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
222 export CONFIG_SHELL |
224 export CONFIG_SHELL |
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
225 case $- in # (((( |
|
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+"$@"} |
224 fi |
232 fi |
225 |
233 |
226 if test x$as_have_required = xno; then : |
234 if test x$as_have_required = xno; then : |
227 $as_echo "$0: This script requires a shell more modern than all" |
235 $as_echo "$0: This script requires a shell more modern than all" |
228 $as_echo "$0: the shells that I found on your system." |
236 $as_echo "$0: the shells that I found on your system." |
357 as_val=`expr "$@" || test $? -eq 1` |
365 as_val=`expr "$@" || test $? -eq 1` |
358 } |
366 } |
359 fi # as_fn_arith |
367 fi # as_fn_arith |
360 |
368 |
361 |
369 |
362 # as_fn_error ERROR [LINENO LOG_FD] |
370 # as_fn_error STATUS ERROR [LINENO LOG_FD] |
363 # --------------------------------- |
371 # ---------------------------------------- |
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
366 # script with status $?, using 1 if that was 0. |
374 # script with STATUS, using 1 if that was 0. |
367 as_fn_error () |
375 as_fn_error () |
368 { |
376 { |
369 as_status=$?; test $as_status -eq 0 && as_status=1 |
377 as_status=$1; test $as_status -eq 0 && as_status=1 |
370 if test "$3"; then |
378 if test "$4"; then |
371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
373 fi |
381 fi |
374 $as_echo "$as_me: error: $1" >&2 |
382 $as_echo "$as_me: error: $2" >&2 |
375 as_fn_exit $as_status |
383 as_fn_exit $as_status |
376 } # as_fn_error |
384 } # as_fn_error |
377 |
385 |
378 if expr a : '\(a\)' >/dev/null 2>&1 && |
386 if expr a : '\(a\)' >/dev/null 2>&1 && |
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
817 |
827 |
818 -disable-* | --disable-*) |
828 -disable-* | --disable-*) |
819 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
829 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
820 # Reject names that are not valid shell variable names. |
830 # Reject names that are not valid shell variable names. |
821 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
831 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
822 as_fn_error "invalid feature name: $ac_useropt" |
832 as_fn_error $? "invalid feature name: $ac_useropt" |
823 ac_useropt_orig=$ac_useropt |
833 ac_useropt_orig=$ac_useropt |
824 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
834 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
825 case $ac_user_opts in |
835 case $ac_user_opts in |
826 *" |
836 *" |
827 "enable_$ac_useropt" |
837 "enable_$ac_useropt" |
843 |
853 |
844 -enable-* | --enable-*) |
854 -enable-* | --enable-*) |
845 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
855 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
846 # Reject names that are not valid shell variable names. |
856 # Reject names that are not valid shell variable names. |
847 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
848 as_fn_error "invalid feature name: $ac_useropt" |
858 as_fn_error $? "invalid feature name: $ac_useropt" |
849 ac_useropt_orig=$ac_useropt |
859 ac_useropt_orig=$ac_useropt |
850 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
860 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
851 case $ac_user_opts in |
861 case $ac_user_opts in |
852 *" |
862 *" |
853 "enable_$ac_useropt" |
863 "enable_$ac_useropt" |
1047 |
1057 |
1048 -with-* | --with-*) |
1058 -with-* | --with-*) |
1049 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1059 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1050 # Reject names that are not valid shell variable names. |
1060 # Reject names that are not valid shell variable names. |
1051 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1052 as_fn_error "invalid package name: $ac_useropt" |
1062 as_fn_error $? "invalid package name: $ac_useropt" |
1053 ac_useropt_orig=$ac_useropt |
1063 ac_useropt_orig=$ac_useropt |
1054 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1064 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1055 case $ac_user_opts in |
1065 case $ac_user_opts in |
1056 *" |
1066 *" |
1057 "with_$ac_useropt" |
1067 "with_$ac_useropt" |
1063 |
1073 |
1064 -without-* | --without-*) |
1074 -without-* | --without-*) |
1065 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1075 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1066 # Reject names that are not valid shell variable names. |
1076 # Reject names that are not valid shell variable names. |
1067 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1068 as_fn_error "invalid package name: $ac_useropt" |
1078 as_fn_error $? "invalid package name: $ac_useropt" |
1069 ac_useropt_orig=$ac_useropt |
1079 ac_useropt_orig=$ac_useropt |
1070 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1080 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1071 case $ac_user_opts in |
1081 case $ac_user_opts in |
1072 *" |
1082 *" |
1073 "with_$ac_useropt" |
1083 "with_$ac_useropt" |
1093 ac_prev=x_libraries ;; |
1103 ac_prev=x_libraries ;; |
1094 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1104 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1095 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1105 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1096 x_libraries=$ac_optarg ;; |
1106 x_libraries=$ac_optarg ;; |
1097 |
1107 |
1098 -*) as_fn_error "unrecognized option: \`$ac_option' |
1108 -*) as_fn_error $? "unrecognized option: \`$ac_option' |
1099 Try \`$0 --help' for more information." |
1109 Try \`$0 --help' for more information" |
1100 ;; |
1110 ;; |
1101 |
1111 |
1102 *=*) |
1112 *=*) |
1103 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1113 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1104 # Reject names that are not valid shell variable names. |
1114 # Reject names that are not valid shell variable names. |
1105 case $ac_envvar in #( |
1115 case $ac_envvar in #( |
1106 '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1116 '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1107 as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
1117 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1108 esac |
1118 esac |
1109 eval $ac_envvar=\$ac_optarg |
1119 eval $ac_envvar=\$ac_optarg |
1110 export $ac_envvar ;; |
1120 export $ac_envvar ;; |
1111 |
1121 |
1112 *) |
1122 *) |
1113 # FIXME: should be removed in autoconf 3.0. |
1123 # FIXME: should be removed in autoconf 3.0. |
1114 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1124 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1115 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1125 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1116 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1126 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1117 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1127 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1118 ;; |
1128 ;; |
1119 |
1129 |
1120 esac |
1130 esac |
1121 done |
1131 done |
1122 |
1132 |
1123 if test -n "$ac_prev"; then |
1133 if test -n "$ac_prev"; then |
1124 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1134 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1125 as_fn_error "missing argument to $ac_option" |
1135 as_fn_error $? "missing argument to $ac_option" |
1126 fi |
1136 fi |
1127 |
1137 |
1128 if test -n "$ac_unrecognized_opts"; then |
1138 if test -n "$ac_unrecognized_opts"; then |
1129 case $enable_option_checking in |
1139 case $enable_option_checking in |
1130 no) ;; |
1140 no) ;; |
1131 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
1141 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1132 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1142 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1133 esac |
1143 esac |
1134 fi |
1144 fi |
1135 |
1145 |
1136 # Check all directory arguments for consistency. |
1146 # Check all directory arguments for consistency. |
1149 # Be sure to have absolute directory names. |
1159 # Be sure to have absolute directory names. |
1150 case $ac_val in |
1160 case $ac_val in |
1151 [\\/$]* | ?:[\\/]* ) continue;; |
1161 [\\/$]* | ?:[\\/]* ) continue;; |
1152 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1162 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1153 esac |
1163 esac |
1154 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
1164 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1155 done |
1165 done |
1156 |
1166 |
1157 # There might be people who depend on the old broken behavior: `$host' |
1167 # There might be people who depend on the old broken behavior: `$host' |
1158 # used to hold the argument of --host etc. |
1168 # used to hold the argument of --host etc. |
1159 # FIXME: To remove some day. |
1169 # FIXME: To remove some day. |
1163 |
1173 |
1164 # FIXME: To remove some day. |
1174 # FIXME: To remove some day. |
1165 if test "x$host_alias" != x; then |
1175 if test "x$host_alias" != x; then |
1166 if test "x$build_alias" = x; then |
1176 if test "x$build_alias" = x; then |
1167 cross_compiling=maybe |
1177 cross_compiling=maybe |
1168 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1178 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
1169 If a cross compiler is detected then cross compile mode will be used." >&2 |
1179 If a cross compiler is detected then cross compile mode will be used" >&2 |
1170 elif test "x$build_alias" != "x$host_alias"; then |
1180 elif test "x$build_alias" != "x$host_alias"; then |
1171 cross_compiling=yes |
1181 cross_compiling=yes |
1172 fi |
1182 fi |
1173 fi |
1183 fi |
1174 |
1184 |
1179 |
1189 |
1180 |
1190 |
1181 ac_pwd=`pwd` && test -n "$ac_pwd" && |
1191 ac_pwd=`pwd` && test -n "$ac_pwd" && |
1182 ac_ls_di=`ls -di .` && |
1192 ac_ls_di=`ls -di .` && |
1183 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1193 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1184 as_fn_error "working directory cannot be determined" |
1194 as_fn_error $? "working directory cannot be determined" |
1185 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1195 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1186 as_fn_error "pwd does not report name of working directory" |
1196 as_fn_error $? "pwd does not report name of working directory" |
1187 |
1197 |
1188 |
1198 |
1189 # Find the source files, if location was not specified. |
1199 # Find the source files, if location was not specified. |
1190 if test -z "$srcdir"; then |
1200 if test -z "$srcdir"; then |
1191 ac_srcdir_defaulted=yes |
1201 ac_srcdir_defaulted=yes |
1220 else |
1230 else |
1221 ac_srcdir_defaulted=no |
1231 ac_srcdir_defaulted=no |
1222 fi |
1232 fi |
1223 if test ! -r "$srcdir/$ac_unique_file"; then |
1233 if test ! -r "$srcdir/$ac_unique_file"; then |
1224 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1234 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1225 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
1235 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1226 fi |
1236 fi |
1227 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1237 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1228 ac_abs_confdir=`( |
1238 ac_abs_confdir=`( |
1229 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
1239 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1230 pwd)` |
1240 pwd)` |
1231 # When building in place, set srcdir=. |
1241 # When building in place, set srcdir=. |
1232 if test "$ac_abs_confdir" = "$ac_pwd"; then |
1242 if test "$ac_abs_confdir" = "$ac_pwd"; then |
1233 srcdir=. |
1243 srcdir=. |
1234 fi |
1244 fi |
1264 Configuration: |
1274 Configuration: |
1265 -h, --help display this help and exit |
1275 -h, --help display this help and exit |
1266 --help=short display options specific to this package |
1276 --help=short display options specific to this package |
1267 --help=recursive display the short help of all the included packages |
1277 --help=recursive display the short help of all the included packages |
1268 -V, --version display version information and exit |
1278 -V, --version display version information and exit |
1269 -q, --quiet, --silent do not print \`checking...' messages |
1279 -q, --quiet, --silent do not print \`checking ...' messages |
1270 --cache-file=FILE cache test results in FILE [disabled] |
1280 --cache-file=FILE cache test results in FILE [disabled] |
1271 -C, --config-cache alias for \`--cache-file=config.cache' |
1281 -C, --config-cache alias for \`--cache-file=config.cache' |
1272 -n, --no-create do not create output files |
1282 -n, --no-create do not create output files |
1273 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1283 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1274 |
1284 |
1328 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1338 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1329 --disable-dependency-tracking speeds up one-time build |
1339 --disable-dependency-tracking speeds up one-time build |
1330 --enable-dependency-tracking do not reject slow dependency extractors |
1340 --enable-dependency-tracking do not reject slow dependency extractors |
1331 |
1341 |
1332 Some influential environment variables: |
1342 Some influential environment variables: |
1333 YACC The `Yet Another C Compiler' implementation to use. Defaults to |
1343 YACC The `Yet Another Compiler Compiler' implementation to use. |
1334 the first program found out of: `bison -y', `byacc', `yacc'. |
1344 Defaults to the first program found out of: `bison -y', `byacc', |
|
1345 `yacc'. |
1335 YFLAGS The list of arguments that will be passed by default to $YACC. |
1346 YFLAGS The list of arguments that will be passed by default to $YACC. |
1336 This script will default YFLAGS to the empty string to avoid a |
1347 This script will default YFLAGS to the empty string to avoid a |
1337 default value of `-d' given by some make applications. |
1348 default value of `-d' given by some make applications. |
1338 CC C compiler command |
1349 CC C compiler command |
1339 CFLAGS C compiler flags |
1350 CFLAGS C compiler flags |
1411 |
1422 |
1412 test -n "$ac_init_help" && exit $ac_status |
1423 test -n "$ac_init_help" && exit $ac_status |
1413 if $ac_init_version; then |
1424 if $ac_init_version; then |
1414 cat <<\_ACEOF |
1425 cat <<\_ACEOF |
1415 matiec configure 0.1 |
1426 matiec configure 0.1 |
1416 generated by GNU Autoconf 2.65 |
1427 generated by GNU Autoconf 2.68 |
1417 |
1428 |
1418 Copyright (C) 2009 Free Software Foundation, Inc. |
1429 Copyright (C) 2010 Free Software Foundation, Inc. |
1419 This configure script is free software; the Free Software Foundation |
1430 This configure script is free software; the Free Software Foundation |
1420 gives unlimited permission to copy, distribute and modify it. |
1431 gives unlimited permission to copy, distribute and modify it. |
1421 _ACEOF |
1432 _ACEOF |
1422 exit |
1433 exit |
1423 fi |
1434 fi |
1503 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1514 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1504 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1515 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1505 # interfere with the next link command; also delete a directory that is |
1516 # interfere with the next link command; also delete a directory that is |
1506 # left behind by Apple's compiler. We do this before executing the actions. |
1517 # left behind by Apple's compiler. We do this before executing the actions. |
1507 rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1518 rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1508 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1519 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1509 as_fn_set_status $ac_retval |
1520 as_fn_set_status $ac_retval |
1510 |
1521 |
1511 } # ac_fn_c_try_link |
1522 } # ac_fn_c_try_link |
1512 |
1523 |
1513 # ac_fn_cxx_try_compile LINENO |
1524 # ac_fn_cxx_try_compile LINENO |
1567 grep -v '^ *+' conftest.err >conftest.er1 |
1578 grep -v '^ *+' conftest.err >conftest.er1 |
1568 cat conftest.er1 >&5 |
1579 cat conftest.er1 >&5 |
1569 mv -f conftest.er1 conftest.err |
1580 mv -f conftest.er1 conftest.err |
1570 fi |
1581 fi |
1571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1572 test $ac_status = 0; } >/dev/null && { |
1583 test $ac_status = 0; } > conftest.i && { |
1573 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1584 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1574 test ! -s conftest.err |
1585 test ! -s conftest.err |
1575 }; then : |
1586 }; then : |
1576 ac_retval=0 |
1587 ac_retval=0 |
1577 else |
1588 else |
1578 $as_echo "$as_me: failed program was:" >&5 |
1589 $as_echo "$as_me: failed program was:" >&5 |
1579 sed 's/^/| /' conftest.$ac_ext >&5 |
1590 sed 's/^/| /' conftest.$ac_ext >&5 |
1580 |
1591 |
1581 ac_retval=1 |
1592 ac_retval=1 |
1582 fi |
1593 fi |
1583 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1594 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1584 as_fn_set_status $ac_retval |
1595 as_fn_set_status $ac_retval |
1585 |
1596 |
1586 } # ac_fn_c_try_cpp |
1597 } # ac_fn_c_try_cpp |
1587 |
1598 |
1588 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1599 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1591 # the include files in INCLUDES and setting the cache variable VAR |
1602 # the include files in INCLUDES and setting the cache variable VAR |
1592 # accordingly. |
1603 # accordingly. |
1593 ac_fn_c_check_header_mongrel () |
1604 ac_fn_c_check_header_mongrel () |
1594 { |
1605 { |
1595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1606 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1596 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1607 if eval \${$3+:} false; then : |
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1598 $as_echo_n "checking for $2... " >&6; } |
1609 $as_echo_n "checking for $2... " >&6; } |
1599 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1610 if eval \${$3+:} false; then : |
1600 $as_echo_n "(cached) " >&6 |
1611 $as_echo_n "(cached) " >&6 |
1601 fi |
1612 fi |
1602 eval ac_res=\$$3 |
1613 eval ac_res=\$$3 |
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1604 $as_echo "$ac_res" >&6; } |
1615 $as_echo "$ac_res" >&6; } |
1630 if ac_fn_c_try_cpp "$LINENO"; then : |
1641 if ac_fn_c_try_cpp "$LINENO"; then : |
1631 ac_header_preproc=yes |
1642 ac_header_preproc=yes |
1632 else |
1643 else |
1633 ac_header_preproc=no |
1644 ac_header_preproc=no |
1634 fi |
1645 fi |
1635 rm -f conftest.err conftest.$ac_ext |
1646 rm -f conftest.err conftest.i conftest.$ac_ext |
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
1637 $as_echo "$ac_header_preproc" >&6; } |
1648 $as_echo "$ac_header_preproc" >&6; } |
1638 |
1649 |
1639 # So? What about this header? |
1650 # So? What about this header? |
1640 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
1651 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
1653 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
1664 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
1655 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
1666 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
1657 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1668 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1658 ( cat <<\_ASBOX |
1669 ( $as_echo "## bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb ## |
1659 ## bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb ## |
|
1660 ## Report this to msousa@fe.up.pt ## |
1670 ## Report this to msousa@fe.up.pt ## |
1661 ## bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb ## |
1671 ## bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb ##" |
1662 _ASBOX |
|
1663 ) | sed "s/^/$as_me: WARNING: /" >&2 |
1672 ) | sed "s/^/$as_me: WARNING: /" >&2 |
1664 ;; |
1673 ;; |
1665 esac |
1674 esac |
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1667 $as_echo_n "checking for $2... " >&6; } |
1676 $as_echo_n "checking for $2... " >&6; } |
1668 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1677 if eval \${$3+:} false; then : |
1669 $as_echo_n "(cached) " >&6 |
1678 $as_echo_n "(cached) " >&6 |
1670 else |
1679 else |
1671 eval "$3=\$ac_header_compiler" |
1680 eval "$3=\$ac_header_compiler" |
1672 fi |
1681 fi |
1673 eval ac_res=\$$3 |
1682 eval ac_res=\$$3 |
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1675 $as_echo "$ac_res" >&6; } |
1684 $as_echo "$ac_res" >&6; } |
1676 fi |
1685 fi |
1677 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1686 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1678 |
1687 |
1679 } # ac_fn_c_check_header_mongrel |
1688 } # ac_fn_c_check_header_mongrel |
1680 |
1689 |
1681 # ac_fn_c_try_run LINENO |
1690 # ac_fn_c_try_run LINENO |
1682 # ---------------------- |
1691 # ---------------------- |
1727 ac_fn_c_check_header_compile () |
1736 ac_fn_c_check_header_compile () |
1728 { |
1737 { |
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1731 $as_echo_n "checking for $2... " >&6; } |
1740 $as_echo_n "checking for $2... " >&6; } |
1732 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1741 if eval \${$3+:} false; then : |
1733 $as_echo_n "(cached) " >&6 |
1742 $as_echo_n "(cached) " >&6 |
1734 else |
1743 else |
1735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1736 /* end confdefs.h. */ |
1745 /* end confdefs.h. */ |
1737 $4 |
1746 $4 |
1745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1746 fi |
1755 fi |
1747 eval ac_res=\$$3 |
1756 eval ac_res=\$$3 |
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1749 $as_echo "$ac_res" >&6; } |
1758 $as_echo "$ac_res" >&6; } |
1750 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1751 |
1760 |
1752 } # ac_fn_c_check_header_compile |
1761 } # ac_fn_c_check_header_compile |
1753 |
1762 |
1754 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
1763 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
1755 # ------------------------------------------- |
1764 # ------------------------------------------- |
1758 ac_fn_c_check_type () |
1767 ac_fn_c_check_type () |
1759 { |
1768 { |
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1762 $as_echo_n "checking for $2... " >&6; } |
1771 $as_echo_n "checking for $2... " >&6; } |
1763 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1772 if eval \${$3+:} false; then : |
1764 $as_echo_n "(cached) " >&6 |
1773 $as_echo_n "(cached) " >&6 |
1765 else |
1774 else |
1766 eval "$3=no" |
1775 eval "$3=no" |
1767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1768 /* end confdefs.h. */ |
1777 /* end confdefs.h. */ |
1799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1800 fi |
1809 fi |
1801 eval ac_res=\$$3 |
1810 eval ac_res=\$$3 |
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1803 $as_echo "$ac_res" >&6; } |
1812 $as_echo "$ac_res" >&6; } |
1804 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1813 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1805 |
1814 |
1806 } # ac_fn_c_check_type |
1815 } # ac_fn_c_check_type |
1807 |
1816 |
1808 # ac_fn_c_find_intX_t LINENO BITS VAR |
1817 # ac_fn_c_find_intX_t LINENO BITS VAR |
1809 # ----------------------------------- |
1818 # ----------------------------------- |
1812 ac_fn_c_find_intX_t () |
1821 ac_fn_c_find_intX_t () |
1813 { |
1822 { |
1814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1823 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 |
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 |
1816 $as_echo_n "checking for int$2_t... " >&6; } |
1825 $as_echo_n "checking for int$2_t... " >&6; } |
1817 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1826 if eval \${$3+:} false; then : |
1818 $as_echo_n "(cached) " >&6 |
1827 $as_echo_n "(cached) " >&6 |
1819 else |
1828 else |
1820 eval "$3=no" |
1829 eval "$3=no" |
1821 # Order is important - never check a type that is potentially smaller |
1830 # Order is important - never check a type that is potentially smaller |
1822 # than half of the expected target width. |
1831 # than half of the expected target width. |
1823 for ac_type in int$2_t 'int' 'long int' \ |
1832 for ac_type in int$2_t 'int' 'long int' \ |
1824 'long long int' 'short int' 'signed char'; do |
1833 'long long int' 'short int' 'signed char'; do |
1825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1826 /* end confdefs.h. */ |
1835 /* end confdefs.h. */ |
1827 $ac_includes_default |
1836 $ac_includes_default |
|
1837 enum { N = $2 / 2 - 1 }; |
1828 int |
1838 int |
1829 main () |
1839 main () |
1830 { |
1840 { |
1831 static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 }; |
1841 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; |
1832 0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; |
|
1833 test_array [0] = 0 |
1842 test_array [0] = 0 |
1834 |
1843 |
1835 ; |
1844 ; |
1836 return 0; |
1845 return 0; |
1837 } |
1846 } |
1838 _ACEOF |
1847 _ACEOF |
1839 if ac_fn_c_try_compile "$LINENO"; then : |
1848 if ac_fn_c_try_compile "$LINENO"; then : |
1840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1841 /* end confdefs.h. */ |
1850 /* end confdefs.h. */ |
1842 $ac_includes_default |
1851 $ac_includes_default |
|
1852 enum { N = $2 / 2 - 1 }; |
1843 int |
1853 int |
1844 main () |
1854 main () |
1845 { |
1855 { |
1846 static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 }; |
1856 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) |
1847 ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) |
|
1848 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; |
1857 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; |
1849 test_array [0] = 0 |
1858 test_array [0] = 0 |
1850 |
1859 |
1851 ; |
1860 ; |
1852 return 0; |
1861 return 0; |
1863 esac |
1872 esac |
1864 fi |
1873 fi |
1865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1866 fi |
1875 fi |
1867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1868 eval as_val=\$$3 |
1877 if eval test \"x\$"$3"\" = x"no"; then : |
1869 if test "x$as_val" = x""no; then : |
|
1870 |
1878 |
1871 else |
1879 else |
1872 break |
1880 break |
1873 fi |
1881 fi |
1874 done |
1882 done |
1875 fi |
1883 fi |
1876 eval ac_res=\$$3 |
1884 eval ac_res=\$$3 |
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1878 $as_echo "$ac_res" >&6; } |
1886 $as_echo "$ac_res" >&6; } |
1879 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1887 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1880 |
1888 |
1881 } # ac_fn_c_find_intX_t |
1889 } # ac_fn_c_find_intX_t |
1882 |
1890 |
1883 # ac_fn_c_find_uintX_t LINENO BITS VAR |
1891 # ac_fn_c_find_uintX_t LINENO BITS VAR |
1884 # ------------------------------------ |
1892 # ------------------------------------ |
1887 ac_fn_c_find_uintX_t () |
1895 ac_fn_c_find_uintX_t () |
1888 { |
1896 { |
1889 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 |
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 |
1891 $as_echo_n "checking for uint$2_t... " >&6; } |
1899 $as_echo_n "checking for uint$2_t... " >&6; } |
1892 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1900 if eval \${$3+:} false; then : |
1893 $as_echo_n "(cached) " >&6 |
1901 $as_echo_n "(cached) " >&6 |
1894 else |
1902 else |
1895 eval "$3=no" |
1903 eval "$3=no" |
1896 # Order is important - never check a type that is potentially smaller |
1904 # Order is important - never check a type that is potentially smaller |
1897 # than half of the expected target width. |
1905 # than half of the expected target width. |
1917 *) : |
1925 *) : |
1918 eval "$3=\$ac_type" ;; |
1926 eval "$3=\$ac_type" ;; |
1919 esac |
1927 esac |
1920 fi |
1928 fi |
1921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1922 eval as_val=\$$3 |
1930 if eval test \"x\$"$3"\" = x"no"; then : |
1923 if test "x$as_val" = x""no; then : |
|
1924 |
1931 |
1925 else |
1932 else |
1926 break |
1933 break |
1927 fi |
1934 fi |
1928 done |
1935 done |
1929 fi |
1936 fi |
1930 eval ac_res=\$$3 |
1937 eval ac_res=\$$3 |
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1932 $as_echo "$ac_res" >&6; } |
1939 $as_echo "$ac_res" >&6; } |
1933 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1934 |
1941 |
1935 } # ac_fn_c_find_uintX_t |
1942 } # ac_fn_c_find_uintX_t |
1936 |
1943 |
1937 # ac_fn_c_check_func LINENO FUNC VAR |
1944 # ac_fn_c_check_func LINENO FUNC VAR |
1938 # ---------------------------------- |
1945 # ---------------------------------- |
1940 ac_fn_c_check_func () |
1947 ac_fn_c_check_func () |
1941 { |
1948 { |
1942 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1944 $as_echo_n "checking for $2... " >&6; } |
1951 $as_echo_n "checking for $2... " >&6; } |
1945 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1952 if eval \${$3+:} false; then : |
1946 $as_echo_n "(cached) " >&6 |
1953 $as_echo_n "(cached) " >&6 |
1947 else |
1954 else |
1948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1949 /* end confdefs.h. */ |
1956 /* end confdefs.h. */ |
1950 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
1957 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
1995 conftest$ac_exeext conftest.$ac_ext |
2002 conftest$ac_exeext conftest.$ac_ext |
1996 fi |
2003 fi |
1997 eval ac_res=\$$3 |
2004 eval ac_res=\$$3 |
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1999 $as_echo "$ac_res" >&6; } |
2006 $as_echo "$ac_res" >&6; } |
2000 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2007 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2001 |
2008 |
2002 } # ac_fn_c_check_func |
2009 } # ac_fn_c_check_func |
2003 cat >config.log <<_ACEOF |
2010 cat >config.log <<_ACEOF |
2004 This file contains any messages produced by compilers while |
2011 This file contains any messages produced by compilers while |
2005 running configure, to aid debugging if configure makes a mistake. |
2012 running configure, to aid debugging if configure makes a mistake. |
2006 |
2013 |
2007 It was created by matiec $as_me 0.1, which was |
2014 It was created by matiec $as_me 0.1, which was |
2008 generated by GNU Autoconf 2.65. Invocation command line was |
2015 generated by GNU Autoconf 2.68. Invocation command line was |
2009 |
2016 |
2010 $ $0 $@ |
2017 $ $0 $@ |
2011 |
2018 |
2012 _ACEOF |
2019 _ACEOF |
2013 exec 5>>config.log |
2020 exec 5>>config.log |
2113 trap 'exit_status=$? |
2120 trap 'exit_status=$? |
2114 # Save into config.log some information that might help in debugging. |
2121 # Save into config.log some information that might help in debugging. |
2115 { |
2122 { |
2116 echo |
2123 echo |
2117 |
2124 |
2118 cat <<\_ASBOX |
2125 $as_echo "## ---------------- ## |
2119 ## ---------------- ## |
|
2120 ## Cache variables. ## |
2126 ## Cache variables. ## |
2121 ## ---------------- ## |
2127 ## ---------------- ##" |
2122 _ASBOX |
|
2123 echo |
2128 echo |
2124 # The following way of writing the cache mishandles newlines in values, |
2129 # The following way of writing the cache mishandles newlines in values, |
2125 ( |
2130 ( |
2126 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
2131 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
2127 eval ac_val=\$$ac_var |
2132 eval ac_val=\$$ac_var |
2245 # Let the site file select an alternate cache file if it wants to. |
2244 # Let the site file select an alternate cache file if it wants to. |
2246 # Prefer an explicitly selected file to automatically selected ones. |
2245 # Prefer an explicitly selected file to automatically selected ones. |
2247 ac_site_file1=NONE |
2246 ac_site_file1=NONE |
2248 ac_site_file2=NONE |
2247 ac_site_file2=NONE |
2249 if test -n "$CONFIG_SITE"; then |
2248 if test -n "$CONFIG_SITE"; then |
2250 ac_site_file1=$CONFIG_SITE |
2249 # We do not want a PATH search for config.site. |
|
2250 case $CONFIG_SITE in #(( |
|
2251 -*) ac_site_file1=./$CONFIG_SITE;; |
|
2252 */*) ac_site_file1=$CONFIG_SITE;; |
|
2253 *) ac_site_file1=./$CONFIG_SITE;; |
|
2254 esac |
2251 elif test "x$prefix" != xNONE; then |
2255 elif test "x$prefix" != xNONE; then |
2252 ac_site_file1=$prefix/share/config.site |
2256 ac_site_file1=$prefix/share/config.site |
2253 ac_site_file2=$prefix/etc/config.site |
2257 ac_site_file2=$prefix/etc/config.site |
2254 else |
2258 else |
2255 ac_site_file1=$ac_default_prefix/share/config.site |
2259 ac_site_file1=$ac_default_prefix/share/config.site |
2260 test "x$ac_site_file" = xNONE && continue |
2264 test "x$ac_site_file" = xNONE && continue |
2261 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2265 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2263 $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2267 $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2264 sed 's/^/| /' "$ac_site_file" >&5 |
2268 sed 's/^/| /' "$ac_site_file" >&5 |
2265 . "$ac_site_file" |
2269 . "$ac_site_file" \ |
|
2270 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2272 as_fn_error $? "failed to load site script $ac_site_file |
|
2273 See \`config.log' for more details" "$LINENO" 5; } |
2266 fi |
2274 fi |
2267 done |
2275 done |
2268 |
2276 |
2269 if test -r "$cache_file"; then |
2277 if test -r "$cache_file"; then |
2270 # Some versions of bash will fail to source /dev/null (special files |
2278 # Some versions of bash will fail to source /dev/null (special files |
2339 if $ac_cache_corrupted; then |
2347 if $ac_cache_corrupted; then |
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2341 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2343 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2351 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2344 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2352 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2345 fi |
2353 fi |
2346 ## -------------------- ## |
2354 ## -------------------- ## |
2347 ## Main body of script. ## |
2355 ## Main body of script. ## |
2348 ## -------------------- ## |
2356 ## -------------------- ## |
2349 |
2357 |
2356 |
2364 |
2357 ac_config_headers="$ac_config_headers config/config.h" |
2365 ac_config_headers="$ac_config_headers config/config.h" |
2358 |
2366 |
2359 ac_aux_dir= |
2367 ac_aux_dir= |
2360 for ac_dir in config "$srcdir"/config; do |
2368 for ac_dir in config "$srcdir"/config; do |
2361 for ac_t in install-sh install.sh shtool; do |
2369 if test -f "$ac_dir/install-sh"; then |
2362 if test -f "$ac_dir/$ac_t"; then |
2370 ac_aux_dir=$ac_dir |
2363 ac_aux_dir=$ac_dir |
2371 ac_install_sh="$ac_aux_dir/install-sh -c" |
2364 ac_install_sh="$ac_aux_dir/$ac_t -c" |
2372 break |
2365 break 2 |
2373 elif test -f "$ac_dir/install.sh"; then |
2366 fi |
2374 ac_aux_dir=$ac_dir |
2367 done |
2375 ac_install_sh="$ac_aux_dir/install.sh -c" |
|
2376 break |
|
2377 elif test -f "$ac_dir/shtool"; then |
|
2378 ac_aux_dir=$ac_dir |
|
2379 ac_install_sh="$ac_aux_dir/shtool install -c" |
|
2380 break |
|
2381 fi |
2368 done |
2382 done |
2369 if test -z "$ac_aux_dir"; then |
2383 if test -z "$ac_aux_dir"; then |
2370 as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 |
2384 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 |
2371 fi |
2385 fi |
2372 |
2386 |
2373 # These three variables are undocumented and unsupported, |
2387 # These three variables are undocumented and unsupported, |
2374 # and are intended to be withdrawn in a future Autoconf release. |
2388 # and are intended to be withdrawn in a future Autoconf release. |
2375 # They can cause serious problems if a builder's source tree is in a directory |
2389 # They can cause serious problems if a builder's source tree is in a directory |
2397 # ./install, which can be erroneously created by make from ./install.sh. |
2411 # ./install, which can be erroneously created by make from ./install.sh. |
2398 # Reject install programs that cannot install multiple files. |
2412 # Reject install programs that cannot install multiple files. |
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2400 $as_echo_n "checking for a BSD-compatible install... " >&6; } |
2414 $as_echo_n "checking for a BSD-compatible install... " >&6; } |
2401 if test -z "$INSTALL"; then |
2415 if test -z "$INSTALL"; then |
2402 if test "${ac_cv_path_install+set}" = set; then : |
2416 if ${ac_cv_path_install+:} false; then : |
2403 $as_echo_n "(cached) " >&6 |
2417 $as_echo_n "(cached) " >&6 |
2404 else |
2418 else |
2405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2406 for as_dir in $PATH |
2420 for as_dir in $PATH |
2407 do |
2421 do |
2484 # name. Accept space and tab only in the latter. |
2498 # name. Accept space and tab only in the latter. |
2485 am_lf=' |
2499 am_lf=' |
2486 ' |
2500 ' |
2487 case `pwd` in |
2501 case `pwd` in |
2488 *[\\\"\#\$\&\'\`$am_lf]*) |
2502 *[\\\"\#\$\&\'\`$am_lf]*) |
2489 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; |
2503 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
2490 esac |
2504 esac |
2491 case $srcdir in |
2505 case $srcdir in |
2492 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
2506 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
2493 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
2507 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
2494 esac |
2508 esac |
2495 |
2509 |
2496 # Do `set' in a subshell so we don't clobber the current shell's |
2510 # Do `set' in a subshell so we don't clobber the current shell's |
2497 # arguments. Must try -L first in case configure is actually a |
2511 # arguments. Must try -L first in case configure is actually a |
2498 # symlink; some systems play weird games with the mod time of symlinks |
2512 # symlink; some systems play weird games with the mod time of symlinks |
2510 |
2524 |
2511 # If neither matched, then we have a broken ls. This can happen |
2525 # If neither matched, then we have a broken ls. This can happen |
2512 # if, for instance, CONFIG_SHELL is bash and it inherits a |
2526 # if, for instance, CONFIG_SHELL is bash and it inherits a |
2513 # broken ls alias from the environment. This has actually |
2527 # broken ls alias from the environment. This has actually |
2514 # happened. Such a system could not be considered "sane". |
2528 # happened. Such a system could not be considered "sane". |
2515 as_fn_error "ls -t appears to fail. Make sure there is not a broken |
2529 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
2516 alias in your environment" "$LINENO" 5 |
2530 alias in your environment" "$LINENO" 5 |
2517 fi |
2531 fi |
2518 |
2532 |
2519 test "$2" = conftest.file |
2533 test "$2" = conftest.file |
2520 ) |
2534 ) |
2521 then |
2535 then |
2522 # Ok. |
2536 # Ok. |
2523 : |
2537 : |
2524 else |
2538 else |
2525 as_fn_error "newly created file is older than distributed files! |
2539 as_fn_error $? "newly created file is older than distributed files! |
2526 Check your system clock" "$LINENO" 5 |
2540 Check your system clock" "$LINENO" 5 |
2527 fi |
2541 fi |
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2529 $as_echo "yes" >&6; } |
2543 $as_echo "yes" >&6; } |
2530 test "$program_prefix" != NONE && |
2544 test "$program_prefix" != NONE && |
2574 if test -n "$ac_tool_prefix"; then |
2588 if test -n "$ac_tool_prefix"; then |
2575 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
2589 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
2576 set dummy ${ac_tool_prefix}strip; ac_word=$2 |
2590 set dummy ${ac_tool_prefix}strip; ac_word=$2 |
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2578 $as_echo_n "checking for $ac_word... " >&6; } |
2592 $as_echo_n "checking for $ac_word... " >&6; } |
2579 if test "${ac_cv_prog_STRIP+set}" = set; then : |
2593 if ${ac_cv_prog_STRIP+:} false; then : |
2580 $as_echo_n "(cached) " >&6 |
2594 $as_echo_n "(cached) " >&6 |
2581 else |
2595 else |
2582 if test -n "$STRIP"; then |
2596 if test -n "$STRIP"; then |
2583 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
2597 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
2584 else |
2598 else |
2614 ac_ct_STRIP=$STRIP |
2628 ac_ct_STRIP=$STRIP |
2615 # Extract the first word of "strip", so it can be a program name with args. |
2629 # Extract the first word of "strip", so it can be a program name with args. |
2616 set dummy strip; ac_word=$2 |
2630 set dummy strip; ac_word=$2 |
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2618 $as_echo_n "checking for $ac_word... " >&6; } |
2632 $as_echo_n "checking for $ac_word... " >&6; } |
2619 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
2633 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
2620 $as_echo_n "(cached) " >&6 |
2634 $as_echo_n "(cached) " >&6 |
2621 else |
2635 else |
2622 if test -n "$ac_ct_STRIP"; then |
2636 if test -n "$ac_ct_STRIP"; then |
2623 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
2637 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
2624 else |
2638 else |
2667 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
2681 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
2668 |
2682 |
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
2670 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
2684 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
2671 if test -z "$MKDIR_P"; then |
2685 if test -z "$MKDIR_P"; then |
2672 if test "${ac_cv_path_mkdir+set}" = set; then : |
2686 if ${ac_cv_path_mkdir+:} false; then : |
2673 $as_echo_n "(cached) " >&6 |
2687 $as_echo_n "(cached) " >&6 |
2674 else |
2688 else |
2675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2676 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
2690 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
2677 do |
2691 do |
2718 do |
2732 do |
2719 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2733 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2720 set dummy $ac_prog; ac_word=$2 |
2734 set dummy $ac_prog; ac_word=$2 |
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2722 $as_echo_n "checking for $ac_word... " >&6; } |
2736 $as_echo_n "checking for $ac_word... " >&6; } |
2723 if test "${ac_cv_prog_AWK+set}" = set; then : |
2737 if ${ac_cv_prog_AWK+:} false; then : |
2724 $as_echo_n "(cached) " >&6 |
2738 $as_echo_n "(cached) " >&6 |
2725 else |
2739 else |
2726 if test -n "$AWK"; then |
2740 if test -n "$AWK"; then |
2727 ac_cv_prog_AWK="$AWK" # Let the user override the test. |
2741 ac_cv_prog_AWK="$AWK" # Let the user override the test. |
2728 else |
2742 else |
2758 |
2772 |
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2760 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2774 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2761 set x ${MAKE-make} |
2775 set x ${MAKE-make} |
2762 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
2776 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
2763 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : |
2777 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
2764 $as_echo_n "(cached) " >&6 |
2778 $as_echo_n "(cached) " >&6 |
2765 else |
2779 else |
2766 cat >conftest.make <<\_ACEOF |
2780 cat >conftest.make <<\_ACEOF |
2767 SHELL = /bin/sh |
2781 SHELL = /bin/sh |
2768 all: |
2782 all: |
2769 @echo '@@@%%%=$(MAKE)=@@@%%%' |
2783 @echo '@@@%%%=$(MAKE)=@@@%%%' |
2770 _ACEOF |
2784 _ACEOF |
2771 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
2785 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
2772 case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2786 case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2773 *@@@%%%=?*=@@@%%%*) |
2787 *@@@%%%=?*=@@@%%%*) |
2774 eval ac_cv_prog_make_${ac_make}_set=yes;; |
2788 eval ac_cv_prog_make_${ac_make}_set=yes;; |
2775 *) |
2789 *) |
2776 eval ac_cv_prog_make_${ac_make}_set=no;; |
2790 eval ac_cv_prog_make_${ac_make}_set=no;; |
2800 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
2814 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
2801 # is not polluted with repeated "-I." |
2815 # is not polluted with repeated "-I." |
2802 am__isrc=' -I$(srcdir)' |
2816 am__isrc=' -I$(srcdir)' |
2803 # test to see if srcdir already configured |
2817 # test to see if srcdir already configured |
2804 if test -f $srcdir/config.status; then |
2818 if test -f $srcdir/config.status; then |
2805 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
2819 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
2806 fi |
2820 fi |
2807 fi |
2821 fi |
2808 |
2822 |
2809 # test whether we have cygpath |
2823 # test whether we have cygpath |
2810 if test -z "$CYGPATH_W"; then |
2824 if test -z "$CYGPATH_W"; then |
2873 do |
2887 do |
2874 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2888 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2875 set dummy $ac_prog; ac_word=$2 |
2889 set dummy $ac_prog; ac_word=$2 |
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2877 $as_echo_n "checking for $ac_word... " >&6; } |
2891 $as_echo_n "checking for $ac_word... " >&6; } |
2878 if test "${ac_cv_prog_YACC+set}" = set; then : |
2892 if ${ac_cv_prog_YACC+:} false; then : |
2879 $as_echo_n "(cached) " >&6 |
2893 $as_echo_n "(cached) " >&6 |
2880 else |
2894 else |
2881 if test -n "$YACC"; then |
2895 if test -n "$YACC"; then |
2882 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2896 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2883 else |
2897 else |
2982 if test -n "$ac_tool_prefix"; then |
2997 if test -n "$ac_tool_prefix"; then |
2983 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2998 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2984 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2999 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2986 $as_echo_n "checking for $ac_word... " >&6; } |
3001 $as_echo_n "checking for $ac_word... " >&6; } |
2987 if test "${ac_cv_prog_CC+set}" = set; then : |
3002 if ${ac_cv_prog_CC+:} false; then : |
2988 $as_echo_n "(cached) " >&6 |
3003 $as_echo_n "(cached) " >&6 |
2989 else |
3004 else |
2990 if test -n "$CC"; then |
3005 if test -n "$CC"; then |
2991 ac_cv_prog_CC="$CC" # Let the user override the test. |
3006 ac_cv_prog_CC="$CC" # Let the user override the test. |
2992 else |
3007 else |
3022 ac_ct_CC=$CC |
3037 ac_ct_CC=$CC |
3023 # Extract the first word of "gcc", so it can be a program name with args. |
3038 # Extract the first word of "gcc", so it can be a program name with args. |
3024 set dummy gcc; ac_word=$2 |
3039 set dummy gcc; ac_word=$2 |
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3026 $as_echo_n "checking for $ac_word... " >&6; } |
3041 $as_echo_n "checking for $ac_word... " >&6; } |
3027 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3042 if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3028 $as_echo_n "(cached) " >&6 |
3043 $as_echo_n "(cached) " >&6 |
3029 else |
3044 else |
3030 if test -n "$ac_ct_CC"; then |
3045 if test -n "$ac_ct_CC"; then |
3031 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3046 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3032 else |
3047 else |
3075 if test -n "$ac_tool_prefix"; then |
3090 if test -n "$ac_tool_prefix"; then |
3076 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3091 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3077 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3092 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3079 $as_echo_n "checking for $ac_word... " >&6; } |
3094 $as_echo_n "checking for $ac_word... " >&6; } |
3080 if test "${ac_cv_prog_CC+set}" = set; then : |
3095 if ${ac_cv_prog_CC+:} false; then : |
3081 $as_echo_n "(cached) " >&6 |
3096 $as_echo_n "(cached) " >&6 |
3082 else |
3097 else |
3083 if test -n "$CC"; then |
3098 if test -n "$CC"; then |
3084 ac_cv_prog_CC="$CC" # Let the user override the test. |
3099 ac_cv_prog_CC="$CC" # Let the user override the test. |
3085 else |
3100 else |
3115 if test -z "$CC"; then |
3130 if test -z "$CC"; then |
3116 # Extract the first word of "cc", so it can be a program name with args. |
3131 # Extract the first word of "cc", so it can be a program name with args. |
3117 set dummy cc; ac_word=$2 |
3132 set dummy cc; ac_word=$2 |
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3119 $as_echo_n "checking for $ac_word... " >&6; } |
3134 $as_echo_n "checking for $ac_word... " >&6; } |
3120 if test "${ac_cv_prog_CC+set}" = set; then : |
3135 if ${ac_cv_prog_CC+:} false; then : |
3121 $as_echo_n "(cached) " >&6 |
3136 $as_echo_n "(cached) " >&6 |
3122 else |
3137 else |
3123 if test -n "$CC"; then |
3138 if test -n "$CC"; then |
3124 ac_cv_prog_CC="$CC" # Let the user override the test. |
3139 ac_cv_prog_CC="$CC" # Let the user override the test. |
3125 else |
3140 else |
3174 do |
3189 do |
3175 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3190 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3176 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3191 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3178 $as_echo_n "checking for $ac_word... " >&6; } |
3193 $as_echo_n "checking for $ac_word... " >&6; } |
3179 if test "${ac_cv_prog_CC+set}" = set; then : |
3194 if ${ac_cv_prog_CC+:} false; then : |
3180 $as_echo_n "(cached) " >&6 |
3195 $as_echo_n "(cached) " >&6 |
3181 else |
3196 else |
3182 if test -n "$CC"; then |
3197 if test -n "$CC"; then |
3183 ac_cv_prog_CC="$CC" # Let the user override the test. |
3198 ac_cv_prog_CC="$CC" # Let the user override the test. |
3184 else |
3199 else |
3218 do |
3233 do |
3219 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3234 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3220 set dummy $ac_prog; ac_word=$2 |
3235 set dummy $ac_prog; ac_word=$2 |
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3222 $as_echo_n "checking for $ac_word... " >&6; } |
3237 $as_echo_n "checking for $ac_word... " >&6; } |
3223 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3238 if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3224 $as_echo_n "(cached) " >&6 |
3239 $as_echo_n "(cached) " >&6 |
3225 else |
3240 else |
3226 if test -n "$ac_ct_CC"; then |
3241 if test -n "$ac_ct_CC"; then |
3227 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3242 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3228 else |
3243 else |
3387 $as_echo "$as_me: failed program was:" >&5 |
3402 $as_echo "$as_me: failed program was:" >&5 |
3388 sed 's/^/| /' conftest.$ac_ext >&5 |
3403 sed 's/^/| /' conftest.$ac_ext >&5 |
3389 |
3404 |
3390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3405 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3392 { as_fn_set_status 77 |
3407 as_fn_error 77 "C compiler cannot create executables |
3393 as_fn_error "C compiler cannot create executables |
3408 See \`config.log' for more details" "$LINENO" 5; } |
3394 See \`config.log' for more details." "$LINENO" 5; }; } |
|
3395 else |
3409 else |
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3397 $as_echo "yes" >&6; } |
3411 $as_echo "yes" >&6; } |
3398 fi |
3412 fi |
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3431 esac |
3445 esac |
3432 done |
3446 done |
3433 else |
3447 else |
3434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3448 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3436 as_fn_error "cannot compute suffix of executables: cannot compile and link |
3450 as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3437 See \`config.log' for more details." "$LINENO" 5; } |
3451 See \`config.log' for more details" "$LINENO" 5; } |
3438 fi |
3452 fi |
3439 rm -f conftest conftest$ac_cv_exeext |
3453 rm -f conftest conftest$ac_cv_exeext |
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3441 $as_echo "$ac_cv_exeext" >&6; } |
3455 $as_echo "$ac_cv_exeext" >&6; } |
3442 |
3456 |
3489 if test "$cross_compiling" = maybe; then |
3503 if test "$cross_compiling" = maybe; then |
3490 cross_compiling=yes |
3504 cross_compiling=yes |
3491 else |
3505 else |
3492 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3506 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3494 as_fn_error "cannot run C compiled programs. |
3508 as_fn_error $? "cannot run C compiled programs. |
3495 If you meant to cross compile, use \`--host'. |
3509 If you meant to cross compile, use \`--host'. |
3496 See \`config.log' for more details." "$LINENO" 5; } |
3510 See \`config.log' for more details" "$LINENO" 5; } |
3497 fi |
3511 fi |
3498 fi |
3512 fi |
3499 fi |
3513 fi |
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3501 $as_echo "$cross_compiling" >&6; } |
3515 $as_echo "$cross_compiling" >&6; } |
3502 |
3516 |
3503 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3517 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3504 ac_clean_files=$ac_clean_files_save |
3518 ac_clean_files=$ac_clean_files_save |
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3506 $as_echo_n "checking for suffix of object files... " >&6; } |
3520 $as_echo_n "checking for suffix of object files... " >&6; } |
3507 if test "${ac_cv_objext+set}" = set; then : |
3521 if ${ac_cv_objext+:} false; then : |
3508 $as_echo_n "(cached) " >&6 |
3522 $as_echo_n "(cached) " >&6 |
3509 else |
3523 else |
3510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3511 /* end confdefs.h. */ |
3525 /* end confdefs.h. */ |
3512 |
3526 |
3542 $as_echo "$as_me: failed program was:" >&5 |
3556 $as_echo "$as_me: failed program was:" >&5 |
3543 sed 's/^/| /' conftest.$ac_ext >&5 |
3557 sed 's/^/| /' conftest.$ac_ext >&5 |
3544 |
3558 |
3545 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3559 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3546 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3560 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3547 as_fn_error "cannot compute suffix of object files: cannot compile |
3561 as_fn_error $? "cannot compute suffix of object files: cannot compile |
3548 See \`config.log' for more details." "$LINENO" 5; } |
3562 See \`config.log' for more details" "$LINENO" 5; } |
3549 fi |
3563 fi |
3550 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3564 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3551 fi |
3565 fi |
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3553 $as_echo "$ac_cv_objext" >&6; } |
3567 $as_echo "$ac_cv_objext" >&6; } |
3554 OBJEXT=$ac_cv_objext |
3568 OBJEXT=$ac_cv_objext |
3555 ac_objext=$OBJEXT |
3569 ac_objext=$OBJEXT |
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3557 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3571 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3558 if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
3572 if ${ac_cv_c_compiler_gnu+:} false; then : |
3559 $as_echo_n "(cached) " >&6 |
3573 $as_echo_n "(cached) " >&6 |
3560 else |
3574 else |
3561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3562 /* end confdefs.h. */ |
3576 /* end confdefs.h. */ |
3563 |
3577 |
3590 fi |
3604 fi |
3591 ac_test_CFLAGS=${CFLAGS+set} |
3605 ac_test_CFLAGS=${CFLAGS+set} |
3592 ac_save_CFLAGS=$CFLAGS |
3606 ac_save_CFLAGS=$CFLAGS |
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3594 $as_echo_n "checking whether $CC accepts -g... " >&6; } |
3608 $as_echo_n "checking whether $CC accepts -g... " >&6; } |
3595 if test "${ac_cv_prog_cc_g+set}" = set; then : |
3609 if ${ac_cv_prog_cc_g+:} false; then : |
3596 $as_echo_n "(cached) " >&6 |
3610 $as_echo_n "(cached) " >&6 |
3597 else |
3611 else |
3598 ac_save_c_werror_flag=$ac_c_werror_flag |
3612 ac_save_c_werror_flag=$ac_c_werror_flag |
3599 ac_c_werror_flag=yes |
3613 ac_c_werror_flag=yes |
3600 ac_cv_prog_cc_g=no |
3614 ac_cv_prog_cc_g=no |
3767 |
3781 |
3768 depcc="$CC" am_compiler_list= |
3782 depcc="$CC" am_compiler_list= |
3769 |
3783 |
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
3771 $as_echo_n "checking dependency style of $depcc... " >&6; } |
3785 $as_echo_n "checking dependency style of $depcc... " >&6; } |
3772 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : |
3786 if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
3773 $as_echo_n "(cached) " >&6 |
3787 $as_echo_n "(cached) " >&6 |
3774 else |
3788 else |
3775 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3789 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3776 # We make a subdir and do the tests there. Otherwise we can end up |
3790 # We make a subdir and do the tests there. Otherwise we can end up |
3777 # making bogus files that we don't know about and never remove. For |
3791 # making bogus files that we don't know about and never remove. For |
3778 # instance it was reported that on HP-UX the gcc test will end up |
3792 # instance it was reported that on HP-UX the gcc test will end up |
3779 # making a dummy file named `D' -- because `-MD' means `put the output |
3793 # making a dummy file named `D' -- because `-MD' means `put the output |
3780 # in D'. |
3794 # in D'. |
|
3795 rm -rf conftest.dir |
3781 mkdir conftest.dir |
3796 mkdir conftest.dir |
3782 # Copy depcomp to subdir because otherwise we won't find it if we're |
3797 # Copy depcomp to subdir because otherwise we won't find it if we're |
3783 # using a relative directory. |
3798 # using a relative directory. |
3784 cp "$am_depcomp" conftest.dir |
3799 cp "$am_depcomp" conftest.dir |
3785 cd conftest.dir |
3800 cd conftest.dir |
3897 do |
3912 do |
3898 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3913 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3899 set dummy $ac_prog; ac_word=$2 |
3914 set dummy $ac_prog; ac_word=$2 |
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3901 $as_echo_n "checking for $ac_word... " >&6; } |
3916 $as_echo_n "checking for $ac_word... " >&6; } |
3902 if test "${ac_cv_prog_LEX+set}" = set; then : |
3917 if ${ac_cv_prog_LEX+:} false; then : |
3903 $as_echo_n "(cached) " >&6 |
3918 $as_echo_n "(cached) " >&6 |
3904 else |
3919 else |
3905 if test -n "$LEX"; then |
3920 if test -n "$LEX"; then |
3906 ac_cv_prog_LEX="$LEX" # Let the user override the test. |
3921 ac_cv_prog_LEX="$LEX" # Let the user override the test. |
3907 else |
3922 else |
3967 ac_status=$? |
3982 ac_status=$? |
3968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3969 test $ac_status = 0; } |
3984 test $ac_status = 0; } |
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 |
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 |
3971 $as_echo_n "checking lex output file root... " >&6; } |
3986 $as_echo_n "checking lex output file root... " >&6; } |
3972 if test "${ac_cv_prog_lex_root+set}" = set; then : |
3987 if ${ac_cv_prog_lex_root+:} false; then : |
3973 $as_echo_n "(cached) " >&6 |
3988 $as_echo_n "(cached) " >&6 |
3974 else |
3989 else |
3975 |
3990 |
3976 if test -f lex.yy.c; then |
3991 if test -f lex.yy.c; then |
3977 ac_cv_prog_lex_root=lex.yy |
3992 ac_cv_prog_lex_root=lex.yy |
3978 elif test -f lexyy.c; then |
3993 elif test -f lexyy.c; then |
3979 ac_cv_prog_lex_root=lexyy |
3994 ac_cv_prog_lex_root=lexyy |
3980 else |
3995 else |
3981 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5 |
3996 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 |
3982 fi |
3997 fi |
3983 fi |
3998 fi |
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 |
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 |
3985 $as_echo "$ac_cv_prog_lex_root" >&6; } |
4000 $as_echo "$ac_cv_prog_lex_root" >&6; } |
3986 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
4001 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
3987 |
4002 |
3988 if test -z "${LEXLIB+set}"; then |
4003 if test -z "${LEXLIB+set}"; then |
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 |
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 |
3990 $as_echo_n "checking lex library... " >&6; } |
4005 $as_echo_n "checking lex library... " >&6; } |
3991 if test "${ac_cv_lib_lex+set}" = set; then : |
4006 if ${ac_cv_lib_lex+:} false; then : |
3992 $as_echo_n "(cached) " >&6 |
4007 $as_echo_n "(cached) " >&6 |
3993 else |
4008 else |
3994 |
4009 |
3995 ac_save_LIBS=$LIBS |
4010 ac_save_LIBS=$LIBS |
3996 ac_cv_lib_lex='none needed' |
4011 ac_cv_lib_lex='none needed' |
4016 fi |
4031 fi |
4017 |
4032 |
4018 |
4033 |
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 |
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 |
4020 $as_echo_n "checking whether yytext is a pointer... " >&6; } |
4035 $as_echo_n "checking whether yytext is a pointer... " >&6; } |
4021 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then : |
4036 if ${ac_cv_prog_lex_yytext_pointer+:} false; then : |
4022 $as_echo_n "(cached) " >&6 |
4037 $as_echo_n "(cached) " >&6 |
4023 else |
4038 else |
4024 # POSIX says lex can declare yytext either as a pointer or an array; the |
4039 # POSIX says lex can declare yytext either as a pointer or an array; the |
4025 # default is implementation-dependent. Figure out which it is, since |
4040 # default is implementation-dependent. Figure out which it is, since |
4026 # not all implementations provide the %pointer and %array declarations. |
4041 # not all implementations provide the %pointer and %array declarations. |
4027 ac_cv_prog_lex_yytext_pointer=no |
4042 ac_cv_prog_lex_yytext_pointer=no |
4028 ac_save_LIBS=$LIBS |
4043 ac_save_LIBS=$LIBS |
4029 LIBS="$LEXLIB $ac_save_LIBS" |
4044 LIBS="$LEXLIB $ac_save_LIBS" |
4030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4031 /* end confdefs.h. */ |
4046 /* end confdefs.h. */ |
4032 #define YYTEXT_POINTER 1 |
4047 |
|
4048 #define YYTEXT_POINTER 1 |
4033 `cat $LEX_OUTPUT_ROOT.c` |
4049 `cat $LEX_OUTPUT_ROOT.c` |
4034 _ACEOF |
4050 _ACEOF |
4035 if ac_fn_c_try_link "$LINENO"; then : |
4051 if ac_fn_c_try_link "$LINENO"; then : |
4036 ac_cv_prog_lex_yytext_pointer=yes |
4052 ac_cv_prog_lex_yytext_pointer=yes |
4037 fi |
4053 fi |
4064 do |
4080 do |
4065 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
4081 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
4066 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
4082 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4068 $as_echo_n "checking for $ac_word... " >&6; } |
4084 $as_echo_n "checking for $ac_word... " >&6; } |
4069 if test "${ac_cv_prog_CXX+set}" = set; then : |
4085 if ${ac_cv_prog_CXX+:} false; then : |
4070 $as_echo_n "(cached) " >&6 |
4086 $as_echo_n "(cached) " >&6 |
4071 else |
4087 else |
4072 if test -n "$CXX"; then |
4088 if test -n "$CXX"; then |
4073 ac_cv_prog_CXX="$CXX" # Let the user override the test. |
4089 ac_cv_prog_CXX="$CXX" # Let the user override the test. |
4074 else |
4090 else |
4108 do |
4124 do |
4109 # Extract the first word of "$ac_prog", so it can be a program name with args. |
4125 # Extract the first word of "$ac_prog", so it can be a program name with args. |
4110 set dummy $ac_prog; ac_word=$2 |
4126 set dummy $ac_prog; ac_word=$2 |
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4112 $as_echo_n "checking for $ac_word... " >&6; } |
4128 $as_echo_n "checking for $ac_word... " >&6; } |
4113 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : |
4129 if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
4114 $as_echo_n "(cached) " >&6 |
4130 $as_echo_n "(cached) " >&6 |
4115 else |
4131 else |
4116 if test -n "$ac_ct_CXX"; then |
4132 if test -n "$ac_ct_CXX"; then |
4117 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
4133 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
4118 else |
4134 else |
4186 test $ac_status = 0; } |
4202 test $ac_status = 0; } |
4187 done |
4203 done |
4188 |
4204 |
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
4190 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
4206 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
4191 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : |
4207 if ${ac_cv_cxx_compiler_gnu+:} false; then : |
4192 $as_echo_n "(cached) " >&6 |
4208 $as_echo_n "(cached) " >&6 |
4193 else |
4209 else |
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4195 /* end confdefs.h. */ |
4211 /* end confdefs.h. */ |
4196 |
4212 |
4223 fi |
4239 fi |
4224 ac_test_CXXFLAGS=${CXXFLAGS+set} |
4240 ac_test_CXXFLAGS=${CXXFLAGS+set} |
4225 ac_save_CXXFLAGS=$CXXFLAGS |
4241 ac_save_CXXFLAGS=$CXXFLAGS |
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
4227 $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
4243 $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
4228 if test "${ac_cv_prog_cxx_g+set}" = set; then : |
4244 if ${ac_cv_prog_cxx_g+:} false; then : |
4229 $as_echo_n "(cached) " >&6 |
4245 $as_echo_n "(cached) " >&6 |
4230 else |
4246 else |
4231 ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
4247 ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
4232 ac_cxx_werror_flag=yes |
4248 ac_cxx_werror_flag=yes |
4233 ac_cv_prog_cxx_g=no |
4249 ac_cv_prog_cxx_g=no |
4309 |
4325 |
4310 depcc="$CXX" am_compiler_list= |
4326 depcc="$CXX" am_compiler_list= |
4311 |
4327 |
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
4313 $as_echo_n "checking dependency style of $depcc... " >&6; } |
4329 $as_echo_n "checking dependency style of $depcc... " >&6; } |
4314 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : |
4330 if ${am_cv_CXX_dependencies_compiler_type+:} false; then : |
4315 $as_echo_n "(cached) " >&6 |
4331 $as_echo_n "(cached) " >&6 |
4316 else |
4332 else |
4317 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4333 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4318 # We make a subdir and do the tests there. Otherwise we can end up |
4334 # We make a subdir and do the tests there. Otherwise we can end up |
4319 # making bogus files that we don't know about and never remove. For |
4335 # making bogus files that we don't know about and never remove. For |
4320 # instance it was reported that on HP-UX the gcc test will end up |
4336 # instance it was reported that on HP-UX the gcc test will end up |
4321 # making a dummy file named `D' -- because `-MD' means `put the output |
4337 # making a dummy file named `D' -- because `-MD' means `put the output |
4322 # in D'. |
4338 # in D'. |
|
4339 rm -rf conftest.dir |
4323 mkdir conftest.dir |
4340 mkdir conftest.dir |
4324 # Copy depcomp to subdir because otherwise we won't find it if we're |
4341 # Copy depcomp to subdir because otherwise we won't find it if we're |
4325 # using a relative directory. |
4342 # using a relative directory. |
4326 cp "$am_depcomp" conftest.dir |
4343 cp "$am_depcomp" conftest.dir |
4327 cd conftest.dir |
4344 cd conftest.dir |
4448 |
4465 |
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
4450 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
4467 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
4451 set x ${MAKE-make} |
4468 set x ${MAKE-make} |
4452 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
4469 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
4453 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : |
4470 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
4454 $as_echo_n "(cached) " >&6 |
4471 $as_echo_n "(cached) " >&6 |
4455 else |
4472 else |
4456 cat >conftest.make <<\_ACEOF |
4473 cat >conftest.make <<\_ACEOF |
4457 SHELL = /bin/sh |
4474 SHELL = /bin/sh |
4458 all: |
4475 all: |
4459 @echo '@@@%%%=$(MAKE)=@@@%%%' |
4476 @echo '@@@%%%=$(MAKE)=@@@%%%' |
4460 _ACEOF |
4477 _ACEOF |
4461 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
4478 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
4462 case `${MAKE-make} -f conftest.make 2>/dev/null` in |
4479 case `${MAKE-make} -f conftest.make 2>/dev/null` in |
4463 *@@@%%%=?*=@@@%%%*) |
4480 *@@@%%%=?*=@@@%%%*) |
4464 eval ac_cv_prog_make_${ac_make}_set=yes;; |
4481 eval ac_cv_prog_make_${ac_make}_set=yes;; |
4465 *) |
4482 *) |
4466 eval ac_cv_prog_make_${ac_make}_set=no;; |
4483 eval ac_cv_prog_make_${ac_make}_set=no;; |
4480 if test -n "$ac_tool_prefix"; then |
4497 if test -n "$ac_tool_prefix"; then |
4481 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
4498 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
4482 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
4499 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4484 $as_echo_n "checking for $ac_word... " >&6; } |
4501 $as_echo_n "checking for $ac_word... " >&6; } |
4485 if test "${ac_cv_prog_RANLIB+set}" = set; then : |
4502 if ${ac_cv_prog_RANLIB+:} false; then : |
4486 $as_echo_n "(cached) " >&6 |
4503 $as_echo_n "(cached) " >&6 |
4487 else |
4504 else |
4488 if test -n "$RANLIB"; then |
4505 if test -n "$RANLIB"; then |
4489 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
4506 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
4490 else |
4507 else |
4520 ac_ct_RANLIB=$RANLIB |
4537 ac_ct_RANLIB=$RANLIB |
4521 # Extract the first word of "ranlib", so it can be a program name with args. |
4538 # Extract the first word of "ranlib", so it can be a program name with args. |
4522 set dummy ranlib; ac_word=$2 |
4539 set dummy ranlib; ac_word=$2 |
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4524 $as_echo_n "checking for $ac_word... " >&6; } |
4541 $as_echo_n "checking for $ac_word... " >&6; } |
4525 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : |
4542 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
4526 $as_echo_n "(cached) " >&6 |
4543 $as_echo_n "(cached) " >&6 |
4527 else |
4544 else |
4528 if test -n "$ac_ct_RANLIB"; then |
4545 if test -n "$ac_ct_RANLIB"; then |
4529 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
4546 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
4530 else |
4547 else |
4573 do |
4590 do |
4574 # Extract the first word of "$ac_prog", so it can be a program name with args. |
4591 # Extract the first word of "$ac_prog", so it can be a program name with args. |
4575 set dummy $ac_prog; ac_word=$2 |
4592 set dummy $ac_prog; ac_word=$2 |
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4577 $as_echo_n "checking for $ac_word... " >&6; } |
4594 $as_echo_n "checking for $ac_word... " >&6; } |
4578 if test "${ac_cv_prog_AWK+set}" = set; then : |
4595 if ${ac_cv_prog_AWK+:} false; then : |
4579 $as_echo_n "(cached) " >&6 |
4596 $as_echo_n "(cached) " >&6 |
4580 else |
4597 else |
4581 if test -n "$AWK"; then |
4598 if test -n "$AWK"; then |
4582 ac_cv_prog_AWK="$AWK" # Let the user override the test. |
4599 ac_cv_prog_AWK="$AWK" # Let the user override the test. |
4583 else |
4600 else |
4641 # On Suns, sometimes $CPP names a directory. |
4658 # On Suns, sometimes $CPP names a directory. |
4642 if test -n "$CPP" && test -d "$CPP"; then |
4659 if test -n "$CPP" && test -d "$CPP"; then |
4643 CPP= |
4660 CPP= |
4644 fi |
4661 fi |
4645 if test -z "$CPP"; then |
4662 if test -z "$CPP"; then |
4646 if test "${ac_cv_prog_CPP+set}" = set; then : |
4663 if ${ac_cv_prog_CPP+:} false; then : |
4647 $as_echo_n "(cached) " >&6 |
4664 $as_echo_n "(cached) " >&6 |
4648 else |
4665 else |
4649 # Double quotes because CPP needs to be expanded |
4666 # Double quotes because CPP needs to be expanded |
4650 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
4667 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
4651 do |
4668 do |
4746 else |
4763 else |
4747 # Passes both tests. |
4764 # Passes both tests. |
4748 ac_preproc_ok=: |
4765 ac_preproc_ok=: |
4749 break |
4766 break |
4750 fi |
4767 fi |
4751 rm -f conftest.err conftest.$ac_ext |
4768 rm -f conftest.err conftest.i conftest.$ac_ext |
4752 |
4769 |
4753 done |
4770 done |
4754 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4771 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4755 rm -f conftest.err conftest.$ac_ext |
4772 rm -f conftest.i conftest.err conftest.$ac_ext |
4756 if $ac_preproc_ok; then : |
4773 if $ac_preproc_ok; then : |
4757 |
4774 |
4758 else |
4775 else |
4759 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4776 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4760 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4777 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4761 as_fn_error "C preprocessor \"$CPP\" fails sanity check |
4778 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
4762 See \`config.log' for more details." "$LINENO" 5; } |
4779 See \`config.log' for more details" "$LINENO" 5; } |
4763 fi |
4780 fi |
4764 |
4781 |
4765 ac_ext=c |
4782 ac_ext=c |
4766 ac_cpp='$CPP $CPPFLAGS' |
4783 ac_cpp='$CPP $CPPFLAGS' |
4767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4769 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4786 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4770 |
4787 |
4771 |
4788 |
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4773 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4790 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4774 if test "${ac_cv_path_GREP+set}" = set; then : |
4791 if ${ac_cv_path_GREP+:} false; then : |
4775 $as_echo_n "(cached) " >&6 |
4792 $as_echo_n "(cached) " >&6 |
4776 else |
4793 else |
4777 if test -z "$GREP"; then |
4794 if test -z "$GREP"; then |
4778 ac_path_GREP_found=false |
4795 ac_path_GREP_found=false |
4779 # Loop through the user's path and test for each of PROGNAME-LIST |
4796 # Loop through the user's path and test for each of PROGNAME-LIST |
4832 GREP="$ac_cv_path_GREP" |
4849 GREP="$ac_cv_path_GREP" |
4833 |
4850 |
4834 |
4851 |
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4836 $as_echo_n "checking for egrep... " >&6; } |
4853 $as_echo_n "checking for egrep... " >&6; } |
4837 if test "${ac_cv_path_EGREP+set}" = set; then : |
4854 if ${ac_cv_path_EGREP+:} false; then : |
4838 $as_echo_n "(cached) " >&6 |
4855 $as_echo_n "(cached) " >&6 |
4839 else |
4856 else |
4840 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4857 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4841 then ac_cv_path_EGREP="$GREP -E" |
4858 then ac_cv_path_EGREP="$GREP -E" |
4842 else |
4859 else |
4899 EGREP="$ac_cv_path_EGREP" |
4916 EGREP="$ac_cv_path_EGREP" |
4900 |
4917 |
4901 |
4918 |
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
4903 $as_echo_n "checking for ANSI C header files... " >&6; } |
4920 $as_echo_n "checking for ANSI C header files... " >&6; } |
4904 if test "${ac_cv_header_stdc+set}" = set; then : |
4921 if ${ac_cv_header_stdc+:} false; then : |
4905 $as_echo_n "(cached) " >&6 |
4922 $as_echo_n "(cached) " >&6 |
4906 else |
4923 else |
4907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4908 /* end confdefs.h. */ |
4925 /* end confdefs.h. */ |
4909 #include <stdlib.h> |
4926 #include <stdlib.h> |
5031 |
5047 |
5032 for ac_header in float.h limits.h stdint.h stdlib.h string.h strings.h sys/timeb.h unistd.h |
5048 for ac_header in float.h limits.h stdint.h stdlib.h string.h strings.h sys/timeb.h unistd.h |
5033 do : |
5049 do : |
5034 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5050 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5035 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
5051 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
5036 eval as_val=\$$as_ac_Header |
5052 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
5037 if test "x$as_val" = x""yes; then : |
|
5038 cat >>confdefs.h <<_ACEOF |
5053 cat >>confdefs.h <<_ACEOF |
5039 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5054 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5040 _ACEOF |
5055 _ACEOF |
5041 |
5056 |
5042 fi |
5057 fi |
5045 |
5060 |
5046 |
5061 |
5047 # Checks for typedefs, structures, and compiler characteristics. |
5062 # Checks for typedefs, structures, and compiler characteristics. |
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 |
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 |
5049 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } |
5064 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } |
5050 if test "${ac_cv_header_stdbool_h+set}" = set; then : |
5065 if ${ac_cv_header_stdbool_h+:} false; then : |
5051 $as_echo_n "(cached) " >&6 |
5066 $as_echo_n "(cached) " >&6 |
5052 else |
5067 else |
5053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5054 /* end confdefs.h. */ |
5069 /* end confdefs.h. */ |
5055 |
5070 |
5077 |
5092 |
5078 char a[true == 1 ? 1 : -1]; |
5093 char a[true == 1 ? 1 : -1]; |
5079 char b[false == 0 ? 1 : -1]; |
5094 char b[false == 0 ? 1 : -1]; |
5080 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; |
5095 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; |
5081 char d[(bool) 0.5 == true ? 1 : -1]; |
5096 char d[(bool) 0.5 == true ? 1 : -1]; |
5082 bool e = &s; |
5097 /* See body of main program for 'e'. */ |
5083 char f[(_Bool) 0.0 == false ? 1 : -1]; |
5098 char f[(_Bool) 0.0 == false ? 1 : -1]; |
5084 char g[true]; |
5099 char g[true]; |
5085 char h[sizeof (_Bool)]; |
5100 char h[sizeof (_Bool)]; |
5086 char i[sizeof s.t]; |
5101 char i[sizeof s.t]; |
5087 enum { j = false, k = true, l = false * true, m = true * 256 }; |
5102 enum { j = false, k = true, l = false * true, m = true * 256 }; |
5088 /* The following fails for |
5103 /* The following fails for |
5089 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ |
5104 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ |
5090 _Bool n[m]; |
5105 _Bool n[m]; |
5091 char o[sizeof n == m * sizeof n[0] ? 1 : -1]; |
5106 char o[sizeof n == m * sizeof n[0] ? 1 : -1]; |
5092 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; |
5107 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; |
5093 # if defined __xlc__ || defined __GNUC__ |
|
5094 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 |
|
5095 reported by James Lemley on 2005-10-05; see |
|
5096 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html |
|
5097 This test is not quite right, since xlc is allowed to |
|
5098 reject this program, as the initializer for xlcbug is |
|
5099 not one of the forms that C requires support for. |
|
5100 However, doing the test right would require a runtime |
|
5101 test, and that would make cross-compilation harder. |
|
5102 Let us hope that IBM fixes the xlc bug, and also adds |
|
5103 support for this kind of constant expression. In the |
|
5104 meantime, this test will reject xlc, which is OK, since |
|
5105 our stdbool.h substitute should suffice. We also test |
|
5106 this with GCC, where it should work, to detect more |
|
5107 quickly whether someone messes up the test in the |
|
5108 future. */ |
|
5109 char digs[] = "0123456789"; |
|
5110 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); |
|
5111 # endif |
|
5112 /* Catch a bug in an HP-UX C compiler. See |
5108 /* Catch a bug in an HP-UX C compiler. See |
5113 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html |
5109 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html |
5114 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html |
5110 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html |
5115 */ |
5111 */ |
5116 _Bool q = true; |
5112 _Bool q = true; |
5138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5139 fi |
5136 fi |
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 |
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 |
5141 $as_echo "$ac_cv_header_stdbool_h" >&6; } |
5138 $as_echo "$ac_cv_header_stdbool_h" >&6; } |
5142 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" |
5139 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" |
5143 if test "x$ac_cv_type__Bool" = x""yes; then : |
5140 if test "x$ac_cv_type__Bool" = xyes; then : |
5144 |
5141 |
5145 cat >>confdefs.h <<_ACEOF |
5142 cat >>confdefs.h <<_ACEOF |
5146 #define HAVE__BOOL 1 |
5143 #define HAVE__BOOL 1 |
5147 _ACEOF |
5144 _ACEOF |
5148 |
5145 |
5298 |
5295 |
5299 # Checks for library functions. |
5296 # Checks for library functions. |
5300 for ac_header in stdlib.h |
5297 for ac_header in stdlib.h |
5301 do : |
5298 do : |
5302 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
5299 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
5303 if test "x$ac_cv_header_stdlib_h" = x""yes; then : |
5300 if test "x$ac_cv_header_stdlib_h" = xyes; then : |
5304 cat >>confdefs.h <<_ACEOF |
5301 cat >>confdefs.h <<_ACEOF |
5305 #define HAVE_STDLIB_H 1 |
5302 #define HAVE_STDLIB_H 1 |
5306 _ACEOF |
5303 _ACEOF |
5307 |
5304 |
5308 fi |
5305 fi |
5309 |
5306 |
5310 done |
5307 done |
5311 |
5308 |
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 |
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 |
5313 $as_echo_n "checking for GNU libc compatible malloc... " >&6; } |
5310 $as_echo_n "checking for GNU libc compatible malloc... " >&6; } |
5314 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then : |
5311 if ${ac_cv_func_malloc_0_nonnull+:} false; then : |
5315 $as_echo_n "(cached) " >&6 |
5312 $as_echo_n "(cached) " >&6 |
5316 else |
5313 else |
5317 if test "$cross_compiling" = yes; then : |
5314 if test "$cross_compiling" = yes; then : |
5318 ac_cv_func_malloc_0_nonnull=no |
5315 ac_cv_func_malloc_0_nonnull=no |
5319 else |
5316 else |
5364 fi |
5361 fi |
5365 |
5362 |
5366 |
5363 |
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
5368 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
5365 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
5369 if test "${ac_cv_header_time+set}" = set; then : |
5366 if ${ac_cv_header_time+:} false; then : |
5370 $as_echo_n "(cached) " >&6 |
5367 $as_echo_n "(cached) " >&6 |
5371 else |
5368 else |
5372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5373 /* end confdefs.h. */ |
5370 /* end confdefs.h. */ |
5374 #include <sys/types.h> |
5371 #include <sys/types.h> |
5479 |
5474 |
5480 static time_t time_t_max; |
5475 static time_t time_t_max; |
5481 static time_t time_t_min; |
5476 static time_t time_t_min; |
5482 |
5477 |
5483 /* Values we'll use to set the TZ environment variable. */ |
5478 /* Values we'll use to set the TZ environment variable. */ |
5484 static char *tz_strings[] = { |
5479 static const char *tz_strings[] = { |
5485 (char *) 0, "TZ=GMT0", "TZ=JST-9", |
5480 (const char *) 0, "TZ=GMT0", "TZ=JST-9", |
5486 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" |
5481 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" |
5487 }; |
5482 }; |
5488 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) |
5483 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) |
5489 |
5484 |
5490 /* Return 0 if mktime fails to convert a date in the spring-forward gap. |
5485 /* Return 0 if mktime fails to convert a date in the spring-forward gap. |
5497 |
5492 |
5498 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" |
5493 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" |
5499 instead of "TZ=America/Vancouver" in order to detect the bug even |
5494 instead of "TZ=America/Vancouver" in order to detect the bug even |
5500 on systems that don't support the Olson extension, or don't have the |
5495 on systems that don't support the Olson extension, or don't have the |
5501 full zoneinfo tables installed. */ |
5496 full zoneinfo tables installed. */ |
5502 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); |
5497 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); |
5503 |
5498 |
5504 tm.tm_year = 98; |
5499 tm.tm_year = 98; |
5505 tm.tm_mon = 3; |
5500 tm.tm_mon = 3; |
5506 tm.tm_mday = 5; |
5501 tm.tm_mday = 5; |
5507 tm.tm_hour = 2; |
5502 tm.tm_hour = 2; |
5588 |
5580 |
5589 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" |
5581 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" |
5590 instead of "TZ=America/Vancouver" in order to detect the bug even |
5582 instead of "TZ=America/Vancouver" in order to detect the bug even |
5591 on systems that don't support the Olson extension, or don't have the |
5583 on systems that don't support the Olson extension, or don't have the |
5592 full zoneinfo tables installed. */ |
5584 full zoneinfo tables installed. */ |
5593 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); |
5585 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); |
5594 |
5586 |
5595 t = mktime (&tm); |
5587 t = mktime (&tm); |
5596 |
5588 |
5597 /* Check that the result is either a failure, or close enough |
5589 /* Check that the result is either a failure, or close enough |
5598 to the correct answer that we can assume the discrepancy is |
5590 to the correct answer that we can assume the discrepancy is |
5668 fi |
5660 fi |
5669 |
5661 |
5670 for ac_header in stdlib.h |
5662 for ac_header in stdlib.h |
5671 do : |
5663 do : |
5672 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
5664 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
5673 if test "x$ac_cv_header_stdlib_h" = x""yes; then : |
5665 if test "x$ac_cv_header_stdlib_h" = xyes; then : |
5674 cat >>confdefs.h <<_ACEOF |
5666 cat >>confdefs.h <<_ACEOF |
5675 #define HAVE_STDLIB_H 1 |
5667 #define HAVE_STDLIB_H 1 |
5676 _ACEOF |
5668 _ACEOF |
5677 |
5669 |
5678 fi |
5670 fi |
5679 |
5671 |
5680 done |
5672 done |
5681 |
5673 |
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5 |
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5 |
5683 $as_echo_n "checking for GNU libc compatible realloc... " >&6; } |
5675 $as_echo_n "checking for GNU libc compatible realloc... " >&6; } |
5684 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then : |
5676 if ${ac_cv_func_realloc_0_nonnull+:} false; then : |
5685 $as_echo_n "(cached) " >&6 |
5677 $as_echo_n "(cached) " >&6 |
5686 else |
5678 else |
5687 if test "$cross_compiling" = yes; then : |
5679 if test "$cross_compiling" = yes; then : |
5688 ac_cv_func_realloc_0_nonnull=no |
5680 ac_cv_func_realloc_0_nonnull=no |
5689 else |
5681 else |
5815 t end |
5806 t end |
5816 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
5807 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
5817 :end' >>confcache |
5808 :end' >>confcache |
5818 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
5809 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
5819 if test -w "$cache_file"; then |
5810 if test -w "$cache_file"; then |
5820 test "x$cache_file" != "x/dev/null" && |
5811 if test "x$cache_file" != "x/dev/null"; then |
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
5822 $as_echo "$as_me: updating cache $cache_file" >&6;} |
5813 $as_echo "$as_me: updating cache $cache_file" >&6;} |
5823 cat confcache >$cache_file |
5814 if test ! -f "$cache_file" || test -h "$cache_file"; then |
|
5815 cat confcache >"$cache_file" |
|
5816 else |
|
5817 case $cache_file in #( |
|
5818 */* | ?:*) |
|
5819 mv -f confcache "$cache_file"$$ && |
|
5820 mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
5821 *) |
|
5822 mv -f confcache "$cache_file" ;; |
|
5823 esac |
|
5824 fi |
|
5825 fi |
5824 else |
5826 else |
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
5826 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
5828 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
5827 fi |
5829 fi |
5828 fi |
5830 fi |
5857 am__EXEEXT_TRUE='#' |
5860 am__EXEEXT_TRUE='#' |
5858 am__EXEEXT_FALSE= |
5861 am__EXEEXT_FALSE= |
5859 fi |
5862 fi |
5860 |
5863 |
5861 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
5864 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
5862 as_fn_error "conditional \"AMDEP\" was never defined. |
5865 as_fn_error $? "conditional \"AMDEP\" was never defined. |
5863 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
5866 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
5864 fi |
5867 fi |
5865 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
5868 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
5866 as_fn_error "conditional \"am__fastdepCC\" was never defined. |
5869 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
5867 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
5870 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
5868 fi |
5871 fi |
5869 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
5872 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
5870 as_fn_error "conditional \"am__fastdepCXX\" was never defined. |
5873 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. |
5871 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
5874 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
5872 fi |
5875 fi |
5873 |
5876 |
5874 : ${CONFIG_STATUS=./config.status} |
5877 : "${CONFIG_STATUS=./config.status}" |
5875 ac_write_fail=0 |
5878 ac_write_fail=0 |
5876 ac_clean_files_save=$ac_clean_files |
5879 ac_clean_files_save=$ac_clean_files |
5877 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
5880 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
5879 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
5882 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
6015 |
6019 |
6016 # CDPATH. |
6020 # CDPATH. |
6017 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
6021 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
6018 |
6022 |
6019 |
6023 |
6020 # as_fn_error ERROR [LINENO LOG_FD] |
6024 # as_fn_error STATUS ERROR [LINENO LOG_FD] |
6021 # --------------------------------- |
6025 # ---------------------------------------- |
6022 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
6026 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
6023 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
6027 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
6024 # script with status $?, using 1 if that was 0. |
6028 # script with STATUS, using 1 if that was 0. |
6025 as_fn_error () |
6029 as_fn_error () |
6026 { |
6030 { |
6027 as_status=$?; test $as_status -eq 0 && as_status=1 |
6031 as_status=$1; test $as_status -eq 0 && as_status=1 |
6028 if test "$3"; then |
6032 if test "$4"; then |
6029 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
6033 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
6030 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
6034 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
6031 fi |
6035 fi |
6032 $as_echo "$as_me: error: $1" >&2 |
6036 $as_echo "$as_me: error: $2" >&2 |
6033 as_fn_exit $as_status |
6037 as_fn_exit $as_status |
6034 } # as_fn_error |
6038 } # as_fn_error |
6035 |
6039 |
6036 |
6040 |
6037 # as_fn_set_status STATUS |
6041 # as_fn_set_status STATUS |
6277 # Save the log message, to keep $0 and so on meaningful, and to |
6281 # Save the log message, to keep $0 and so on meaningful, and to |
6278 # report actual input values of CONFIG_FILES etc. instead of their |
6282 # report actual input values of CONFIG_FILES etc. instead of their |
6279 # values after options handling. |
6283 # values after options handling. |
6280 ac_log=" |
6284 ac_log=" |
6281 This file was extended by matiec $as_me 0.1, which was |
6285 This file was extended by matiec $as_me 0.1, which was |
6282 generated by GNU Autoconf 2.65. Invocation command line was |
6286 generated by GNU Autoconf 2.68. Invocation command line was |
6283 |
6287 |
6284 CONFIG_FILES = $CONFIG_FILES |
6288 CONFIG_FILES = $CONFIG_FILES |
6285 CONFIG_HEADERS = $CONFIG_HEADERS |
6289 CONFIG_HEADERS = $CONFIG_HEADERS |
6286 CONFIG_LINKS = $CONFIG_LINKS |
6290 CONFIG_LINKS = $CONFIG_LINKS |
6287 CONFIG_COMMANDS = $CONFIG_COMMANDS |
6291 CONFIG_COMMANDS = $CONFIG_COMMANDS |
6343 _ACEOF |
6347 _ACEOF |
6344 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
6348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
6345 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
6349 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
6346 ac_cs_version="\\ |
6350 ac_cs_version="\\ |
6347 matiec config.status 0.1 |
6351 matiec config.status 0.1 |
6348 configured by $0, generated by GNU Autoconf 2.65, |
6352 configured by $0, generated by GNU Autoconf 2.68, |
6349 with options \\"\$ac_cs_config\\" |
6353 with options \\"\$ac_cs_config\\" |
6350 |
6354 |
6351 Copyright (C) 2009 Free Software Foundation, Inc. |
6355 Copyright (C) 2010 Free Software Foundation, Inc. |
6352 This config.status script is free software; the Free Software Foundation |
6356 This config.status script is free software; the Free Software Foundation |
6353 gives unlimited permission to copy, distribute and modify it." |
6357 gives unlimited permission to copy, distribute and modify it." |
6354 |
6358 |
6355 ac_pwd='$ac_pwd' |
6359 ac_pwd='$ac_pwd' |
6356 srcdir='$srcdir' |
6360 srcdir='$srcdir' |
6402 esac |
6412 esac |
6403 as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
6413 as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
6404 ac_need_defaults=false;; |
6414 ac_need_defaults=false;; |
6405 --he | --h) |
6415 --he | --h) |
6406 # Conflict between --help and --header |
6416 # Conflict between --help and --header |
6407 as_fn_error "ambiguous option: \`$1' |
6417 as_fn_error $? "ambiguous option: \`$1' |
6408 Try \`$0 --help' for more information.";; |
6418 Try \`$0 --help' for more information.";; |
6409 --help | --hel | -h ) |
6419 --help | --hel | -h ) |
6410 $as_echo "$ac_cs_usage"; exit ;; |
6420 $as_echo "$ac_cs_usage"; exit ;; |
6411 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
6421 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
6412 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
6422 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
6413 ac_cs_silent=: ;; |
6423 ac_cs_silent=: ;; |
6414 |
6424 |
6415 # This is an error. |
6425 # This is an error. |
6416 -*) as_fn_error "unrecognized option: \`$1' |
6426 -*) as_fn_error $? "unrecognized option: \`$1' |
6417 Try \`$0 --help' for more information." ;; |
6427 Try \`$0 --help' for more information." ;; |
6418 |
6428 |
6419 *) as_fn_append ac_config_targets " $1" |
6429 *) as_fn_append ac_config_targets " $1" |
6420 ac_need_defaults=false ;; |
6430 ac_need_defaults=false ;; |
6421 |
6431 |
6476 "stage3/Makefile") CONFIG_FILES="$CONFIG_FILES stage3/Makefile" ;; |
6486 "stage3/Makefile") CONFIG_FILES="$CONFIG_FILES stage3/Makefile" ;; |
6477 "stage4/Makefile") CONFIG_FILES="$CONFIG_FILES stage4/Makefile" ;; |
6487 "stage4/Makefile") CONFIG_FILES="$CONFIG_FILES stage4/Makefile" ;; |
6478 "stage4/generate_c/Makefile") CONFIG_FILES="$CONFIG_FILES stage4/generate_c/Makefile" ;; |
6488 "stage4/generate_c/Makefile") CONFIG_FILES="$CONFIG_FILES stage4/generate_c/Makefile" ;; |
6479 "stage4/generate_iec/Makefile") CONFIG_FILES="$CONFIG_FILES stage4/generate_iec/Makefile" ;; |
6489 "stage4/generate_iec/Makefile") CONFIG_FILES="$CONFIG_FILES stage4/generate_iec/Makefile" ;; |
6480 |
6490 |
6481 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
6491 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
6482 esac |
6492 esac |
6483 done |
6493 done |
6484 |
6494 |
6485 |
6495 |
6486 # If the user did not use the arguments to specify the items to instantiate, |
6496 # If the user did not use the arguments to specify the items to instantiate, |
6499 # Hook for its removal unless debugging. |
6509 # Hook for its removal unless debugging. |
6500 # Note that there is a small window in which the directory will not be cleaned: |
6510 # Note that there is a small window in which the directory will not be cleaned: |
6501 # after its creation but before its name has been assigned to `$tmp'. |
6511 # after its creation but before its name has been assigned to `$tmp'. |
6502 $debug || |
6512 $debug || |
6503 { |
6513 { |
6504 tmp= |
6514 tmp= ac_tmp= |
6505 trap 'exit_status=$? |
6515 trap 'exit_status=$? |
6506 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
6516 : "${ac_tmp:=$tmp}" |
|
6517 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
6507 ' 0 |
6518 ' 0 |
6508 trap 'as_fn_exit 1' 1 2 13 15 |
6519 trap 'as_fn_exit 1' 1 2 13 15 |
6509 } |
6520 } |
6510 # Create a (secure) tmp directory for tmp files. |
6521 # Create a (secure) tmp directory for tmp files. |
6511 |
6522 |
6512 { |
6523 { |
6513 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
6524 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
6514 test -n "$tmp" && test -d "$tmp" |
6525 test -d "$tmp" |
6515 } || |
6526 } || |
6516 { |
6527 { |
6517 tmp=./conf$$-$RANDOM |
6528 tmp=./conf$$-$RANDOM |
6518 (umask 077 && mkdir "$tmp") |
6529 (umask 077 && mkdir "$tmp") |
6519 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
6530 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
|
6531 ac_tmp=$tmp |
6520 |
6532 |
6521 # Set up the scripts for CONFIG_FILES section. |
6533 # Set up the scripts for CONFIG_FILES section. |
6522 # No need to generate them if there are no CONFIG_FILES. |
6534 # No need to generate them if there are no CONFIG_FILES. |
6523 # This happens for instance with `./config.status config.h'. |
6535 # This happens for instance with `./config.status config.h'. |
6524 if test -n "$CONFIG_FILES"; then |
6536 if test -n "$CONFIG_FILES"; then |
6531 if test "x$ac_cr" = x; then |
6543 if test "x$ac_cr" = x; then |
6532 eval ac_cr=\$\'\\r\' |
6544 eval ac_cr=\$\'\\r\' |
6533 fi |
6545 fi |
6534 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
6546 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
6535 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
6547 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
6536 ac_cs_awk_cr='\r' |
6548 ac_cs_awk_cr='\\r' |
6537 else |
6549 else |
6538 ac_cs_awk_cr=$ac_cr |
6550 ac_cs_awk_cr=$ac_cr |
6539 fi |
6551 fi |
6540 |
6552 |
6541 echo 'BEGIN {' >"$tmp/subs1.awk" && |
6553 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
6542 _ACEOF |
6554 _ACEOF |
6543 |
6555 |
6544 |
6556 |
6545 { |
6557 { |
6546 echo "cat >conf$$subs.awk <<_ACEOF" && |
6558 echo "cat >conf$$subs.awk <<_ACEOF" && |
6547 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
6559 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
6548 echo "_ACEOF" |
6560 echo "_ACEOF" |
6549 } >conf$$subs.sh || |
6561 } >conf$$subs.sh || |
6550 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
6562 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
6551 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
6563 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
6552 ac_delim='%!_!# ' |
6564 ac_delim='%!_!# ' |
6553 for ac_last_try in false false false false false :; do |
6565 for ac_last_try in false false false false false :; do |
6554 . ./conf$$subs.sh || |
6566 . ./conf$$subs.sh || |
6555 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
6567 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
6556 |
6568 |
6557 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
6569 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
6558 if test $ac_delim_n = $ac_delim_num; then |
6570 if test $ac_delim_n = $ac_delim_num; then |
6559 break |
6571 break |
6560 elif $ac_last_try; then |
6572 elif $ac_last_try; then |
6561 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
6573 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
6562 else |
6574 else |
6563 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
6575 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
6564 fi |
6576 fi |
6565 done |
6577 done |
6566 rm -f conf$$subs.sh |
6578 rm -f conf$$subs.sh |
6567 |
6579 |
6568 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
6580 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
6569 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
6581 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
6570 _ACEOF |
6582 _ACEOF |
6571 sed -n ' |
6583 sed -n ' |
6572 h |
6584 h |
6573 s/^/S["/; s/!.*/"]=/ |
6585 s/^/S["/; s/!.*/"]=/ |
6574 p |
6586 p |
6644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
6656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
6645 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
6657 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
6646 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
6658 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
6647 else |
6659 else |
6648 cat |
6660 cat |
6649 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
6661 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
6650 || as_fn_error "could not setup config files machinery" "$LINENO" 5 |
6662 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
6651 _ACEOF |
6663 _ACEOF |
6652 |
6664 |
6653 # VPATH may cause trouble with some makes, so we remove $(srcdir), |
6665 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
6654 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
6666 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
6655 # trailing colons and then remove the whole line if VPATH becomes empty |
6667 # trailing colons and then remove the whole line if VPATH becomes empty |
6656 # (actually we leave an empty line to preserve line numbers). |
6668 # (actually we leave an empty line to preserve line numbers). |
6657 if test "x$srcdir" = x.; then |
6669 if test "x$srcdir" = x.; then |
6658 ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
6670 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
6659 s/:*\$(srcdir):*/:/ |
6671 h |
6660 s/:*\${srcdir}:*/:/ |
6672 s/// |
6661 s/:*@srcdir@:*/:/ |
6673 s/^/:/ |
6662 s/^\([^=]*=[ ]*\):*/\1/ |
6674 s/[ ]*$/:/ |
|
6675 s/:\$(srcdir):/:/g |
|
6676 s/:\${srcdir}:/:/g |
|
6677 s/:@srcdir@:/:/g |
|
6678 s/^:*// |
6663 s/:*$// |
6679 s/:*$// |
|
6680 x |
|
6681 s/\(=[ ]*\).*/\1/ |
|
6682 G |
|
6683 s/\n// |
6664 s/^[^=]*=[ ]*$// |
6684 s/^[^=]*=[ ]*$// |
6665 }' |
6685 }' |
6666 fi |
6686 fi |
6667 |
6687 |
6668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
6688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
6670 |
6690 |
6671 # Set up the scripts for CONFIG_HEADERS section. |
6691 # Set up the scripts for CONFIG_HEADERS section. |
6672 # No need to generate them if there are no CONFIG_HEADERS. |
6692 # No need to generate them if there are no CONFIG_HEADERS. |
6673 # This happens for instance with `./config.status Makefile'. |
6693 # This happens for instance with `./config.status Makefile'. |
6674 if test -n "$CONFIG_HEADERS"; then |
6694 if test -n "$CONFIG_HEADERS"; then |
6675 cat >"$tmp/defines.awk" <<\_ACAWK || |
6695 cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
6676 BEGIN { |
6696 BEGIN { |
6677 _ACEOF |
6697 _ACEOF |
6678 |
6698 |
6679 # Transform confdefs.h into an awk script `defines.awk', embedded as |
6699 # Transform confdefs.h into an awk script `defines.awk', embedded as |
6680 # here-document in config.status, that substitutes the proper values into |
6700 # here-document in config.status, that substitutes the proper values into |
6682 |
6702 |
6683 # Create a delimiter string that does not exist in confdefs.h, to ease |
6703 # Create a delimiter string that does not exist in confdefs.h, to ease |
6684 # handling of long lines. |
6704 # handling of long lines. |
6685 ac_delim='%!_!# ' |
6705 ac_delim='%!_!# ' |
6686 for ac_last_try in false false :; do |
6706 for ac_last_try in false false :; do |
6687 ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
6707 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
6688 if test -z "$ac_t"; then |
6708 if test -z "$ac_tt"; then |
6689 break |
6709 break |
6690 elif $ac_last_try; then |
6710 elif $ac_last_try; then |
6691 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 |
6711 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
6692 else |
6712 else |
6693 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
6713 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
6694 fi |
6714 fi |
6695 done |
6715 done |
6696 |
6716 |
6803 :[FH]) |
6823 :[FH]) |
6804 ac_file_inputs= |
6824 ac_file_inputs= |
6805 for ac_f |
6825 for ac_f |
6806 do |
6826 do |
6807 case $ac_f in |
6827 case $ac_f in |
6808 -) ac_f="$tmp/stdin";; |
6828 -) ac_f="$ac_tmp/stdin";; |
6809 *) # Look for the file first in the build tree, then in the source tree |
6829 *) # Look for the file first in the build tree, then in the source tree |
6810 # (if the path is not absolute). The absolute path cannot be DOS-style, |
6830 # (if the path is not absolute). The absolute path cannot be DOS-style, |
6811 # because $ac_f cannot contain `:'. |
6831 # because $ac_f cannot contain `:'. |
6812 test -f "$ac_f" || |
6832 test -f "$ac_f" || |
6813 case $ac_f in |
6833 case $ac_f in |
6814 [\\/$]*) false;; |
6834 [\\/$]*) false;; |
6815 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
6835 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
6816 esac || |
6836 esac || |
6817 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
6837 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
6818 esac |
6838 esac |
6819 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
6839 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
6820 as_fn_append ac_file_inputs " '$ac_f'" |
6840 as_fn_append ac_file_inputs " '$ac_f'" |
6821 done |
6841 done |
6822 |
6842 |
6975 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
6995 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
6976 s&@INSTALL@&$ac_INSTALL&;t t |
6996 s&@INSTALL@&$ac_INSTALL&;t t |
6977 s&@MKDIR_P@&$ac_MKDIR_P&;t t |
6997 s&@MKDIR_P@&$ac_MKDIR_P&;t t |
6978 $ac_datarootdir_hack |
6998 $ac_datarootdir_hack |
6979 " |
6999 " |
6980 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
7000 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
6981 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
7001 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
6982 |
7002 |
6983 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
7003 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
6984 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
7004 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
6985 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
7005 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
|
7006 "$ac_tmp/out"`; test -z "$ac_out"; } && |
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
6987 which seems to be undefined. Please make sure it is defined." >&5 |
7008 which seems to be undefined. Please make sure it is defined" >&5 |
6988 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
7009 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
6989 which seems to be undefined. Please make sure it is defined." >&2;} |
7010 which seems to be undefined. Please make sure it is defined" >&2;} |
6990 |
7011 |
6991 rm -f "$tmp/stdin" |
7012 rm -f "$ac_tmp/stdin" |
6992 case $ac_file in |
7013 case $ac_file in |
6993 -) cat "$tmp/out" && rm -f "$tmp/out";; |
7014 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
6994 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
7015 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
6995 esac \ |
7016 esac \ |
6996 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
7017 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
6997 ;; |
7018 ;; |
6998 :H) |
7019 :H) |
6999 # |
7020 # |
7000 # CONFIG_HEADER |
7021 # CONFIG_HEADER |
7001 # |
7022 # |
7002 if test x"$ac_file" != x-; then |
7023 if test x"$ac_file" != x-; then |
7003 { |
7024 { |
7004 $as_echo "/* $configure_input */" \ |
7025 $as_echo "/* $configure_input */" \ |
7005 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
7026 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
7006 } >"$tmp/config.h" \ |
7027 } >"$ac_tmp/config.h" \ |
7007 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
7028 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
7008 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
7029 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
7010 $as_echo "$as_me: $ac_file is unchanged" >&6;} |
7031 $as_echo "$as_me: $ac_file is unchanged" >&6;} |
7011 else |
7032 else |
7012 rm -f "$ac_file" |
7033 rm -f "$ac_file" |
7013 mv "$tmp/config.h" "$ac_file" \ |
7034 mv "$ac_tmp/config.h" "$ac_file" \ |
7014 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
7035 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
7015 fi |
7036 fi |
7016 else |
7037 else |
7017 $as_echo "/* $configure_input */" \ |
7038 $as_echo "/* $configure_input */" \ |
7018 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
7039 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
7019 || as_fn_error "could not create -" "$LINENO" 5 |
7040 || as_fn_error $? "could not create -" "$LINENO" 5 |
7020 fi |
7041 fi |
7021 # Compute "$ac_file"'s index in $config_headers. |
7042 # Compute "$ac_file"'s index in $config_headers. |
7022 _am_arg="$ac_file" |
7043 _am_arg="$ac_file" |
7023 _am_stamp_count=1 |
7044 _am_stamp_count=1 |
7024 for _am_header in $config_headers :; do |
7045 for _am_header in $config_headers :; do |
7164 as_fn_exit 0 |
7185 as_fn_exit 0 |
7165 _ACEOF |
7186 _ACEOF |
7166 ac_clean_files=$ac_clean_files_save |
7187 ac_clean_files=$ac_clean_files_save |
7167 |
7188 |
7168 test $ac_write_fail = 0 || |
7189 test $ac_write_fail = 0 || |
7169 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
7190 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
7170 |
7191 |
7171 |
7192 |
7172 # configure is writing to config.log, and then calls config.status. |
7193 # configure is writing to config.log, and then calls config.status. |
7173 # config.status does its own redirection, appending to config.log. |
7194 # config.status does its own redirection, appending to config.log. |
7174 # Unfortunately, on DOS this fails, as config.log is still kept open |
7195 # Unfortunately, on DOS this fails, as config.log is still kept open |
7185 exec 5>/dev/null |
7206 exec 5>/dev/null |
7186 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
7207 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
7187 exec 5>>config.log |
7208 exec 5>>config.log |
7188 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
7209 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
7189 # would make configure fail if this is the last instruction. |
7210 # would make configure fail if this is the last instruction. |
7190 $ac_cs_success || as_fn_exit $? |
7211 $ac_cs_success || as_fn_exit 1 |
7191 fi |
7212 fi |
7192 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
7213 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
7194 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
7215 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
7195 fi |
7216 fi |