Sha256: 6b064dc4afd6ee150540b2111741ed8584cd4cde713f9d76efde65fc65619e07

Contents?: true

Size: 1.05 KB

Versions: 80

Compression:

Stored size: 1.05 KB

Contents

AC_INIT([funchook], [0.1])

AC_PROG_CC
AC_GNU_SOURCE
AC_CANONICAL_HOST

if test "$GCC"; then
   CFLAGS="$CFLAGS -Wall -fvisibility=hidden"
fi

AC_CHECK_SIZEOF(void*)
if test "$ac_cv_sizeof_voidp" = 4; then
  FUNCHOOK_CPU=x86
else
  FUNCHOOK_CPU=x86_64
fi
AC_SUBST(FUNCHOOK_CPU)

IF_WIN32='#'
IF_LINUX='#'
IF_OSX='#'

if test "$EXEEXT"; then
  FUNCHOOK_OS=windows
  LIBFUNCHOOK_SO=funchook.dll
  CFLAGS="$CFLAGS -DFUNCHOOK_EXPORTS"
  LINK_SHARED="\$(CC) -shared -Wl,--out-implib,funchook.lib"
  IF_WIN32=
else
  FUNCHOOK_OS=unix
  PIC_CFLAGS="-fPIC"
  LINK_SHARED="\$(CC) -shared"
  case "$host_os" in
  linux*)
    LIBFUNCHOOK_SO=libfunchook.so
    LIBS="-ldl"
    IF_LINUX=
    ;;
  darwin*)
    LIBFUNCHOOK_SO=libfunchook.dylib
    IF_OSX=
    ;;
  esac
fi

AC_CHECK_DECLS([_sys_nerr, _sys_errlist, sys_nerr, sys_errlist])

AC_SUBST(FUNCHOOK_OS)
AC_SUBST(LIBFUNCHOOK_SO)
AC_SUBST(LINK_SHARED)
AC_SUBST(PIC_CFLAGS)
AC_SUBST(IF_WIN32)
AC_SUBST(IF_LINUX)
AC_SUBST(IF_OSX)

AC_CONFIG_HEADERS([src/config.h])

AC_CONFIG_FILES([Makefile src/Makefile test/Makefile])
AC_OUTPUT

Version data entries

80 entries across 80 versions & 1 rubygems

Version Path
contrast-agent-7.6.1 funchook/configure.ac
contrast-agent-7.6.0 funchook/configure.ac
contrast-agent-7.5.0 funchook/configure.ac
contrast-agent-7.4.1 funchook/configure.ac
contrast-agent-7.4.0 funchook/configure.ac
contrast-agent-7.3.2 funchook/configure.ac
contrast-agent-7.3.1 funchook/configure.ac
contrast-agent-7.3.0 funchook/configure.ac
contrast-agent-7.2.0 funchook/configure.ac
contrast-agent-7.1.0 funchook/configure.ac
contrast-agent-7.0.0 funchook/configure.ac
contrast-agent-6.15.3 funchook/configure.ac
contrast-agent-6.15.2 funchook/configure.ac
contrast-agent-6.15.1 funchook/configure.ac
contrast-agent-6.15.0 funchook/configure.ac
contrast-agent-6.14.0 funchook/configure.ac
contrast-agent-6.13.0 funchook/configure.ac
contrast-agent-6.12.0 funchook/configure.ac
contrast-agent-6.11.0 funchook/configure.ac
contrast-agent-6.10.0 funchook/configure.ac