Changeset b9b41a in git


Ignore:
Timestamp:
Jun 24, 2010, 2:48:59 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
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
Message:
definies for feResource
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
    110// #define assume(x) ((void) 0)
    211#define memcpy4 memcpy
    312
     13#endif
  • resource/configure

    re49c970 rb9b41a  
    173173  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    174174  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
     176test \$(( 1 + 1 )) = 2 || exit 1"
    176177  if (eval "$as_required") 2>/dev/null; then :
    177178  as_have_required=yes
     
    558559
    559560ac_unique_file="feFopen.h"
     561# Factoring default headers for most tests.
     562ac_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
    560597ac_subst_vars='LTLIBOBJS
    561598LIBOBJS
     599SINGUNAME
     600EGREP
     601GREP
     602CPP
    562603INSTALL_DATA
    563604INSTALL_SCRIPT
     
    626667CXX
    627668CXXFLAGS
    628 CCC'
     669CCC
     670CPP'
    629671
    630672
     
    12441286  CXX         C++ compiler command
    12451287  CXXFLAGS    C++ compiler flags
     1288  CPP         C preprocessor
    12461289
    12471290Use these variables to override the choices made by `configure' or to help
     
    14001443
    14011444} # 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.
     1449ac_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"
     1453case "(($ac_try" in
     1454  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1455  *) ac_try_echo=$ac_try;;
     1456esac
     1457eval 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
     1472else
     1473  $as_echo "$as_me: failed program was:" >&5
     1474sed 's/^/| /' conftest.$ac_ext >&5
     1475
     1476    ac_retval=1
     1477fi
     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.
     1487ac_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"
     1491case "(($ac_try" in
     1492  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1493  *) ac_try_echo=$ac_try;;
     1494esac
     1495eval 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;;
     1504esac
     1505eval 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
     1512else
     1513  $as_echo "$as_me: program exited with status $ac_status" >&5
     1514       $as_echo "$as_me: failed program was:" >&5
     1515sed 's/^/| /' conftest.$ac_ext >&5
     1516
     1517       ac_retval=$ac_status
     1518fi
     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.
     1530ac_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; }
     1536if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1537  $as_echo_n "(cached) " >&6
     1538fi
     1539eval ac_res=\$$3
     1540               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1541$as_echo "$ac_res" >&6; }
     1542else
     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; }
     1546cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1547/* end confdefs.h.  */
     1548$4
     1549#include <$2>
     1550_ACEOF
     1551if ac_fn_c_try_compile "$LINENO"; then :
     1552  ac_header_compiler=yes
     1553else
     1554  ac_header_compiler=no
     1555fi
     1556rm -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; }
     1563cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1564/* end confdefs.h.  */
     1565#include <$2>
     1566_ACEOF
     1567if ac_fn_c_try_cpp "$LINENO"; then :
     1568  ac_header_preproc=yes
     1569else
     1570  ac_header_preproc=no
     1571fi
     1572rm -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?
     1577case $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    ;;
     1602esac
     1603  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1604$as_echo_n "checking for $2... " >&6; }
     1605if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1606  $as_echo_n "(cached) " >&6
     1607else
     1608  eval "$3=\$ac_header_compiler"
     1609fi
     1610eval ac_res=\$$3
     1611               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1612$as_echo "$ac_res" >&6; }
     1613fi
     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.
     1622ac_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; }
     1627if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1628  $as_echo_n "(cached) " >&6
     1629else
     1630  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1631/* end confdefs.h.  */
     1632$4
     1633#include <$2>
     1634_ACEOF
     1635if ac_fn_c_try_compile "$LINENO"; then :
     1636  eval "$3=yes"
     1637else
     1638  eval "$3=no"
     1639fi
     1640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1641fi
     1642eval 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
    14021648cat >config.log <<_ACEOF
    14031649This file contains any messages produced by compilers while
     
    29343180# Checks for libraries.
    29353181
     3182# Checks for header files.
     3183
     3184ac_ext=c
     3185ac_cpp='$CPP $CPPFLAGS'
     3186ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3187ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3188ac_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.
     3192if test -n "$CPP" && test -d "$CPP"; then
     3193  CPP=
     3194fi
     3195if test -z "$CPP"; then
     3196  if test "${ac_cv_prog_CPP+set}" = set; then :
     3197  $as_echo_n "(cached) " >&6
     3198else
     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
     3203for ac_c_preproc_warn_flag in '' yes
     3204do
     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
     3220if ac_fn_c_try_cpp "$LINENO"; then :
     3221
     3222else
     3223  # Broken: fails on valid input.
     3224continue
     3225fi
     3226rm -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
     3234if ac_fn_c_try_cpp "$LINENO"; then :
     3235  # Broken: success on invalid input.
     3236continue
     3237else
     3238  # Passes both tests.
     3239ac_preproc_ok=:
     3240break
     3241fi
     3242rm -f conftest.err conftest.$ac_ext
     3243
     3244done
     3245# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     3246rm -f conftest.err conftest.$ac_ext
     3247if $ac_preproc_ok; then :
     3248  break
     3249fi
     3250
     3251    done
     3252    ac_cv_prog_CPP=$CPP
     3253
     3254fi
     3255  CPP=$ac_cv_prog_CPP
     3256else
     3257  ac_cv_prog_CPP=$CPP
     3258fi
     3259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     3260$as_echo "$CPP" >&6; }
     3261ac_preproc_ok=false
     3262for ac_c_preproc_warn_flag in '' yes
     3263do
     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
     3279if ac_fn_c_try_cpp "$LINENO"; then :
     3280
     3281else
     3282  # Broken: fails on valid input.
     3283continue
     3284fi
     3285rm -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
     3293if ac_fn_c_try_cpp "$LINENO"; then :
     3294  # Broken: success on invalid input.
     3295continue
     3296else
     3297  # Passes both tests.
     3298ac_preproc_ok=:
     3299break
     3300fi
     3301rm -f conftest.err conftest.$ac_ext
     3302
     3303done
     3304# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     3305rm -f conftest.err conftest.$ac_ext
     3306if $ac_preproc_ok; then :
     3307
     3308else
     3309  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3310$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3311as_fn_error "C preprocessor \"$CPP\" fails sanity check
     3312See \`config.log' for more details." "$LINENO" 5; }
     3313fi
     3314
     3315ac_ext=c
     3316ac_cpp='$CPP $CPPFLAGS'
     3317ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3318ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3319ac_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; }
     3324if test "${ac_cv_path_GREP+set}" = set; then :
     3325  $as_echo_n "(cached) " >&6
     3326else
     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
     3331for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     3332do
     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
     3341case `"$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;;
     3365esac
     3366
     3367      $ac_path_GREP_found && break 3
     3368    done
     3369  done
     3370  done
     3371IFS=$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
     3375else
     3376  ac_cv_path_GREP=$GREP
     3377fi
     3378
     3379fi
     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; }
     3387if test "${ac_cv_path_EGREP+set}" = set; then :
     3388  $as_echo_n "(cached) " >&6
     3389else
     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
     3397for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     3398do
     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
     3407case `"$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;;
     3431esac
     3432
     3433      $ac_path_EGREP_found && break 3
     3434    done
     3435  done
     3436  done
     3437IFS=$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
     3441else
     3442  ac_cv_path_EGREP=$EGREP
     3443fi
     3444
     3445   fi
     3446fi
     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; }
     3454if test "${ac_cv_header_stdc+set}" = set; then :
     3455  $as_echo_n "(cached) " >&6
     3456else
     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
     3464int
     3465main ()
     3466{
     3467
     3468  ;
     3469  return 0;
     3470}
     3471_ACEOF
     3472if ac_fn_c_try_compile "$LINENO"; then :
     3473  ac_cv_header_stdc=yes
     3474else
     3475  ac_cv_header_stdc=no
     3476fi
     3477rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3478
     3479if 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
     3486if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     3487  $EGREP "memchr" >/dev/null 2>&1; then :
     3488
     3489else
     3490  ac_cv_header_stdc=no
     3491fi
     3492rm -f conftest*
     3493
     3494fi
     3495
     3496if 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
     3503if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     3504  $EGREP "free" >/dev/null 2>&1; then :
     3505
     3506else
     3507  ac_cv_header_stdc=no
     3508fi
     3509rm -f conftest*
     3510
     3511fi
     3512
     3513if 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  :
     3517else
     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)))
     3534int
     3535main ()
     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
     3545if ac_fn_c_try_run "$LINENO"; then :
     3546
     3547else
     3548  ac_cv_header_stdc=no
     3549fi
     3550rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     3551  conftest.$ac_objext conftest.beam conftest.$ac_ext
     3552fi
     3553
     3554fi
     3555fi
     3556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     3557$as_echo "$ac_cv_header_stdc" >&6; }
     3558if test $ac_cv_header_stdc = yes; then
     3559
     3560$as_echo "#define STDC_HEADERS 1" >>confdefs.h
     3561
     3562fi
     3563
     3564# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     3565for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     3566                  inttypes.h stdint.h unistd.h
     3567do :
     3568  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3569ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     3570"
     3571eval 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
     3577fi
     3578
     3579done
     3580
     3581
     3582for ac_header in sys/param.h
     3583do :
     3584  ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
     3585if 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
     3590fi
     3591
     3592done
     3593
     3594
    29363595# Checks for typedefs, structures, and compiler characteristics.
    2937 
    29383596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
    29393597$as_echo_n "checking for inline... " >&6; }
     
    29773635    ;;
    29783636esac
     3637
     3638
     3639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_singuname" >&5
     3640$as_echo "$ac_cv_singuname" >&6; }
     3641if 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"
     3645fi
     3646cat >>confdefs.h <<_ACEOF
     3647#define S_UNAME "$ac_cv_singuname"
     3648_ACEOF
     3649
     3650SINGUNAME=$ac_cv_singuname
    29793651
    29803652
  • resource/configure.ac

    re49c970 rb9b41a  
    1515# Checks for libraries.
    1616
     17# Checks for header files.
     18AC_HEADER_STDC
     19AC_CHECK_HEADERS([sys/param.h])
     20
    1721# Checks for typedefs, structures, and compiler characteristics.
    1822AC_C_INLINE
    1923
     24AC_MSG_RESULT($ac_cv_singuname)
     25if test "$ac_cv_singuname" = unknown; then
     26  AC_MSG_WARN(Unknown architecture: Check singuname.sh)
     27  ac_cv_singuname="unknown"
     28fi
     29AC_DEFINE_UNQUOTED(S_UNAME, "$ac_cv_singuname")
     30SINGUNAME=$ac_cv_singuname
     31AC_SUBST(SINGUNAME)
     32
    2033AC_CONFIG_FILES([Makefile])
    2134AC_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
     27char fePathSep =
     28/* not reallay cygwin, applies to all windows systems:*/
     29#if defined(CYGWIN)
     30';'
     31#else
     32':'
     33#endif
     34;
     35
    136
    237/*****************************************************************
  • resource/feResource.cc

    re49c970 rb9b41a  
    1111#include <string.h>
    1212
    13 #include <kernel/mod2.h>
     13#include <auxiliary.h>
     14
     15#include "config.h"
    1416#ifdef AIX_4
    1517#define HAVE_PUTENV 1
     
    2123
    2224
    23 #include "../Singular/distrib.h"
    24 #include "dError.h"
     25#include <reporter.h>
    2526#if !defined(ESINGULAR) && !defined(TSINGULAR)
    26 #include <kernel/febase.h>
    27 #include <omalloc/omalloc.h>
     27#include <omalloc.h>
    2828#else
    2929char* feResource(const char id, int warn = -1);
    3030char* feResource(const char* key, int warn = -1);
    31 #include <kernel/dError.c>
    3231#endif
    3332
Note: See TracChangeset for help on using the changeset viewer.