Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
binwalk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-gitdep
binwalk
Commits
e7c1b12f
Commit
e7c1b12f
authored
Jul 23, 2014
by
devttys0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed how --disable-clibs works
parent
fe3a512d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
34 deletions
+27
-34
Makefile.in
Makefile.in
+0
-1
configure
configure
+13
-16
configure.ac
configure.ac
+14
-17
No files found.
Makefile.in
View file @
e7c1b12f
...
...
@@ -31,7 +31,6 @@ all: build
install
:
build
$(PYTHON)
./setup.py install
$(PREFIX)
#if [ "
$(BUILD_C_LIBS)
" -eq "
1
" ] && [
$
(findstring "
CYGWIN
",
$(PLATFORM)
) ]; then ldconfig || true; fi
build
:
if
[
"
$(BUILD_C_LIBS)
"
-eq
"1"
]
;
then
make
-C
$(SRC_C_DIR)
;
fi
...
...
configure
View file @
e7c1b12f
...
...
@@ -1286,11 +1286,11 @@ Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-clibs do not build/install
any
c libraries
--disable-bundles do not
install
bundled software
--disable-clibs do not build/install
binwalk
c libraries
--disable-bundles do not
build/install any
bundled software
--disable-libmagic do not build/install the bundled libmagic library
--disable-libfuzzy do not build/install the bundled libfuzzy library
--disable-pyqtgraph do not
install the bundled pyqtgraph library
--disable-pyqtgraph do not
build/install the bundled pyqtgraph module
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
...
...
@@ -3376,21 +3376,18 @@ then
BUILD_PYQTGRAPH
=
0
fi
if
test
"
$BUILD_
C_LIBS
"
!=
"0"
if
test
"
$BUILD_
MAGIC
"
!=
"0"
then
if
test
"
$BUILD_MAGIC
"
!=
"0"
then
rm
-rf
$(
ls
./src/bundles/file-
*
.tar.gz | sed
-e
's/\.tar\.gz//'
)
(
cd
./src/bundles
&&
tar
-zxvf
file-
*
.tar.gz
>
/dev/null
)
(
cd
./src/bundles/file-
*
/
&&
./configure
)
||
exit
1
fi
rm
-rf
$(
ls
./src/bundles/file-
*
.tar.gz | sed
-e
's/\.tar\.gz//'
)
(
cd
./src/bundles
&&
tar
-zxvf
file-
*
.tar.gz
>
/dev/null
)
(
cd
./src/bundles/file-
*
/
&&
./configure
)
||
exit
1
fi
if
test
"
$BUILD_FUZZY
"
!=
"0"
then
rm
-rf
$(
ls
./src/bundles/ssdeep-
*
.tar.gz | sed
-e
's/\.tar\.gz//'
)
(
cd
./src/bundles
&&
tar
-zxvf
ssdeep-
*
.tar.gz
>
/dev/null
)
(
cd
./src/bundles/ssdeep-
*
/
&&
./configure
)
||
exit
1
fi
if
test
"
$BUILD_FUZZY
"
!=
"0"
then
rm
-rf
$(
ls
./src/bundles/ssdeep-
*
.tar.gz | sed
-e
's/\.tar\.gz//'
)
(
cd
./src/bundles
&&
tar
-zxvf
ssdeep-
*
.tar.gz
>
/dev/null
)
(
cd
./src/bundles/ssdeep-
*
/
&&
./configure
)
||
exit
1
fi
if
test
"
$BUILD_PYQTGRAPH
"
!=
"0"
...
...
configure.ac
View file @
e7c1b12f
...
...
@@ -13,12 +13,12 @@ AC_ARG_WITH([python],
[PYTHON=python])
AC_ARG_ENABLE([clibs],
[AS_HELP_STRING([--disable-clibs], [do not build/install
any
c libraries])],
[AS_HELP_STRING([--disable-clibs], [do not build/install
binwalk
c libraries])],
[BUILD_C_LIBS=0],
[BUILD_C_LIBS=1])
AC_ARG_ENABLE([bundles],
[AS_HELP_STRING([--disable-bundles], [do not
install
bundled software])],
[AS_HELP_STRING([--disable-bundles], [do not
build/install any
bundled software])],
[BUILD_BUNDLES=0],
[BUILD_BUNDLES=1])
...
...
@@ -33,7 +33,7 @@ AC_ARG_ENABLE([libfuzzy],
[BUILD_FUZZY=1])
AC_ARG_ENABLE([pyqtgraph],
[AS_HELP_STRING([--disable-pyqtgraph], [do not
install the bundled pyqtgraph library
])],
[AS_HELP_STRING([--disable-pyqtgraph], [do not
build/install the bundled pyqtgraph module
])],
[BUILD_PYQTGRAPH=0],
[BUILD_PYQTGRAPH=1])
...
...
@@ -61,21 +61,18 @@ then
BUILD_PYQTGRAPH=0
fi
if test "$BUILD_
C_LIBS
" != "0"
if test "$BUILD_
MAGIC
" != "0"
then
if test "$BUILD_MAGIC" != "0"
then
rm -rf $(ls ./src/bundles/file-*.tar.gz | sed -e 's/\.tar\.gz//')
(cd ./src/bundles && tar -zxvf file-*.tar.gz > /dev/null)
(cd ./src/bundles/file-*/ && ./configure) || exit 1
fi
if test "$BUILD_FUZZY" != "0"
then
rm -rf $(ls ./src/bundles/ssdeep-*.tar.gz | sed -e 's/\.tar\.gz//')
(cd ./src/bundles && tar -zxvf ssdeep-*.tar.gz > /dev/null)
(cd ./src/bundles/ssdeep-*/ && ./configure) || exit 1
fi
rm -rf $(ls ./src/bundles/file-*.tar.gz | sed -e 's/\.tar\.gz//')
(cd ./src/bundles && tar -zxvf file-*.tar.gz > /dev/null)
(cd ./src/bundles/file-*/ && ./configure) || exit 1
fi
if test "$BUILD_FUZZY" != "0"
then
rm -rf $(ls ./src/bundles/ssdeep-*.tar.gz | sed -e 's/\.tar\.gz//')
(cd ./src/bundles && tar -zxvf ssdeep-*.tar.gz > /dev/null)
(cd ./src/bundles/ssdeep-*/ && ./configure) || exit 1
fi
if test "$BUILD_PYQTGRAPH" != "0"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment