Changeset b9b41a in git
- Timestamp:
- Jun 24, 2010, 2:48:59 PM (13 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- 0a59ea4eba6667e9a97270ba5f646b4422b9352e
- Parents:
- e49c970bf24234ef845900338e0d0fc7b4656649
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2010-06-24 14:48:59+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:55:19+01:00
- Location:
- resource
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
resource/config.h.in
re49c970 rb9b41a 1 #ifndef CONFIG_H 2 #define CONFIG_H 3 4 /* Define if you have sys/param.h */ 5 #undef HAVE_SYS_PARAM_H 6 7 /* Define uname identifier as a string */ 8 #define S_UNAME "" 9 1 10 // #define assume(x) ((void) 0) 2 11 #define memcpy4 memcpy 3 12 13 #endif -
resource/configure
re49c970 rb9b41a 173 173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 174 174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" 175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 176 test \$(( 1 + 1 )) = 2 || exit 1" 176 177 if (eval "$as_required") 2>/dev/null; then : 177 178 as_have_required=yes … … 558 559 559 560 ac_unique_file="feFopen.h" 561 # Factoring default headers for most tests. 562 ac_includes_default="\ 563 #include <stdio.h> 564 #ifdef HAVE_SYS_TYPES_H 565 # include <sys/types.h> 566 #endif 567 #ifdef HAVE_SYS_STAT_H 568 # include <sys/stat.h> 569 #endif 570 #ifdef STDC_HEADERS 571 # include <stdlib.h> 572 # include <stddef.h> 573 #else 574 # ifdef HAVE_STDLIB_H 575 # include <stdlib.h> 576 # endif 577 #endif 578 #ifdef HAVE_STRING_H 579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 580 # include <memory.h> 581 # endif 582 # include <string.h> 583 #endif 584 #ifdef HAVE_STRINGS_H 585 # include <strings.h> 586 #endif 587 #ifdef HAVE_INTTYPES_H 588 # include <inttypes.h> 589 #endif 590 #ifdef HAVE_STDINT_H 591 # include <stdint.h> 592 #endif 593 #ifdef HAVE_UNISTD_H 594 # include <unistd.h> 595 #endif" 596 560 597 ac_subst_vars='LTLIBOBJS 561 598 LIBOBJS 599 SINGUNAME 600 EGREP 601 GREP 602 CPP 562 603 INSTALL_DATA 563 604 INSTALL_SCRIPT … … 626 667 CXX 627 668 CXXFLAGS 628 CCC' 669 CCC 670 CPP' 629 671 630 672 … … 1244 1286 CXX C++ compiler command 1245 1287 CXXFLAGS C++ compiler flags 1288 CPP C preprocessor 1246 1289 1247 1290 Use these variables to override the choices made by `configure' or to help … … 1400 1443 1401 1444 } # ac_fn_cxx_try_compile 1445 1446 # ac_fn_c_try_cpp LINENO 1447 # ---------------------- 1448 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1449 ac_fn_c_try_cpp () 1450 { 1451 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1452 if { { ac_try="$ac_cpp conftest.$ac_ext" 1453 case "(($ac_try" in 1454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1455 *) ac_try_echo=$ac_try;; 1456 esac 1457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1458 $as_echo "$ac_try_echo"; } >&5 1459 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1460 ac_status=$? 1461 if test -s conftest.err; then 1462 grep -v '^ *+' conftest.err >conftest.er1 1463 cat conftest.er1 >&5 1464 mv -f conftest.er1 conftest.err 1465 fi 1466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1467 test $ac_status = 0; } >/dev/null && { 1468 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1469 test ! -s conftest.err 1470 }; then : 1471 ac_retval=0 1472 else 1473 $as_echo "$as_me: failed program was:" >&5 1474 sed 's/^/| /' conftest.$ac_ext >&5 1475 1476 ac_retval=1 1477 fi 1478 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1479 as_fn_set_status $ac_retval 1480 1481 } # ac_fn_c_try_cpp 1482 1483 # ac_fn_c_try_run LINENO 1484 # ---------------------- 1485 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1486 # that executables *can* be run. 1487 ac_fn_c_try_run () 1488 { 1489 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1490 if { { ac_try="$ac_link" 1491 case "(($ac_try" in 1492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1493 *) ac_try_echo=$ac_try;; 1494 esac 1495 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1496 $as_echo "$ac_try_echo"; } >&5 1497 (eval "$ac_link") 2>&5 1498 ac_status=$? 1499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1500 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1501 { { case "(($ac_try" in 1502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1503 *) ac_try_echo=$ac_try;; 1504 esac 1505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1506 $as_echo "$ac_try_echo"; } >&5 1507 (eval "$ac_try") 2>&5 1508 ac_status=$? 1509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1510 test $ac_status = 0; }; }; then : 1511 ac_retval=0 1512 else 1513 $as_echo "$as_me: program exited with status $ac_status" >&5 1514 $as_echo "$as_me: failed program was:" >&5 1515 sed 's/^/| /' conftest.$ac_ext >&5 1516 1517 ac_retval=$ac_status 1518 fi 1519 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1520 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1521 as_fn_set_status $ac_retval 1522 1523 } # ac_fn_c_try_run 1524 1525 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1526 # ------------------------------------------------------- 1527 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1528 # the include files in INCLUDES and setting the cache variable VAR 1529 # accordingly. 1530 ac_fn_c_check_header_mongrel () 1531 { 1532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1533 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1535 $as_echo_n "checking for $2... " >&6; } 1536 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1537 $as_echo_n "(cached) " >&6 1538 fi 1539 eval ac_res=\$$3 1540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1541 $as_echo "$ac_res" >&6; } 1542 else 1543 # Is the header compilable? 1544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1545 $as_echo_n "checking $2 usability... " >&6; } 1546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1547 /* end confdefs.h. */ 1548 $4 1549 #include <$2> 1550 _ACEOF 1551 if ac_fn_c_try_compile "$LINENO"; then : 1552 ac_header_compiler=yes 1553 else 1554 ac_header_compiler=no 1555 fi 1556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1558 $as_echo "$ac_header_compiler" >&6; } 1559 1560 # Is the header present? 1561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1562 $as_echo_n "checking $2 presence... " >&6; } 1563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1564 /* end confdefs.h. */ 1565 #include <$2> 1566 _ACEOF 1567 if ac_fn_c_try_cpp "$LINENO"; then : 1568 ac_header_preproc=yes 1569 else 1570 ac_header_preproc=no 1571 fi 1572 rm -f conftest.err conftest.$ac_ext 1573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1574 $as_echo "$ac_header_preproc" >&6; } 1575 1576 # So? What about this header? 1577 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1578 yes:no: ) 1579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1580 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1582 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1583 ;; 1584 no:yes:* ) 1585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1586 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1588 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1590 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1592 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1594 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1595 ( cat <<\_ASBOX 1596 ## --------------------------------- ## 1597 ## Report this to BUG-REPORT-ADDRESS ## 1598 ## --------------------------------- ## 1599 _ASBOX 1600 ) | sed "s/^/$as_me: WARNING: /" >&2 1601 ;; 1602 esac 1603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1604 $as_echo_n "checking for $2... " >&6; } 1605 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1606 $as_echo_n "(cached) " >&6 1607 else 1608 eval "$3=\$ac_header_compiler" 1609 fi 1610 eval ac_res=\$$3 1611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1612 $as_echo "$ac_res" >&6; } 1613 fi 1614 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1615 1616 } # ac_fn_c_check_header_mongrel 1617 1618 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1619 # ------------------------------------------------------- 1620 # Tests whether HEADER exists and can be compiled using the include files in 1621 # INCLUDES, setting the cache variable VAR accordingly. 1622 ac_fn_c_check_header_compile () 1623 { 1624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1626 $as_echo_n "checking for $2... " >&6; } 1627 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1628 $as_echo_n "(cached) " >&6 1629 else 1630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1631 /* end confdefs.h. */ 1632 $4 1633 #include <$2> 1634 _ACEOF 1635 if ac_fn_c_try_compile "$LINENO"; then : 1636 eval "$3=yes" 1637 else 1638 eval "$3=no" 1639 fi 1640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1641 fi 1642 eval ac_res=\$$3 1643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1644 $as_echo "$ac_res" >&6; } 1645 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1646 1647 } # ac_fn_c_check_header_compile 1402 1648 cat >config.log <<_ACEOF 1403 1649 This file contains any messages produced by compilers while … … 2934 3180 # Checks for libraries. 2935 3181 3182 # Checks for header files. 3183 3184 ac_ext=c 3185 ac_cpp='$CPP $CPPFLAGS' 3186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3188 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3190 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3191 # On Suns, sometimes $CPP names a directory. 3192 if test -n "$CPP" && test -d "$CPP"; then 3193 CPP= 3194 fi 3195 if test -z "$CPP"; then 3196 if test "${ac_cv_prog_CPP+set}" = set; then : 3197 $as_echo_n "(cached) " >&6 3198 else 3199 # Double quotes because CPP needs to be expanded 3200 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3201 do 3202 ac_preproc_ok=false 3203 for ac_c_preproc_warn_flag in '' yes 3204 do 3205 # Use a header file that comes with gcc, so configuring glibc 3206 # with a fresh cross-compiler works. 3207 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3208 # <limits.h> exists even on freestanding compilers. 3209 # On the NeXT, cc -E runs the code through the compiler's parser, 3210 # not just through cpp. "Syntax error" is here to catch this case. 3211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3212 /* end confdefs.h. */ 3213 #ifdef __STDC__ 3214 # include <limits.h> 3215 #else 3216 # include <assert.h> 3217 #endif 3218 Syntax error 3219 _ACEOF 3220 if ac_fn_c_try_cpp "$LINENO"; then : 3221 3222 else 3223 # Broken: fails on valid input. 3224 continue 3225 fi 3226 rm -f conftest.err conftest.$ac_ext 3227 3228 # OK, works on sane cases. Now check whether nonexistent headers 3229 # can be detected and how. 3230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3231 /* end confdefs.h. */ 3232 #include <ac_nonexistent.h> 3233 _ACEOF 3234 if ac_fn_c_try_cpp "$LINENO"; then : 3235 # Broken: success on invalid input. 3236 continue 3237 else 3238 # Passes both tests. 3239 ac_preproc_ok=: 3240 break 3241 fi 3242 rm -f conftest.err conftest.$ac_ext 3243 3244 done 3245 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3246 rm -f conftest.err conftest.$ac_ext 3247 if $ac_preproc_ok; then : 3248 break 3249 fi 3250 3251 done 3252 ac_cv_prog_CPP=$CPP 3253 3254 fi 3255 CPP=$ac_cv_prog_CPP 3256 else 3257 ac_cv_prog_CPP=$CPP 3258 fi 3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3260 $as_echo "$CPP" >&6; } 3261 ac_preproc_ok=false 3262 for ac_c_preproc_warn_flag in '' yes 3263 do 3264 # Use a header file that comes with gcc, so configuring glibc 3265 # with a fresh cross-compiler works. 3266 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3267 # <limits.h> exists even on freestanding compilers. 3268 # On the NeXT, cc -E runs the code through the compiler's parser, 3269 # not just through cpp. "Syntax error" is here to catch this case. 3270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3271 /* end confdefs.h. */ 3272 #ifdef __STDC__ 3273 # include <limits.h> 3274 #else 3275 # include <assert.h> 3276 #endif 3277 Syntax error 3278 _ACEOF 3279 if ac_fn_c_try_cpp "$LINENO"; then : 3280 3281 else 3282 # Broken: fails on valid input. 3283 continue 3284 fi 3285 rm -f conftest.err conftest.$ac_ext 3286 3287 # OK, works on sane cases. Now check whether nonexistent headers 3288 # can be detected and how. 3289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3290 /* end confdefs.h. */ 3291 #include <ac_nonexistent.h> 3292 _ACEOF 3293 if ac_fn_c_try_cpp "$LINENO"; then : 3294 # Broken: success on invalid input. 3295 continue 3296 else 3297 # Passes both tests. 3298 ac_preproc_ok=: 3299 break 3300 fi 3301 rm -f conftest.err conftest.$ac_ext 3302 3303 done 3304 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3305 rm -f conftest.err conftest.$ac_ext 3306 if $ac_preproc_ok; then : 3307 3308 else 3309 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3311 as_fn_error "C preprocessor \"$CPP\" fails sanity check 3312 See \`config.log' for more details." "$LINENO" 5; } 3313 fi 3314 3315 ac_ext=c 3316 ac_cpp='$CPP $CPPFLAGS' 3317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3319 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3320 3321 3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3323 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3324 if test "${ac_cv_path_GREP+set}" = set; then : 3325 $as_echo_n "(cached) " >&6 3326 else 3327 if test -z "$GREP"; then 3328 ac_path_GREP_found=false 3329 # Loop through the user's path and test for each of PROGNAME-LIST 3330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3331 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3332 do 3333 IFS=$as_save_IFS 3334 test -z "$as_dir" && as_dir=. 3335 for ac_prog in grep ggrep; do 3336 for ac_exec_ext in '' $ac_executable_extensions; do 3337 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3338 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3339 # Check for GNU ac_path_GREP and select it if it is found. 3340 # Check for GNU $ac_path_GREP 3341 case `"$ac_path_GREP" --version 2>&1` in 3342 *GNU*) 3343 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3344 *) 3345 ac_count=0 3346 $as_echo_n 0123456789 >"conftest.in" 3347 while : 3348 do 3349 cat "conftest.in" "conftest.in" >"conftest.tmp" 3350 mv "conftest.tmp" "conftest.in" 3351 cp "conftest.in" "conftest.nl" 3352 $as_echo 'GREP' >> "conftest.nl" 3353 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3354 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3355 as_fn_arith $ac_count + 1 && ac_count=$as_val 3356 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3357 # Best one so far, save it but keep looking for a better one 3358 ac_cv_path_GREP="$ac_path_GREP" 3359 ac_path_GREP_max=$ac_count 3360 fi 3361 # 10*(2^10) chars as input seems more than enough 3362 test $ac_count -gt 10 && break 3363 done 3364 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3365 esac 3366 3367 $ac_path_GREP_found && break 3 3368 done 3369 done 3370 done 3371 IFS=$as_save_IFS 3372 if test -z "$ac_cv_path_GREP"; then 3373 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3374 fi 3375 else 3376 ac_cv_path_GREP=$GREP 3377 fi 3378 3379 fi 3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3381 $as_echo "$ac_cv_path_GREP" >&6; } 3382 GREP="$ac_cv_path_GREP" 3383 3384 3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3386 $as_echo_n "checking for egrep... " >&6; } 3387 if test "${ac_cv_path_EGREP+set}" = set; then : 3388 $as_echo_n "(cached) " >&6 3389 else 3390 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3391 then ac_cv_path_EGREP="$GREP -E" 3392 else 3393 if test -z "$EGREP"; then 3394 ac_path_EGREP_found=false 3395 # Loop through the user's path and test for each of PROGNAME-LIST 3396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3397 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3398 do 3399 IFS=$as_save_IFS 3400 test -z "$as_dir" && as_dir=. 3401 for ac_prog in egrep; do 3402 for ac_exec_ext in '' $ac_executable_extensions; do 3403 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3404 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3405 # Check for GNU ac_path_EGREP and select it if it is found. 3406 # Check for GNU $ac_path_EGREP 3407 case `"$ac_path_EGREP" --version 2>&1` in 3408 *GNU*) 3409 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3410 *) 3411 ac_count=0 3412 $as_echo_n 0123456789 >"conftest.in" 3413 while : 3414 do 3415 cat "conftest.in" "conftest.in" >"conftest.tmp" 3416 mv "conftest.tmp" "conftest.in" 3417 cp "conftest.in" "conftest.nl" 3418 $as_echo 'EGREP' >> "conftest.nl" 3419 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3420 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3421 as_fn_arith $ac_count + 1 && ac_count=$as_val 3422 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3423 # Best one so far, save it but keep looking for a better one 3424 ac_cv_path_EGREP="$ac_path_EGREP" 3425 ac_path_EGREP_max=$ac_count 3426 fi 3427 # 10*(2^10) chars as input seems more than enough 3428 test $ac_count -gt 10 && break 3429 done 3430 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3431 esac 3432 3433 $ac_path_EGREP_found && break 3 3434 done 3435 done 3436 done 3437 IFS=$as_save_IFS 3438 if test -z "$ac_cv_path_EGREP"; then 3439 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3440 fi 3441 else 3442 ac_cv_path_EGREP=$EGREP 3443 fi 3444 3445 fi 3446 fi 3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3448 $as_echo "$ac_cv_path_EGREP" >&6; } 3449 EGREP="$ac_cv_path_EGREP" 3450 3451 3452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3453 $as_echo_n "checking for ANSI C header files... " >&6; } 3454 if test "${ac_cv_header_stdc+set}" = set; then : 3455 $as_echo_n "(cached) " >&6 3456 else 3457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3458 /* end confdefs.h. */ 3459 #include <stdlib.h> 3460 #include <stdarg.h> 3461 #include <string.h> 3462 #include <float.h> 3463 3464 int 3465 main () 3466 { 3467 3468 ; 3469 return 0; 3470 } 3471 _ACEOF 3472 if ac_fn_c_try_compile "$LINENO"; then : 3473 ac_cv_header_stdc=yes 3474 else 3475 ac_cv_header_stdc=no 3476 fi 3477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3478 3479 if test $ac_cv_header_stdc = yes; then 3480 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3482 /* end confdefs.h. */ 3483 #include <string.h> 3484 3485 _ACEOF 3486 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3487 $EGREP "memchr" >/dev/null 2>&1; then : 3488 3489 else 3490 ac_cv_header_stdc=no 3491 fi 3492 rm -f conftest* 3493 3494 fi 3495 3496 if test $ac_cv_header_stdc = yes; then 3497 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3499 /* end confdefs.h. */ 3500 #include <stdlib.h> 3501 3502 _ACEOF 3503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3504 $EGREP "free" >/dev/null 2>&1; then : 3505 3506 else 3507 ac_cv_header_stdc=no 3508 fi 3509 rm -f conftest* 3510 3511 fi 3512 3513 if test $ac_cv_header_stdc = yes; then 3514 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3515 if test "$cross_compiling" = yes; then : 3516 : 3517 else 3518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3519 /* end confdefs.h. */ 3520 #include <ctype.h> 3521 #include <stdlib.h> 3522 #if ((' ' & 0x0FF) == 0x020) 3523 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3524 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3525 #else 3526 # define ISLOWER(c) \ 3527 (('a' <= (c) && (c) <= 'i') \ 3528 || ('j' <= (c) && (c) <= 'r') \ 3529 || ('s' <= (c) && (c) <= 'z')) 3530 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3531 #endif 3532 3533 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3534 int 3535 main () 3536 { 3537 int i; 3538 for (i = 0; i < 256; i++) 3539 if (XOR (islower (i), ISLOWER (i)) 3540 || toupper (i) != TOUPPER (i)) 3541 return 2; 3542 return 0; 3543 } 3544 _ACEOF 3545 if ac_fn_c_try_run "$LINENO"; then : 3546 3547 else 3548 ac_cv_header_stdc=no 3549 fi 3550 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3551 conftest.$ac_objext conftest.beam conftest.$ac_ext 3552 fi 3553 3554 fi 3555 fi 3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3557 $as_echo "$ac_cv_header_stdc" >&6; } 3558 if test $ac_cv_header_stdc = yes; then 3559 3560 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 3561 3562 fi 3563 3564 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3565 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3566 inttypes.h stdint.h unistd.h 3567 do : 3568 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3569 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3570 " 3571 eval as_val=\$$as_ac_Header 3572 if test "x$as_val" = x""yes; then : 3573 cat >>confdefs.h <<_ACEOF 3574 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3575 _ACEOF 3576 3577 fi 3578 3579 done 3580 3581 3582 for ac_header in sys/param.h 3583 do : 3584 ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default" 3585 if test "x$ac_cv_header_sys_param_h" = x""yes; then : 3586 cat >>confdefs.h <<_ACEOF 3587 #define HAVE_SYS_PARAM_H 1 3588 _ACEOF 3589 3590 fi 3591 3592 done 3593 3594 2936 3595 # Checks for typedefs, structures, and compiler characteristics. 2937 2938 3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 2939 3597 $as_echo_n "checking for inline... " >&6; } … … 2977 3635 ;; 2978 3636 esac 3637 3638 3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_singuname" >&5 3640 $as_echo "$ac_cv_singuname" >&6; } 3641 if test "$ac_cv_singuname" = unknown; then 3642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unknown architecture: Check singuname.sh" >&5 3643 $as_echo "$as_me: WARNING: Unknown architecture: Check singuname.sh" >&2;} 3644 ac_cv_singuname="unknown" 3645 fi 3646 cat >>confdefs.h <<_ACEOF 3647 #define S_UNAME "$ac_cv_singuname" 3648 _ACEOF 3649 3650 SINGUNAME=$ac_cv_singuname 2979 3651 2980 3652 -
resource/configure.ac
re49c970 rb9b41a 15 15 # Checks for libraries. 16 16 17 # Checks for header files. 18 AC_HEADER_STDC 19 AC_CHECK_HEADERS([sys/param.h]) 20 17 21 # Checks for typedefs, structures, and compiler characteristics. 18 22 AC_C_INLINE 19 23 24 AC_MSG_RESULT($ac_cv_singuname) 25 if test "$ac_cv_singuname" = unknown; then 26 AC_MSG_WARN(Unknown architecture: Check singuname.sh) 27 ac_cv_singuname="unknown" 28 fi 29 AC_DEFINE_UNQUOTED(S_UNAME, "$ac_cv_singuname") 30 SINGUNAME=$ac_cv_singuname 31 AC_SUBST(SINGUNAME) 32 20 33 AC_CONFIG_FILES([Makefile]) 21 34 AC_OUTPUT -
resource/feFopen.cc
re49c970 rb9b41a 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 #include <sys/types.h> 5 #include <sys/stat.h> 6 #include <unistd.h> 7 8 #include <auxiliary.h> 9 10 #include <omalloc.h> 11 #include <reporter.h> 12 #include "feFopen.h" 13 #include "feResource.h" 14 15 /* define MAXPATHLEN */ 16 #ifdef HAVE_SYS_PARAM_H 17 #include <sys/param.h> 18 #endif 19 #ifndef MAXPATHLEN 20 #define MAXPATHLEN 1024 21 #endif 22 23 24 #define DIR_SEP '/' 25 #define DIR_SEPP "/" 26 27 char fePathSep = 28 /* not reallay cygwin, applies to all windows systems:*/ 29 #if defined(CYGWIN) 30 ';' 31 #else 32 ':' 33 #endif 34 ; 35 1 36 2 37 /***************************************************************** -
resource/feResource.cc
re49c970 rb9b41a 11 11 #include <string.h> 12 12 13 #include <kernel/mod2.h> 13 #include <auxiliary.h> 14 15 #include "config.h" 14 16 #ifdef AIX_4 15 17 #define HAVE_PUTENV 1 … … 21 23 22 24 23 #include "../Singular/distrib.h" 24 #include "dError.h" 25 #include <reporter.h> 25 26 #if !defined(ESINGULAR) && !defined(TSINGULAR) 26 #include <kernel/febase.h> 27 #include <omalloc/omalloc.h> 27 #include <omalloc.h> 28 28 #else 29 29 char* feResource(const char id, int warn = -1); 30 30 char* feResource(const char* key, int warn = -1); 31 #include <kernel/dError.c>32 31 #endif 33 32
Note: See TracChangeset
for help on using the changeset viewer.