Skip to content

Commit

Permalink
Worked on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Sep 15, 2017
1 parent bf2a894 commit 1b5ddd7
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 9 deletions.
4 changes: 4 additions & 0 deletions acinclude.m4
@@ -1,3 +1,7 @@
dnl Checks for required headers and functions
dnl
dnl Version: 20170911

dnl Function to detect if liblnk dependencies are available
AC_DEFUN([AX_LIBLNK_CHECK_LOCAL],
[dnl Check for internationalization functions in liblnk/liblnk_i18n.c
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Expand Up @@ -37,7 +37,7 @@ environment:
- TARGET: mingw-w64

install:
- cmd: git clone https://github.com/libyal/vstools.git && move vstools ..\
- cmd: git clone https://github.com/libyal/vstools.git ..\vstools
- cmd: if [%TARGET%]==[cygwin] (
C:\cygwin\setup-x86.exe -qgnNdO -l C:\cygwin\var\cache\setup -R c:\cygwin -s http://cygwin.mirror.constant.com -P python2-devel -P python3-devel )
- cmd: if [%TARGET%]==[cygwin64] (
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -2,7 +2,7 @@ AC_PREREQ( 2.59 )

AC_INIT(
[liblnk],
[20170911],
[20170915],
[joachim.metz@gmail.com])

AC_CONFIG_SRCDIR(
Expand Down
21 changes: 14 additions & 7 deletions m4/libbfio.m4
@@ -1,6 +1,6 @@
dnl Checks for libbfio or required headers and functions
dnl
dnl Version: 20170911
dnl Version: 20170912

dnl Function to detect if libbfio is available
AC_DEFUN([AX_LIBBFIO_CHECK_LIB],
Expand Down Expand Up @@ -304,6 +304,16 @@ AC_DEFUN([AX_LIBBFIO_CHECK_LIB],
])
])

dnl Function to detect if libbfio dependencies are available
AC_DEFUN([AX_LIBBFIO_CHECK_LOCAL],
[dnl No additional checks.
ac_cv_libbfio_CPPFLAGS="-I../libbfio";
ac_cv_libbfio_LIBADD="../libbfio/libbfio.la";
ac_cv_libbfio=local
])

dnl Function to detect how to enable libbfio
AC_DEFUN([AX_LIBBFIO_CHECK_ENABLE],
[AX_COMMON_ARG_WITH(
Expand All @@ -319,18 +329,15 @@ AC_DEFUN([AX_LIBBFIO_CHECK_ENABLE],
dnl Check if the dependencies for the local library version
AS_IF(
[test "x$ac_cv_libbfio" != xyes],
[AC_DEFINE(
[AX_LIBBFIO_CHECK_LOCAL
AC_DEFINE(
[HAVE_LOCAL_LIBBFIO],
[1],
[Define to 1 if the local version of libbfio is used.])
AC_SUBST(
[HAVE_LOCAL_LIBBFIO],
[1])
ac_cv_libbfio_CPPFLAGS="-I../libbfio";
ac_cv_libbfio_LIBADD="../libbfio/libbfio.la";
ac_cv_libbfio=local
])
AM_CONDITIONAL(
Expand Down

0 comments on commit 1b5ddd7

Please sign in to comment.