Skip to content
Snippets Groups Projects
Commit c6683d0f authored by Jeff Wallace's avatar Jeff Wallace
Browse files

Removed deprecated logic from build scripts.

parent 65224faa
No related branches found
No related tags found
No related merge requests found
Z_PATH=@Z_PATH@
EWF_PATH=@EWF_PATH@
ANT_PROPS=
# Compile the sub directories # Compile the sub directories
SUBDIRS = jni SUBDIRS = jni
if X_ZLIB
ANT_PROPS+=-Dlib.z.path=$(Z_PATH)
endif
if X_LIBEWF
ANT_PROPS+=-Dlib.ewf.path=$(EWF_PATH)
endif
tsk_jar = $(top_builddir)/bindings/java/dist/Tsk_DataModel.jar tsk_jar = $(top_builddir)/bindings/java/dist/Tsk_DataModel.jar
jardir = $(prefix)/share/java jardir = $(prefix)/share/java
jar_DATA = $(tsk_jar) jar_DATA = $(tsk_jar)
...@@ -20,7 +8,7 @@ jar_DATA = $(tsk_jar) ...@@ -20,7 +8,7 @@ jar_DATA = $(tsk_jar)
$(tsk_jar): $(tsk_jar):
all-local: all-local:
ant dist $(ANT_PROPS) -Dcalled.from=all-local ant dist
CLEANFILES = $(tsk_jar) CLEANFILES = $(tsk_jar)
......
...@@ -178,13 +178,6 @@ AS_IF( ...@@ -178,13 +178,6 @@ AS_IF(
) )
AS_IF([test "x$ac_cv_lib_z_inflate" = "xyes"], [ax_zlib=yes], [ax_zlib=no]) AS_IF([test "x$ac_cv_lib_z_inflate" = "xyes"], [ax_zlib=yes], [ax_zlib=no])
AM_CONDITIONAL([X_ZLIB],[test "x$with_zlib" != "xno" && test "x$with_zlib" != "xyes"])
AS_IF([test "x$with_zlib" != "xno"],
[Z_PATH="${with_zlib}/lib"],
[AC_MSG_NOTICE([failed to make Z_PATH])]
)
AC_SUBST(Z_PATH, $Z_PATH)
dnl needed for sqllite dnl needed for sqllite
AC_CHECK_LIB(dl, dlopen) AC_CHECK_LIB(dl, dlopen)
...@@ -215,12 +208,6 @@ AS_IF([test "x$with_libewf" != "xno"], ...@@ -215,12 +208,6 @@ AS_IF([test "x$with_libewf" != "xno"],
) )
AS_IF([test "x$ac_cv_lib_ewf_libewf_get_version" = "xyes"], [ax_libewf=yes], [ax_libewf=no]) AS_IF([test "x$ac_cv_lib_ewf_libewf_get_version" = "xyes"], [ax_libewf=yes], [ax_libewf=no])
AM_CONDITIONAL([X_LIBEWF],[test "x$with_libewf" != "xno" && test "x$with_libewf" != "xyes"])
AS_IF([test "x$with_libewf" != "xno"],
[EWF_PATH="${with_libewf}/lib"],
)
AC_SUBST(EWF_PATH, $EWF_PATH)
dnl sqlite requires pthread libraries - this was copied from its configure.ac dnl sqlite requires pthread libraries - this was copied from its configure.ac
dnl AC_SEARCH_LIBS(pthread_create, pthread) dnl AC_SEARCH_LIBS(pthread_create, pthread)
AC_SEARCH_LIBS(dlopen, dl) AC_SEARCH_LIBS(dlopen, dl)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment