1. 05 Oct, 2017 1 commit
  2. 19 Sep, 2017 1 commit
  3. 12 Sep, 2017 1 commit
  4. 28 Jul, 2017 1 commit
  5. 27 Jul, 2017 1 commit
  6. 26 Jul, 2017 4 commits
  7. 25 Jul, 2017 1 commit
  8. 19 Jul, 2017 2 commits
  9. 18 Jul, 2017 1 commit
  10. 13 Jul, 2017 5 commits
    • Erwin's avatar
      Move type checks features/sfio to configure.ac · c1edae52
      Erwin authored
      The following type checks have been moved:
      - off64_t
      - struct stat64
      c1edae52
    • Erwin's avatar
      Move function checks features/sfio to configure.ac · 8199bb6c
      Erwin authored
      The following function checks have been moved:
      - ftruncate
      - lseek64
      - getpagesize (was already present in configure.ac)
      - select (check for 5 arg interface no longer required)
      - stat64
      - unlink
      - vfork
      - waitpid
      
      The following function checks have been removed becuase they were
      not used:
      - remove
      8199bb6c
    • Erwin's avatar
      Remove check for log2 · 720f3638
      Erwin authored
      The function `log2` is part of the standard C library, so checking for
      it's presence is not required.
      720f3638
    • Erwin's avatar
      Remove usage of `NO_POSTSCRIPT_ALIAS` · 75c878fd
      Erwin authored
      This value is a remaining artifact from when libgd was included in the
      Graphviz source. Since this is no longer the case, this value can be
      removed.
      75c878fd
    • Erwin's avatar
      Remove MSWIN32 define in favor of _WIN32 · fd3479d4
      Erwin authored
      Instead of using the the `MSWIN32` define set by the user, rely on the
      define `_WIN32`, which is set by the compiler.
      
      Some whitespace was also trimmed.
      fd3479d4
  11. 06 Mar, 2017 4 commits
    • Erwin's avatar
      Use <type>_MAX instead of <type>_SIZE, rectangle.c · 45ce611a
      Erwin authored
      Instead of using the custom defined <type>_SIZE defines in
      lib/label/rectangle.c function RectAra, we now use the defines
      <type>_MAX from the standard library. The meaning is the same, but it is
      more portable and requires less checks.
      45ce611a
    • Erwin's avatar
      Remove `AC_HEADER_DIRENT` from configure.ac · 0330a4d9
      Erwin authored
      The check `AC_HEADER_DIRENT` is no longer needed, as all current UNIX
      systems have the correct version of this header. The checks and
      corresponding define can be removed.
      0330a4d9
    • Erwin's avatar
      Remove `AC_HEADER_TIME` from configure.ac · 3e0dec77
      Erwin authored
      This check is deprecated according to the official autoconf documentation,
      it can safely be removed.
      3e0dec77
    • Erwin's avatar
      Remove final check and usage of stdbool.h · 35e55bdb
      Erwin authored
      Removed the check for stdbool.h from configure.ac and a remaining usage
      of the define.
      35e55bdb
  12. 17 Jan, 2017 2 commits
    • Erwin's avatar
      Replace checks for `WIN32` with `_WIN32` · 0bf08962
      Erwin authored
      The preprocesser macro `WIN32` is defined by the user, while `_WIN32` is
      defined by the compiler. To improve consistantcy, and prevent errors
      caused by forgetting to define `WIN32` somewhere, it is better to use
      `_WIN32` to check for Windows.
      0bf08962
    • Erwin's avatar
      Move headers checks features/sfio to configure.ac · c888a809
      Erwin authored
      Some headers required new checks, for some headers, checks were already
      present in configure.ac
      c888a809
  13. 05 Jan, 2017 1 commit
    • Erwin's avatar
      Move checks from features/vmalloc to configure.ac · 2f3ef9c8
      Erwin authored
      Instead of checking certain headers and functions in a seperate config
      script, place these checks in configure.ac and use HAVE_* style defines.
      Some checks were already present in configure.ac, the others have been
      added. No addtional defines in windows/config.h were needed.
      There is only one check remaining in features/vmalloc.
      2f3ef9c8
  14. 04 Jan, 2017 4 commits
    • Erwin's avatar
      Remove checks for 'libgen', library not used · cf92e8c0
      Erwin authored
      configure.ac contains checks for the `libgen` library and header, but the
      header is never included, which means the library is never used. Checking
      and linking is therefore not needed.
      cf92e8c0
    • Erwin's avatar
      Use <limits.h> in favor of <values.h> · 97d493f6
      Erwin authored
      The header <values.h> is obsolete in favor of <limits.h>, which is part of
      the standard C library.
      97d493f6
    • Erwin's avatar
      Remove definition and usage of HAVE_STRERROR · bdc70135
      Erwin authored
      This function is part of the standard C library, checking is therefore not
      needed. With this change, check that sets HAVE_ERRNO_DECLS and the file
      lib/ast/strerror.c can both be removed.
      bdc70135
    • Erwin's avatar
      Remove usage and definition of HAVE_ERRNO_H · 31daeae0
      Erwin authored
      The header "errno.h" is part of the standard C library, checking is
      therefore not needed.
      31daeae0
  15. 21 Dec, 2016 11 commits
    • Erwin's avatar
      Remove usage of ast_common.h · 13c2e28a
      Erwin authored
      Now that ast_common.h is never included anymore, the files
      `ast_common.h.in`, `windows/include/ast_common.h` and all
      `features/common` can be removed.
      13c2e28a
    • Erwin's avatar
      Remove unused function checks and defines · bde6533f
      Erwin authored
      congigure.ac checks for the presence of certain functions and creates
      define indicating if it was found. Some of these defines are never
      used, so the check (and the static define for Windows) can be safely
      removed. This is the case for the following functions:
      - __freadable
      - _sysconf
      - getrusage
      - lsqrt
      - memset
      - nl_langinfo
      - pow
      - sqrt
      - strchr
      - strdup
      - strstr
      - strtoll
      - strtoul
      - strtoull
      - uname
      
      Also removed duplicate `strerror` in `AC_CHECK_FUNCS`.
      bde6533f
    • Erwin's avatar
      Remove check for `size_t` in configure.ac · fbc9d6f3
      Erwin authored
      The macro `AC_TYPE_SIZE_T` checks if the type `size_t` is available, but
      this type is part of the C standard, checking is therefore not required.
      fbc9d6f3
    • Erwin's avatar
      Remove check for `mode_t` in configure.ac · 5aa7c49a
      Erwin authored
      The macro `AC_TYPE_MODE_T` checks if the type `mode_t` is available, but
      this type is never used in the code. Checking is therefore not required.
      5aa7c49a
    • Erwin's avatar
      Remove check for `const` keyword in configure.ac · 741e5282
      Erwin authored
      The macro `AC_C_CONST` checks whether the used C compiler supports
      the keyword `const` and defines it accordingly. But as stated in
      the autoconf documentation, this macro is becomming obsolete as
      current C compilers `cost`. Checking is therefore no longer required.
      741e5282
    • Erwin's avatar
      Remove unused header checks and defines · b6e6e69d
      Erwin authored
      congigure.ac checkes for the presence of header files and creates
      define indicating if it was found. Some of these defines are never
      used, so the check (and the static define for Windows) can be safely
      removed. This is the case for the following headers:
      - langinfo.h
      - libintl.h
      - pthread.h
      - setjmp.h
      - sys/times.h
      b6e6e69d
    • Erwin's avatar
      Remove definition and usage of HAVE_TIME_H · 3ec59fa6
      Erwin authored
      The header <time.h> is part of the standard C library and is always
      available, checking is therefore not needed.
      3ec59fa6
    • Erwin's avatar
      Remove definition of HAVE_FLOAT_H · 68c19c0f
      Erwin authored
      The header <float.h> is part of the standard C library and is always
      available, checking is therefore not needed. In addition to this,
      this define is never used.
      68c19c0f
    • Erwin's avatar
      Remove definition and usage of HAVE_STDDEF_H · fcda80d7
      Erwin authored
      The header <stddef.h> is part of the standard C library and is always available,
      checking is therefore not needed.
      fcda80d7
    • Erwin's avatar
      Remove defintion of HAVE_STDARG_H and _hdr_stdarg · 358fb5ee
      Erwin authored
      The define _hdr_stdarg was only used in ast_common.h to include <stdarg.h>
      but this include was not needed, compilation succeeds without it.
      The define HAVE_STDARG_H was only used to set _hdr_starg in ast_common.h.
      
      Both defines and the include can therefore safely be removed.
      358fb5ee
    • Erwin's avatar
      Remove defintion of HAVE_SYS_SOCKET_H and _sys_socket · 0214cd55
      Erwin authored
      These defines were set, but never used. Defining them is therefore not needed.
      0214cd55