Skip to content

Commit

Permalink
allows tcpdemux to be disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
simsong committed Mar 8, 2013
1 parent 25fa375 commit 25da19c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,11 @@ if test "${with_opt}" = "no" ; then
AC_MSG_NOTICE([Dropping optimization flags])
CFLAGS=`echo "$CFLAGS" | sed s/-O[[0-9]]//` # note the double quoting!
CXXFLAGS=`echo "$CXXFLAGS" | sed s/-O[[0-9]]//`

AC_MSG_NOTICE([Removing -D_FORTIFY_SOURCE=2])
CPPFLAGS=`echo $CPPFLAGS | sed s/-D_FORTIFY_SOURCE=2//`
CXXFLAGS=`echo $CXXFLAGS | sed s/-D_FORTIFY_SOURCE=2//`
CFLAGS=`echo $CFLAGS | sed s/-D_FORTIFY_SOURCE=2//`
else
# and increase optimizer from -O2 to -O3 if not explicitly forbidden
if test "${with_o3}" != "no" ; then
Expand Down
8 changes: 7 additions & 1 deletion doc/make_web.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/bin/bash
#
# Create the files for the tcpflow website
HTDOCS=/var/www/digitalcorpora/tcpflow/demo
DEST=/var/www/digitalcorpora/tcpflow/demo
TCPFLOW=../src/tcpflow

if [ ! -d $DEST ]; then mkdir -s $DEST ; fi

if [ ! -x $TCPFLOW ]; then (cd .. ; make ) ; fi

0 comments on commit 25da19c

Please sign in to comment.