Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sleuthkit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IRT
Sleuthkit
Commits
670b5bc9
Commit
670b5bc9
authored
11 years ago
by
Brian Carrier
Browse files
Options
Downloads
Plain Diff
resolved merge conflicts
parents
16e6dad1
b3e35e69
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure.ac
+20
-22
20 additions, 22 deletions
configure.ac
with
20 additions
and
22 deletions
configure.ac
+
20
−
22
View file @
670b5bc9
...
@@ -72,19 +72,8 @@ AC_FUNC_SELECT_ARGTYPES
...
@@ -72,19 +72,8 @@ AC_FUNC_SELECT_ARGTYPES
dnl AC_FUNC_STAT
dnl AC_FUNC_STAT
AC_FUNC_UTIME_NULL
AC_FUNC_UTIME_NULL
AC_FUNC_VPRINTF
AC_FUNC_VPRINTF
<<<<<<< HEAD
#AC_CHECK_FUNCS([dup2 gethostname isascii iswprint memset munmap regcomp select setlocale strcasecmp strchr strdup strerror strndup strrchr strtol strtoul strtoull utime wcwidth])
AC_CHECK_FUNCS([ishexnumber err errx warn warnx vasprintf getrusage])
AX_PTHREAD( [
AC_DEFINE(HAVE_PTHREAD,1,[Define if you have POSIX threads libraries and header files.])
CLIBS="$PTHREAD_LIBS $LIBS"
CPPFLAGS="$CPPFLAGS $PTHREAD_CFLAGS"
LDFLAGS="$LDFLAGS $PTHREAD_CFLAGS"
CC="$PTHREAD_CC"],[])
# Not all compilers include /usr/local in the include and link path
=======
dnl AC_CHECK_FUNCS([dup2 gethostname isascii iswprint memset munmap regcomp select setlocale strcasecmp strchr strdup strerror strndup strrchr strtol strtoul strtoull utime wcwidth])
dnl AC_CHECK_FUNCS([dup2 gethostname isascii iswprint memset munmap regcomp select setlocale strcasecmp strchr strdup strerror strndup strrchr strtol strtoul strtoull utime wcwidth])
AC_CHECK_FUNCS([ishexnumber err errx warn warnx vasprintf])
AC_CHECK_FUNCS([ishexnumber err errx warn warnx vasprintf
getrusage
])
AX_PTHREAD([
AX_PTHREAD([
AC_DEFINE(HAVE_PTHREAD,1,[Define if you have POSIX threads libraries and header files.])
AC_DEFINE(HAVE_PTHREAD,1,[Define if you have POSIX threads libraries and header files.])
CLIBS="$PTHREAD_LIBS $LIBS"
CLIBS="$PTHREAD_LIBS $LIBS"
...
@@ -93,7 +82,6 @@ AX_PTHREAD([
...
@@ -93,7 +82,6 @@ AX_PTHREAD([
CC="$PTHREAD_CC"],[])
CC="$PTHREAD_CC"],[])
dnl Not all compilers include /usr/local in the include and link path
dnl Not all compilers include /usr/local in the include and link path
>>>>>>> 7dd33889053174706ded0ab5c7b52965f64ff6a6
if test -d /usr/local/include; then
if test -d /usr/local/include; then
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
LDFLAGS="$LDFLAGS -L/usr/local/lib"
LDFLAGS="$LDFLAGS -L/usr/local/lib"
...
@@ -102,13 +90,29 @@ fi
...
@@ -102,13 +90,29 @@ fi
dnl Checks for libraries.
dnl Checks for libraries.
dnl Check if we should link afflib.
dnl Some platforms will complain about missing included functions if libstdc++ is not included.
AC_CHECK_LIB(stdc++, main, , AC_MSG_ERROR([missing libstdc++]))
AC_CHECK_HEADERS(list, , , AC_MSG_ERROR([missing STL list class header]))
AC_CHECK_HEADERS(map, , , AC_MSG_ERROR([missing STL map class header]))
AC_CHECK_HEADERS(queue, , , AC_MSG_ERROR([missing STL queue class header]))
AC_CHECK_HEADERS(set, , , AC_MSG_ERROR([missing STL set class header]))
AC_CHECK_HEADERS(stack, , , AC_MSG_ERROR([missing STL stack class header]))
AC_CHECK_HEADERS(streambuf, , , AC_MSG_ERROR([missing STL streambuf class header]))
AC_CHECK_HEADERS(string, , , AC_MSG_ERROR([missing STL string class header]))
AC_CHECK_HEADERS(vector, , , AC_MSG_ERROR([missing STL vector class header]))
dnl needed for sqllite
AC_CHECK_LIB(dl, dlopen)
dnl sqlite requires pthread libraries - this was copied from its configure.ac
dnl AC_SEARCH_LIBS(pthread_create, pthread)
dnl AC_SEARCH_LIBS(dlopen, dl)
# Check if we should link afflib.
AC_ARG_WITH([afflib],
AC_ARG_WITH([afflib],
[AS_HELP_STRING([--without-afflib],[Do not use AFFLIB even if it is installed])]
[AS_HELP_STRING([--without-afflib],[Do not use AFFLIB even if it is installed])]
[AS_HELP_STRING([--with-afflib=dir],[Specify that AFFLIB is installed in directory 'dir'])],
[AS_HELP_STRING([--with-afflib=dir],[Specify that AFFLIB is installed in directory 'dir'])],
dnl If --with-afflib or --without-afflib is given
dnl If --with-afflib or --without-afflib is given
[],
dnl if nothing was specified, default to a test
[with_afflib=yes])
[with_afflib=yes])
dnl check for the lib if they did not specify no
dnl check for the lib if they did not specify no
...
@@ -170,8 +174,6 @@ AS_IF([test "x$ac_cv_lib_z_inflate" = "xyes"], [ax_zlib=yes], [ax_zlib=no])
...
@@ -170,8 +174,6 @@ AS_IF([test "x$ac_cv_lib_z_inflate" = "xyes"], [ax_zlib=yes], [ax_zlib=no])
dnl needed for sqllite
dnl needed for sqllite
AC_CHECK_LIB(dl, dlopen)
AC_CHECK_LIB(dl, dlopen)
dnl Check if we should link libewf.
dnl Check if we should link libewf.
AC_ARG_WITH([libewf],
AC_ARG_WITH([libewf],
[AS_HELP_STRING([--without-libewf],[Do not use libewf even if it is installed])]
[AS_HELP_STRING([--without-libewf],[Do not use libewf even if it is installed])]
...
@@ -199,10 +201,6 @@ AS_IF([test "x$with_libewf" != "xno"],
...
@@ -199,10 +201,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])
dnl sqlite requires pthread libraries - this was copied from its configure.ac
dnl AC_SEARCH_LIBS(pthread_create, pthread)
AC_SEARCH_LIBS(dlopen, dl)
dnl Test for java/jni so that we can compile the java bindings
dnl Test for java/jni so that we can compile the java bindings
AC_PROG_JAVAC
AC_PROG_JAVAC
if test "x$JAVAC" != x; then
if test "x$JAVAC" != x; then
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment